Class Position
Provides the position of a item amongst it's siblings
Inheritance
System.Object
Position
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class Position
Remarks
Initially set the property to Unknown to trigger the correct coercion of the value.
Fields
View SourcePositionProperty
Identifies the System.Windows.DependencyProperty for SetPosition(DependencyObject, Nullable<GroupPosition>) and GetPosition(DependencyObject).
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Methods
View SourceGetPosition(DependencyObject)
Gets the position.
Declaration
public static GroupPosition? GetPosition(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element. |
Returns
Type | Description |
---|---|
System.Nullable<GroupPosition> |
SetPosition(DependencyObject, Nullable<GroupPosition>)
Sets the position.
Declaration
public static void SetPosition(DependencyObject element, GroupPosition? value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element. |
System.Nullable<GroupPosition> | value | The value. |