Class WindowBehaviors
Provides attached properties that add new behaviors to WPF windows.
public static class WindowBehaviors
- Inheritance
-
WindowBehaviors
- Inherited Members
Fields
SavePositionProperty
This defines the WindowBehaviors.SavePosition attached property.
public static readonly DependencyProperty SavePositionProperty
Field Value
Methods
GetSavePosition(DependencyObject)
Gets the SavePosition attached property value.
public static bool GetSavePosition(DependencyObject element)
Parameters
elementDependencyObjectThe element from which to get this attached property value.
Returns
- bool
The SavePosition attached property value.
SetSavePosition(DependencyObject, bool)
Sets the SavePosition attached property value.
public static void SetSavePosition(DependencyObject element, bool value)
Parameters
elementDependencyObjectThe element on which to set this attached property value.
valueboolThe new value.