1. 首页
  2. 数据库
  3. 其它
  4. How to customize the color of specific group in WPF GanttControl:本文介绍了如何在WPF Gan

How to customize the color of specific group in WPF GanttControl:本文介绍了如何在WPF Gan

上传者: 2021-04-21 09:33:48上传 ZIP文件 91.32KB 热度 5次
如何在WPF GanttControl中自定义特定组的颜色 本文介绍了如何自定义Syncfusion WPF Gantt控件中的各种颜色的特定行,如下图所示。 这可以通过考虑每个节点项并通过以下步骤通过GanttGrid模型QueryCellInfo事​​件更新该样式来实现。 **步骤1:使用所需的属性(例如ItemsSource和Mapping属性)初始化GanttControl。 [XAML] <gantt:GanttControl x:Name="Gantt" Margin="50" ItemsSource="{Binding TaskDetails}" UseAutoUpdateHierarchy="False"
下载地址
用户评论