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

Namespace:  C1.Silverlight.Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public static Nullable<Orientation> GetOrientation(
	FrameworkElement element
)
Visual Basic
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