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

Represents a modified StackPanel that is coupled with MaterialAssist to provide CornerRadius to its children.

Definition

Namespace:Telerik.Windows.Controls.MaterialControls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class RoundedStackPanel : StackPanel

Inheritance: objectRoundedStackPanel

Constructors

C#
public RoundedStackPanel()

Fields

CornerRadiusProperty

DependencyProperty

Identifies the CornerRadius dependency property.

C#
public static readonly DependencyProperty CornerRadiusProperty

Identifies the ShouldCalculateBorderThickness dependency property.

C#
public static readonly DependencyProperty ShouldCalculateBorderThicknessProperty

Properties

CornerRadius

CornerRadius

Gets or sets the CornerRadius of the panel.

C#
public CornerRadius CornerRadius { get; set; }

Gets or sets whether the BorderThickness of the child items should be calculated in order to remove duplicate borders. It would remove the left borders when orientation is horizontal and the bottom borders if the orientation is vertical.

C#
public bool ShouldCalculateBorderThickness { get; set; }

Methods

C#
protected override Size MeasureOverride(Size constraint)
Parameters:constraintSizeReturns:

Size