Back to Devexpress

StripBase.Style Property

maui-devexpress-dot-maui-dot-charts-dot-stripbase.md

latest2.6 KB
Original Source

StripBase.Style Property

Gets or sets appearance settings of the strip. This is a bindable property.

Namespace : DevExpress.Maui.Charts

Assembly : DevExpress.Maui.Charts.dll

NuGet Package : DevExpress.Maui.Charts

Declaration

csharp
public StripStyle Style { get; set; }

Property Value

TypeDescription
StripStyle

The appearance settings storage.

|

Example

This example configures a date-time strip to highlight a straight area on a chart:

xml
<dxc:DateTimeAxisX>                
    <dxc:DateTimeAxisX.Strips>
        <dxc:DateTimeStrip MinLimit="{Binding ArgumentStripMinValue}"
                           MaxLimit="{Binding ArgumentStripMaxValue}">
            <dxc:DateTimeStrip.AxisLabel>
                <dxc:StripAxisLabel Text="Last Month"/>
            </dxc:DateTimeStrip.AxisLabel>
            <dxc:DateTimeStrip.Style>
                <dxc:StripStyle Fill="#80f44336"/>
            </dxc:DateTimeStrip.Style>
        </dxc:DateTimeStrip>
    </dxc:DateTimeAxisX.Strips>         
</dxc:DateTimeAxisX>

The code above uses the following classes and members:

|

Symbol

|

Description

| | --- | --- | |

DateTimeAxisX.Strips

|

Gets the collection of strips that the axis contains. This is a bindable property.

| |

DateTimeStrip

|

The highlighted area limited by two fixed values (minimal and maximal limits) of an axis, and is perpendicular to the axis.

| |

DateTimeStrip.MaxLimit

|

Gets or sets the maximum limiting value of the strip along an axis. This is a bindable property.

| |

DateTimeStrip.MaxLimit

|

Gets or sets the maximum limiting value of the strip along an axis. This is a bindable property.

| |

StripBase.AxisLabel

|

Gets or sets the axis label the strip displays on the axis to which the strip belongs. This is a bindable property.

| |

StripBase.Style

|

Gets or sets appearance settings of the strip. This is a bindable property.

|

See Also

StripBase Class

StripBase Members

DevExpress.Maui.Charts Namespace