SplitPanelSizeInfo
Encapsulates all size-related properties for a SplitPanel instance residing on a RadSplitContainer.
Definition
Namespace:Telerik.WinControls.UI.Docking
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class SplitPanelSizeInfo : RadDockObject, IDisposable, INotifyPropertyChanged, INotifyPropertyChangingEx
Inheritance: objectRadDockObjectSplitPanelSizeInfo
Implements:
Inherited Members
Constructors
Initializes the panel with automatic sizing, the default absolute size, and a zero minimum size.
public SplitPanelSizeInfo()
Initializes this instance by copying the supported sizing values from another instance.
public SplitPanelSizeInfo(SplitPanelSizeInfo source)
The sizing information to copy.
Fields
The initial absolute panel size, used when a SplitPanelSizeInfo is created or reset.
public static readonly Size DefaultAbsoluteSize
The initial minimum panel size, used when a SplitPanelSizeInfo is created or reset.
public static readonly Size DefaultMinimumSize
Properties
Gets or sets the size used when size mode is Absolute.
public Size AbsoluteSize { get; set; }
Gets or sets the scale factor to be used by auto-sized panels. Usually this is internally updated by a splitter resize.
[Browsable(false)]
public SizeF AutoSizeScale { get; set; }
Gets or sets the maximum size for the associated SplitPanel.
public Size MaximumSize { get; set; }
Gets or sets the desired (measured) size for the owning panel. This field is internally updated by a SplitContainerLayoutStrategy upon a layout operation.
[Browsable(false)]
public int MeasuredLength { get; set; }
Gets or sets the minimum size for the associated SplitPanel.
public Size MinimumSize { get; set; }
Gets or sets the scale factor for relatively-sized panels.
public SizeF RelativeRatio { get; set; }
Gets or sets the size mode for the owning panel.
public SplitPanelSizeMode SizeMode { get; set; }
Gets or sets the amount (in pixels) applied to the size of the panel by a splitter.
public Size SplitterCorrection { get; set; }
Methods
Creates a new instance and copies values using Copy(SplitPanelSizeInfo). The clone does not copy MaximumSize; when this instance uses Fill, the clone retains its default Auto mode.
public SplitPanelSizeInfo Clone()
A new SplitPanelSizeInfo populated from this instance.
Copies the source's ratios, sizes, splitter correction, and auto-size scale. The maximum size is not copied, and SizeMode is copied only when neither instance uses Fill.
public void Copy(SplitPanelSizeInfo source)
The sizing information to copy from.
Restores the relative ratio, absolute size, splitter correction, auto-size scale, and minimum size to their defaults. The current SizeMode and MaximumSize are unchanged.
public void Reset()
Uses non-default checks for MaximumSize, MinimumSize, AbsoluteSize, RelativeRatio, AutoSizeScale, and SplitterCorrection; other property names use the base serialization rule.