GrapeCity.Win.Containers 名前空間 > GcRadioGroupBox クラス : EnableAllItems メソッド |
// Click button2 will enable or disable all items. private void button2_Click(object sender, EventArgs e) { if (AreAllItemsDisabled) { this.gcRadioGroupBox1.EnableAllItems(); } else { this.gcRadioGroupBox1.DisableAllItems(); } // Update button3's text to appropriate value. this.UpdateButton2Text(); }
' Click button2 will enable or disable all items. Private Sub button2_Click(ByVal sender As Object, ByVal e As EventArgs) If AreAllItemsDisabled Then Me.gcRadioGroupBox1.EnableAllItems() Else Me.gcRadioGroupBox1.DisableAllItems() End If ' Update button3's text to appropriate value. Me.UpdateButton2Text() End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2