Class
RoundedStackPanel

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:

cs-api-definition
public class RoundedStackPanel : StackPanel

Inheritance: objectRoundedStackPanel

Constructors

RoundedStackPanel()

Declaration

cs-api-definition
public RoundedStackPanel()

Fields

CornerRadiusProperty

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

ShouldCalculateBorderThicknessProperty

Identifies the ShouldCalculateBorderThickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ShouldCalculateBorderThicknessProperty

Field Value

DependencyProperty

Properties

CornerRadius

Gets or sets the CornerRadius of the panel.

Declaration

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

Property Value

CornerRadius

ShouldCalculateBorderThickness

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.

Declaration

cs-api-definition
public bool ShouldCalculateBorderThickness { get; set; }

Property Value

bool

Methods

MeasureOverride(Size)

Declaration

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

Parameters

constraint

Size

Returns

Size