Back to Devexpress

GanttMilestoneControl Class

wpf-devexpress-dot-xpf-dot-gantt-fa2fc2e3.md

latest2.1 KB
Original Source

GanttMilestoneControl Class

A gantt milestone.

Namespace : DevExpress.Xpf.Gantt

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

NuGet Package : DevExpress.Wpf.Gantt

Declaration

csharp
public class GanttMilestoneControl :
    GanttItemControlBase
vb
Public Class GanttMilestoneControl
    Inherits GanttItemControlBase

Remarks

Use the GanttMilestoneControl object to customize the appearance of milestones.

Example

xaml
<dxgn:GanttControl ItemsSource="{Binding Tasks}">
...
    <dxgn:GanttControl.View>
        <dxgn:GanttView ...>
            <dxgn:GanttView.MilestoneStyle>
                <Style TargetType="dxgn:GanttMilestoneControl">
                    <Setter Property="Background" Value="YellowGreen"/>
                </Style>
            </dxgn:GanttView.MilestoneStyle>
        </dxgn:GanttView>
    </dxgn:GanttControl.View>
</dxgn:GanttControl>

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control DevExpress.Xpf.Gantt.GanttItemControlBase GanttMilestoneControl GanttMilestoneBaselineControl

See Also

GanttMilestoneControl Members

DevExpress.Xpf.Gantt Namespace