'宣言 Public ReadOnly Property BarSettingsMilestone As BarSettingsMilestone
public BarSettingsMilestone BarSettingsMilestone {get;}
Imports Infragistics.Win.UltraWinSchedule Imports Infragistics.Win.UltraWinGanttView Private Sub Form_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Form.Load ' Sets the text to displayed on the right side of the bar, when a task is set to be a Milestone Me.ultraGanttView1.TimelineSettings.BarSettingsMilestone.BarTextRight = Infragistics.Win.UltraWinSchedule.TaskUI.BarTextField.PercentComplete End Sub
using Infragistics.Win.UltraWinSchedule; using Infragistics.Win.UltraWinGanttView; private void Form_Load(object sender, EventArgs e) { // Sets the text to displayed on the right side of the bar, when a task is set to be a Milestone this.ultraGanttView1.TimelineSettings.BarSettingsMilestone.BarTextRight = Infragistics.Win.UltraWinSchedule.TaskUI.BarTextField.PercentComplete; }