Class
LayoutControlPanel

Represents the default panel used by the RadLayoutControl.

Definition

Namespace:Telerik.Windows.Controls.LayoutControl

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class LayoutControlPanel : Panel

Inheritance: objectLayoutControlPanel

Constructors

LayoutControlPanel()

Declaration

cs-api-definition
public LayoutControlPanel()

Fields

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

Orientation

Gets or sets a value indicating whether the panel should align its children HorizontalAlignment and VerticalAlignment automatically.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

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

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

The final area within the parent that this object should use to arrange itself and its children.

Returns

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

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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

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 of a visual object is modified.

Declaration

cs-api-definition
protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)

Parameters

visualAdded

DependencyObject

The Visual that was added to the collection.

visualRemoved

DependencyObject

The Visual that was removed from the collection.