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

StripLineBase.BorderBrush Property

Gets or sets the strip line’s border color. This is a dependency property.

Namespace: DevExpress.Xpf.Gantt

Assembly: DevExpress.Xpf.Gantt.v24.2.dll

NuGet Package: DevExpress.Wpf.Gantt

#Declaration

public Brush BorderBrush { get; set; }

#Property Value

Type Description
Brush

A Brush object that is the strip line’s border color.

#Remarks

Use the BorderBrush and BorderThickness properties to define the strip line border appearance.

<Window ...
    xmlns:dxgn="http://schemas.devexpress.com/winfx/2008/xaml/gantt" />

<dxgn:GanttControl ItemsSource="{Binding Tasks}" >
    <dxgn:GanttControl.View>
        <dxgn:GanttView
            x:Name="view" ... >
            <dxgn:GanttView.StripLines>
                <dxgn:StripLine 
                    StartDate="08/14/2019 10:00:00" 
                    Duration="5:0:0" 
                    Background="#3FF5BD53"
                    BorderBrush="#FFF5BD53"
                    BorderThickness="1,0"/>
            </dxgn:GanttView.StripLines>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>
</Window>
See Also