콘텐츠로 이동

SplitPanel class

이 콘텐츠는 아직 번역되지 않았습니다.

A two-pane layout panel with a draggable splitter.

Guide: C# Markup reference: Panel

public sealed class SplitPanel : Panel
name description
SplitPanel() Initializes a split panel with no panes.
First { get; set; } Gets or sets the element shown in the first pane, or null for an empty pane.
FirstLength { get; set; } Gets or sets the first pane length; a star value (the default) shares the remaining space with a star-sized second pane by weight.
MaxFirst { get; set; } Gets or sets the maximum length of the first pane in DIPs; the default is no bound.
MaxSecond { get; set; } Gets or sets the maximum length of the second pane in DIPs; the default is no bound.
MinFirst { get; set; } Gets or sets the minimum length of the first pane in DIPs.
MinSecond { get; set; } Gets or sets the minimum length of the second pane in DIPs.
Orientation { get; set; } Gets or sets the split direction; Horizontal (the default) places the panes left and right, Vertical top and bottom.
Second { get; set; } Gets or sets the element shown in the second pane, or null for an empty pane.
SecondLength { get; set; } Gets or sets the second pane length; a star value (the default) shares the remaining space with a star-sized first pane by weight.
SplitterThickness { get; set; } Gets or sets the splitter thickness in DIPs; the default is 8.
static readonly FirstLengthProperty The first pane length; a star value shares the remaining space with a star-sized second pane by weight.
static readonly MaxFirstProperty The maximum length of the first pane in DIPs; infinity is no bound.
static readonly MaxSecondProperty The maximum length of the second pane in DIPs; infinity is no bound.
static readonly MinFirstProperty The minimum length of the first pane in DIPs.
static readonly MinSecondProperty The minimum length of the second pane in DIPs.
static readonly OrientationProperty The split direction; Horizontal places the panes left and right, Vertical top and bottom.
static readonly SecondLengthProperty The second pane length; a star value shares the remaining space with a star-sized first pane by weight.
static readonly SplitterThicknessProperty The splitter thickness in DIPs; the default is 8.