Skip to main content
All docs
V26.1
  • GanttConnector.ShadowBrush Property

    Gets or sets the brush used to paint the connector‘s shadow. This is a dependency property.

    Namespace: DevExpress.Xpf.Gantt

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

    NuGet Package: DevExpress.Wpf.Gantt

    Declaration

    public Brush ShadowBrush { get; set; }

    Property Value

    Type Description
    Brush

    A brush used to paint the connector’s shadow.

    Remarks

    The code sample below demonstrates how to change the Connector‘s shadow color.

    <dxgn:GanttControl ItemsSource="{Binding Tasks}"> 
        <dxgn:GanttControl.View> 
            <dxgn:GanttView ...> 
                <dxgn:GanttView.ConnectorStyle> 
                    <Style TargetType="dxgn:GanttConnector"> 
                        <Setter Property="ShadowBrush" Value="Gray"/> 
                    </Style> 
                </dxgn:GanttView.ConnectorStyle> 
            </dxgn:GanttView> 
        </dxgn:GanttControl.View> 
    </dxgn:GanttControl>
    
    See Also