Represents a container that has multiple split panes of content.
- Inheritance:
-
object
Visual
UIElement
Framework
Element Control object
- Implements:
-
IOriented
Element
Constructors
SplitContainer()
Initializes an instance of the SplitContainer
class.
Properties
Children
Gets the collection of child Framework
Property Value
- Observable
Collection <FrameworkElement >: The collection of child Framework
Element objects.
DockHost
Gets the Dock
DockSite
Gets the Dock
LogicalChildren
Gets an enumerator for logical child elements of this element.
Property Value
- IEnumerator:
An enumerator for logical child elements of this element.
Orientation
Gets or sets the Orientation of the child element layout.
Property Value
- Orientation:
The Orientation of the child element layout. The default value is
Horizontal
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
OnCreateAutomationPeer()
Returns an Automation
Returns
- Automation
Peer : An Automation
Peer instance.
ResizeSlots(params double[])
Resizes the slots based on the specified ratios, if any.
Parameter | Type | Description |
---|---|---|
desiredRatios | double[] | This list of zero or more desired ratios. |
Remarks
If desiredRatios
contains 0
-1
items, then the slots will
be resized equally. Otherwise, the specified ratio will be applied to the associated slot
(i.e. the slot that shared the same index). If there are more slots than there are
desired ratios, then the last ratio will be repeated for the remaining slots.
ReverseSlots()
Reverses the slots.
ToString()
Returns a String
that represents the current Object
.
Returns
- string:
A
String
that represents the currentObject
.
Fields
OrientationProperty
Identifies the Orientation dependency property. This field is read-only.