SplitContainerExtensionsChangeOrientation Method

Changes the orientation of the source SplitContainer and assigns the 50% width for each SplitterPanel.

Definition

Namespace: DevCase.Extensions.SplitContainerExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static void ChangeOrientation(
	this SplitContainer sender,
	Orientation newOrientation
)

Parameters

sender  SplitContainer
The source SplitContainer.
newOrientation  Orientation

[Missing <param name="newOrientation"/> documentation for "M:DevCase.Extensions.SplitContainerExtensions.SplitContainerExtensions.ChangeOrientation(System.Windows.Forms.SplitContainer,System.Windows.Forms.Orientation)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type SplitContainer. 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