BarStyle

References
public sealed class BarStyle
Styling properties of a Bar control.

Constructors

BarStyle

#
Create a new style.
public BarStyle(
categories,
radius,
Padding
padding
)

Properties

Categories

#
Gets whether or not category labels are drawn underneath the bar.
public bool Categories { get; }

Default

#
Gets the default style.
public static BarStyle Default { get; }

DefaultWithoutCategories

#
Gets the default style without category labels.
public static BarStyle DefaultWithoutCategories { get; }

Padding

#
Gets the padding between the toolbar bounds and the layout region.
public Padding Padding { get; }

Radius

#
Gets the radius of the corners of the free bar elements.
public int Radius { get; }

Methods

WithCategories

#
Gets the style with category labels.
public BarStyle WithCategories()

WithoutCategories

#
Gets the style without category labels.
public BarStyle WithoutCategories()

WithPadding

#
Modify the padding.
public BarStyle WithPadding(
Padding
padding
)

WithRadius

#
Modify the radius.
public BarStyle WithRadius(
radius
)