Back to Devexpress

GanttView.GanttRowStyle Property

wpf-devexpress-dot-xpf-dot-gantt-dot-ganttview-00068bc1.md

latest1.7 KB
Original Source

GanttView.GanttRowStyle Property

Gets or sets the style applied to gantt rows. This is a dependency property.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public Style GanttRowStyle { get; set; }
vb
Public Property GanttRowStyle As Style

Property Value

TypeDescription
Style

The style applied to gantt rows.

|

Remarks

Target Type: GanttRowControl

Example

xaml
<dxgn:GanttControl ItemsSource="{Binding Tasks}">
...
    <dxgn:GanttControl.View>
        <dxgn:GanttView ...>
            <dxgn:GanttView.GanttRowStyle>
                <Style TargetType="dxgn:GanttRowControl">
                    <Setter Property="BorderBrush" Value="LightGray"/>
                    <Setter Property="BorderThickness" Value="2"/>
                    <Setter Property="FontStyle" Value="Italic"/>
                </Style>
            </dxgn:GanttView.GanttRowStyle>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>

See Also

GanttView Class

GanttView Members

DevExpress.Xpf.Gantt Namespace