ClassRoundedStackPanel
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:
public class RoundedStackPanel : StackPanel
Inheritance: objectRoundedStackPanel
Constructors
RoundedStackPanel()
Declaration
public RoundedStackPanel()
Fields
CornerRadiusProperty
Identifies the CornerRadius dependency property.
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
DependencyProperty
ShouldCalculateBorderThicknessProperty
Identifies the ShouldCalculateBorderThickness dependency property.
Declaration
public static readonly DependencyProperty ShouldCalculateBorderThicknessProperty
Field Value
DependencyProperty
Properties
CornerRadius
Gets or sets the CornerRadius of the panel.
Declaration
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
public bool ShouldCalculateBorderThickness { get; set; }
Property Value
Methods
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
constraint
Size
Returns
Size