Class Position
Provides the position of a item amongst it's siblings
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 DependencyProperty for SetPosition(DependencyObject, GroupPosition?) and GetPosition(DependencyObject).
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Methods
View SourceGetPosition(DependencyObject)
Gets the position.
Declaration
public static GroupPosition? GetPosition(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element. |
Returns
| Type | Description |
|---|---|
| GroupPosition? |
SetPosition(DependencyObject, GroupPosition?)
Sets the position.
Declaration
public static void SetPosition(DependencyObject element, GroupPosition? value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element. |
| GroupPosition? | value | The value. |