Property Child2MinSize
| Improve this Doc View SourceChild2MinSize
Gets or sets the minimum distance, in device-independent units (1/96th inch per unit), of the splitter from the right or bottom edge of SplitContainer. This is a dependency property.
Declaration
public double Child2MinSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Representing the minimum distance, in device-independent units (1/96th inch per unit), of the splitter from the right or bottom edge of SplitContainer. The default value is 20, regardless of Orientation. |
Remarks
Use the Child2MinSize property to prevent the splitter from moving too close to the right or bottom edge of the container. For example, you might want to prevent some of the display area of a System.Windows.Controls.TreeView from being covered.
If the Orientation property is System.Windows.Controls.Orientation.Vertical (the default), Child2MinSize returns the minimum distance of the splitter from the bottom edge of SplitContainer. If the Orientation property is System.Windows.Controls.Orientation.Horizontal, Child2MinSize returns the minimum distance of the splitter from the right edge of SplitContainer.