共用方式為


DataGridCell.Selected 事件

定義

發生於選取儲存格時。

public:
 event System::Windows::RoutedEventHandler ^ Selected;
public event System.Windows.RoutedEventHandler Selected;
member this.Selected : System.Windows.RoutedEventHandler 
Public Custom Event Selected As RoutedEventHandler 

事件類型

備註

當 屬性設定為 true 時, IsSelected 就會發生這個事件。

適用於

另請參閱