Gets the value of the Orientation attached property for a given framework element.

Namespace:  C1.WPF.C1Schedule
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public static Nullable<Orientation> GetOrientation(
	FrameworkElement element
)
Visual Basic (Declaration)
Public Shared Function GetOrientation ( _
	element As FrameworkElement _
) As Nullable(Of Orientation)

Parameters

element
Type: System.Windows..::..FrameworkElement
The FrameworkElement from which the property value is read.

Return Value

The Orientation value of the specified element.

See Also