Click or drag to resize

ItemsControlCompositionBehaviorForceSelection Property

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.

Namespace:  TomsToolbox.Wpf.Composition
Assembly:  TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax
public bool ForceSelection { get; set; }

Property Value

Type: Boolean
See Also