New to Telerik UI for WPFStart a free 30-day trial

Represents the default panel used by the RadLayoutControl.

Definition

Namespace:Telerik.Windows.Controls.LayoutControl

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class LayoutControlPanel : Panel

Inheritance: objectLayoutControlPanel

Constructors

C#
public LayoutControlPanel()

Fields

OrientationProperty

DependencyProperty

Identifies the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

Properties

Orientation

Orientation

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

C#
public Orientation Orientation { get; set; }

Methods

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

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.

Provides the behavior for the Measure pass. Classes can override this method to define their own Measure pass behavior.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

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.

Invoked when the of a visual object is modified.

C#
protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
Parameters:visualAddedDependencyObject

The Visual that was added to the collection.

visualRemovedDependencyObject

The Visual that was removed from the collection.