Skip to main content
ON

OnOrientationExtension Members

Implements a XAML extension that allows you to specify control settings (for example, the font size) depending on the device orientation.

Constructors

Name Description
OnOrientationExtension() Initializes a new instance of the OnOrientationExtension class.

Properties

Name Description
Converter Gets or sets the converter used to convert the specified value to a required type.
ConverterParameter Gets or sets the parameter to pass to the OnOrientationExtension.Converter.
Landscape Gets or sets the size value when the device in the landscape orientation.
Portrait Gets or sets the size value when the device in the portrait orientation.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from System.Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from System.Object.
GetHashCode() Serves as the default hash function. Inherited from System.Object.
GetType() Gets the Type of the current instance. Inherited from System.Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from System.Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from System.Object.
ToString() Returns a string that represents the current object. Inherited from System.Object.
See Also