Skip to main content
.NET Framework Class Library
StackPanelHasLogicalOrientation Property

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Protected Friend Overrides ReadOnly Property HasLogicalOrientation As [%$TOPIC/ms594129_en-us_VS_110_2_0_0_0_0%]
protected internal override [%$TOPIC/ms594129_en-us_VS_110_2_0_1_0_0%] HasLogicalOrientation { get; }
protected public:
virtual property [%$TOPIC/ms594129_en-us_VS_110_2_0_2_0_0%] HasLogicalOrientation {
	[%$TOPIC/ms594129_en-us_VS_110_2_0_2_0_1%] get () override;
abstract HasLogicalOrientation : [%$TOPIC/ms594129_en-us_VS_110_2_0_3_0_0%] with get 
override HasLogicalOrientation : [%$TOPIC/ms594129_en-us_VS_110_2_0_3_0_1%] with get
override function get HasLogicalOrientation () : [%$TOPIC/ms594129_en-us_VS_110_2_0_4_0_0%]

Property Value

Type: SystemBoolean
This property always returns true.

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

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1