Class ComposableTreeViewSettingBehavior
Stores and restores settings of a ComposableTreeView.
Behavior<ComposableTreeView>.AssociatedObject
Behavior.OnDetaching()
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Namespace: Sartorius.SAF.Presentation.Controls.Behaviors
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ComposableTreeViewSettingBehavior : SettingBehavior<ComposableTreeView>, IAnimatable, IAttachedObject, IUiElementSettings
Methods
View SourceOnAttached()
set the HasUISettings attached property automatically to the control that defines the UI setting
Declaration
protected override void OnAttached()
Overrides
View SourceRestore(object)
Restores the ComposableTreeView settings.
Declaration
public override void Restore(object settings)
Parameters
| Type | Name | Description |
|---|---|---|
| object | settings | A Dictionary<TKey, TValue> containing all settings. |
Overrides
View SourceStore()
Stores all settings of the ComposableTreeView.
Declaration
public override object Store()
Returns
| Type | Description |
|---|---|
| object | The settings as Dictionary<TKey, TValue>. |
Overrides
Implements
Microsoft.Xaml.Behaviors.IAttachedObject