Telerik UI for Windows Phone by Progress

Determines if the provided argument is any portrait orientation.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Primitives (in Telerik.Windows.Controls.Primitives.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public static bool IsPortrait(
	this PageOrientation orientation
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsPortrait ( _
	orientation As PageOrientation _
) As Boolean
Visual C++
public:
[ExtensionAttribute]
static bool IsPortrait(
	PageOrientation orientation
)

Parameters

orientation
Type: PageOrientation
The orientation which will be determined if it is a portrait orientation.

Return Value

Returns true if the provided argument is any portrait orientation and false otherwise.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PageOrientation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also