ListBoxItem.OnSelected(RoutedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the ListBoxItem is selected in a ListBox.
protected:
virtual void OnSelected(System::Windows::RoutedEventArgs ^ e);
protected virtual void OnSelected (System.Windows.RoutedEventArgs e);
abstract member OnSelected : System.Windows.RoutedEventArgs -> unit
override this.OnSelected : System.Windows.RoutedEventArgs -> unit
Protected Overridable Sub OnSelected (e As RoutedEventArgs)
Parameters
The event data.
Remarks
This method is called when the IsSelected property changes to true
.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.