Class PopupAutoCloseBehavior
Behavior that closes the Popup it is attached to after a delay
Behavior<Popup>.AssociatedObject
Behavior.CreateInstanceCore()
Behavior.Detach()
Behavior.AssociatedType
Namespace: Sartorius.SAF.Presentation.Behaviors
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public class PopupAutoCloseBehavior : Behavior<Popup>, IAnimatable, IAttachedObject
Fields
View SourceAutoCloseDelayProperty
The auto close delay property
Declaration
public static readonly DependencyProperty AutoCloseDelayProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Properties
View SourceAutoCloseDelay
Gets or sets the auto hide timeout in seconds (default is 30).
Declaration
public double AutoCloseDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The auto hide timeout in seconds (default is 30). |
Methods
View SourceOnAttached()
Called when attached.
Declaration
protected override void OnAttached()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnAttached()
View Source
OnDetaching()
Called when detaching.
Declaration
protected override void OnDetaching()
Overrides
Microsoft.Xaml.Behaviors.Behavior.OnDetaching()
Implements
Microsoft.Xaml.Behaviors.IAttachedObject