Skip to main content
All docs
V25.1
  • StripLineBase.BorderThickness Property

    Gets or sets the thickness of a strip line border (top and bottom values are ignored). This is a dependency property.

    Namespace: DevExpress.Xpf.Gantt

    Assembly: DevExpress.Xpf.Gantt.v25.1.dll

    NuGet Package: DevExpress.Wpf.Gantt

    Declaration

    public Thickness BorderThickness { get; set; }

    Property Value

    Type Description
    Thickness

    The thickness of a strip line border.

    Remarks

    Use the BorderBrush and BorderThickness properties to define the strip line border appearance. The BorderThickness property affects only the left and right borders.

    <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