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) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public bool ForceSelection { get; set; }

Property Value

Boolean
See Also