RadioButton.PerformClick メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > RadioButton.PerformClick メソッドの意味・解説 

RadioButton.PerformClick メソッド

コントロールClick イベント生成してユーザーによるクリックシミュレートます。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Sub PerformClick
Dim instance As RadioButton

instance.PerformClick
public void PerformClick ()
public:
void PerformClick ()
public void PerformClick ()
public function PerformClick ()
使用例使用例

ListBox選択項目と、RadioButtonChecked プロパティ評価するコード例次に示します指定された項目がリスト ボックス選択されると、別の RadioButtonPerformClick メソッド呼び出されます。この例は、2 つRadioButton コントロールおよび ListBoxフォーム上でインスタンス化されていることを前提にしています。

Private Sub ClickMyRadioButton()
    ' If Item1 is selected and radioButton2 
    ' is checked, click radioButton1.
    If (listBox1.Text = "Item1")
 And radioButton2.Checked Then
        radioButton1.PerformClick()
    End If
End Sub

private void ClickMyRadioButton()
{
   // If Item1 is selected and radioButton2 
   // is checked, click radioButton1.
   if (listBox1.Text == "Item1" && radioButton2.Checked)
   {
      radioButton1.PerformClick();
   }
}

private:
   void ClickMyRadioButton()
   {
      // If Item1 is selected and radioButton2 
      // is checked, click radioButton1.
      if ( listBox1->Text == "Item1" && radioButton2->Checked
 )
      {
         radioButton1->PerformClick();
      }
   }
private void ClickMyRadioButton()
{
    // If Item1 is selected and radioButton2 is checked, click radioButton1.
    if ( listBox1.get_Text().equals("Item1") &&
 radioButton2.get_Checked()) {
            radioButton1.PerformClick();
    }
} //ClickMyRadioButton
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からRadioButton.PerformClick メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からRadioButton.PerformClick メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からRadioButton.PerformClick メソッド を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

RadioButton.PerformClick メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



RadioButton.PerformClick メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS