'宣言 Public Property CaptionVisible As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean CaptionVisible {get; set;}
Private Sub Form1_Load(sender As Object, e As System.EventArgs) ' Hide the caption. ' Me.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False End Sub
private void Form1_Load(object sender, System.EventArgs e) { // Hide the caption. // this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False; }