Click or drag to resize

ItemsControlCompositionBehavior Properties

The ItemsControlCompositionBehavior type exposes the following members.

Properties
 NameDescription
Public propertyCompositionContext Gets or sets the composition context.
(Inherited from VisualCompositionBehaviorT)
Public propertyCompositionContextBinding Gets or sets the composition context binding. the binding will be applied to the RegionId property only after the behavior is attached to the logical tree, so you don't get misleading binding errors.
(Inherited from VisualCompositionBehaviorT)
Protected propertyExportProvider Gets or sets the export provider (DI container). The export provider must be registered with the ExportProviderLocator.
(Inherited from VisualCompositionBehaviorT)
Public propertyForceSelection Gets or sets a value indicating whether the behavior will force the selection of the first element after applying the content.

This will ensure that e.g. a tab-control will show the first tab instead of empty content.

The default value is true.

Protected propertyIsLoaded Gets a value indicating whether the associated object is loaded.
(Inherited from FrameworkElementBehaviorT)
Public propertyRegionId Gets or sets the id of the region. The region id is used to select candidates for composition.
(Inherited from VisualCompositionBehaviorT)
Public propertyRegionIdBinding Gets or sets the region identifier binding; the binding will be applied to the RegionId property only after the behavior is attached to the logical tree, so you don't get misleading binding errors.
(Inherited from VisualCompositionBehaviorT)
Top
See Also