Class LayoutControlPanel
Represents the default panel used by the RadLayoutControl.
Inheritance
Namespace: Telerik.Windows.Controls.LayoutControl
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class LayoutControlPanel : Panel
Constructors
LayoutControlPanel()
Declaration
public LayoutControlPanel()
Fields
OrientationProperty
Identifies the Orientation dependency property.
Declaration
public static readonly DependencyProperty OrientationProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Orientation
Gets or sets a value indicating whether the panel should align its children HorizontalAlignment and VerticalAlignment automatically.
Declaration
public Orientation Orientation { get; set; }
Property Value
System.Windows.Controls.Orientation
|
Methods
ArrangeOverride(Size)
Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size that is used after the element is arranged in layout. |
MeasureOverride(Size)
Provides the behavior for the Measure pass. Classes can override this method to define their own Measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available. |
Returns
System.Windows.Size
The size that this object determines it needs during layout, based on its calculations of child object allotted sizes. |
OnVisualChildrenChanged(DependencyObject, DependencyObject)
Invoked when the System.Windows.Media.VisualCollection of a visual object is modified.
Declaration
protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
Parameters
System.Windows.DependencyObject
visualAdded
The System.Windows.Media.Visual that was added to the collection. |
System.Windows.DependencyObject
visualRemoved
The System.Windows.Media.Visual that was removed from the collection. |