'宣言 Public Property ShowCalculatingText As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean ShowCalculatingText {get; set;}
ShowCalculatingText プロパティを使用すると、計算中のテキストの表示を明示的に ON/OFF できます。
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button1.Click ' ShowCalculatingText specifies whether to display #Calculating in cells while they ' are being calculated. Setting the property on the layout's override affects the ' whole grid. Me.UltraGrid1.DisplayLayout.Override.ShowCalculatingText = DefaultableBoolean.True ' You can override this setting on a specific band. Me.UltraGrid1.DisplayLayout.Bands(1).Override.ShowCalculatingText = DefaultableBoolean.False ' You can also override it on a specific column. Me.UltraGrid1.DisplayLayout.Bands(1).Columns(0).ShowCalculatingText = DefaultableBoolean.False End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button1_Click(object sender, System.EventArgs e) { // ShowCalculatingText specifies whether to display #Calculating in cells while they // are being calculated. Setting the property on the layout's override affects the // whole grid. this.ultraGrid1.DisplayLayout.Override.ShowCalculatingText = DefaultableBoolean.True; // You can override this setting on a specific band. this.ultraGrid1.DisplayLayout.Bands[1].Override.ShowCalculatingText = DefaultableBoolean.False; // You can also override it on a specific column. this.ultraGrid1.DisplayLayout.Bands[1].Columns[0].ShowCalculatingText = DefaultableBoolean.False; }