Skip to main content

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates if this StackPanel has vertical or horizontal orientation.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected internal override bool HasLogicalOrientation { get; }
public protected:
property bool HasLogicalOrientation {
	virtual bool get() override;
override HasLogicalOrientation : bool with get
Protected Friend Overrides ReadOnly Property HasLogicalOrientation As Boolean

Property Value


This property always returns true.

This property always returns true because a StackPanel must have either vertical or horizontal orientation.

.NET Framework
Available since 3.0
Return to top