Panel.HasLogicalOrientationPublic 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.
.NET Framework
Available since 4.5
Available since 4.5