Panel.HasLogicalOrientation Property
Gets a value that indicates whether this Panel arranges its descendants in a single dimension.
Assembly: PresentationFramework (in PresentationFramework.dll)
Among predefined panel elements, only StackPanel returns true, because its orientation is in a single dimension. Subclasses of Panel can override this property.
.NET Framework
Available since 3.0
Available since 3.0