Class PopupCloseOnSelectionChangedBehavior
Close the attached popup if the selection of the assigned selector changed.
Behavior<Popup>.AssociatedObject
Behavior.OnAttached()
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class PopupCloseOnSelectionChangedBehavior : Behavior<Popup>, IAnimatable, IAttachedObject
Constructors
View SourcePopupCloseOnSelectionChangedBehavior()
Initializes a new instance of the PopupCloseOnSelectionChangedBehavior class.
Declaration
public PopupCloseOnSelectionChangedBehavior()
Fields
View SourceSelectorProperty
The selector dependency property
Declaration
public static readonly DependencyProperty SelectorProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceSelector
Gets or sets the selector.
Declaration
public Selector Selector { get; set; }
Property Value
| Type | Description |
|---|---|
| Selector |
Methods
View SourceOnDetaching()
Called when detaching from control.
Declaration
protected override void OnDetaching()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnDetaching()
Implements
Microsoft.Xaml.Behaviors.IAttachedObject