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

DataGrid.UnSelect メソッド

指定した行の選択解除します

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

Public Sub UnSelect ( _
    row As Integer _
)
Dim instance As DataGrid
Dim row As Integer

instance.UnSelect(row)
public void UnSelect (
    int row
)
public:
void UnSelect (
    int row
)
public void UnSelect (
    int row
)
public function UnSelect (
    row : int
)

パラメータ

row

選択解除する行のインデックス

使用例使用例
' On Click of Button "Unselect Row" this event is raised.
 Private Sub UnselectRow_Clicked(ByVal
 sender As Object, ByVal
 e As EventArgs)
     ' Unselect the current row from the Datagrid
     myDataGrid.UnSelect(myDataGrid.CurrentRowIndex)
 End Sub 'UnselectRow_Clicked
// On Click of Button "Unselect Row" this event is raised.
private void UnselectRow_Clicked(object sender,
 EventArgs e)
{
   // Unselect the current row from the Datagrid
   myDataGrid.UnSelect(myDataGrid.CurrentRowIndex);
}
   // On Click of Button "Unselect Row" this event is raised.
private:
   void UnselectRow_Clicked( Object^ /*sender*/, EventArgs^ /*e*/
 )
   {
      // Unselect the current row from the Datagrid
      myDataGrid->UnSelect( myDataGrid->CurrentRowIndex );
   }
// On Click of Button "Unselect Row" this event is raised.
protected void UnselectRow_Clicked(Object sender,
 EventArgs e)
{
    // Unselect the current row from the Datagrid
    myDataGrid.UnSelect(myDataGrid.get_CurrentRowIndex());
} //UnselectRow_Clicked
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2024 GRAS Group, Inc.RSS