New to Telerik UI for .NET MAUI? Start a free 30-day trial

Draws a band between exact axis positions. On categorical axes the boundaries are category positions, not slot edges. Use ChartCategoricalPlotBandAnnotation to include complete category slots. Only the From and To boundaries are stroked; edges parallel to the axis are not drawn.

Definition

Constructors

C#
public ChartPlotBandAnnotation()

Fields

FillProperty

BindableProperty

Identifies the Fill bindable property.

C#
public static readonly BindableProperty FillProperty

FromProperty

BindableProperty

Identifies the From bindable property.

C#
public static readonly BindableProperty FromProperty

ToProperty

BindableProperty

Identifies the To bindable property.

C#
public static readonly BindableProperty ToProperty

Properties

Fill

Brush

Gets or sets the fill brush. Solid brushes are supported; the default appearance comes from the theme.

C#
public Brush? Fill { get; set; }

Gets or sets one band endpoint. Reversed endpoints are normalized by axis order.

C#
public object? From { get; set; }

Gets or sets the other band endpoint. Equal positions produce a zero-area band, except when a ChartCategoricalPlotBandAnnotation includes complete category slots.

C#
public object? To { get; set; }