Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BollingerBandsIndicatorStyle.UpperStroke Property

Gets or sets the color of the indicator’s upper band. This is a bindable property.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public Color UpperStroke { get; set; }

#Property Value

Type Description
Color

The color of the indicator’s upper band.

#Example

To change the line appearance of the Bollinger Bands indicator, set its Style property to the BollingerBandsIndicatorStyle object with the specified settings.

<dxc:BollingerBandsIndicator>
    <dxc:BollingerBandsIndicator.Style>
        <dxc:BollingerBandsIndicatorStyle Stroke="#ff1ceb" StrokeThickness="2"
                                          UpperStroke="#ff1ceb" LowerStroke="#ff1ceb" />
    </dxc:BollingerBandsIndicator.Style>

    <!--Indicator Data-->
</dxc:BollingerBandsIndicator>
See Also