共用方式為


DataGridRow.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 

事件類型

備註

當 屬性值變更為 trueIsSelected ,就會發生這個事件。

適用於

另請參閱