콘텐츠로 이동

ListBoxMarkupExtensions.OnSelectionChanged<T> method

이 콘텐츠는 아직 번역되지 않았습니다.

Subscribes handler to SelectionChanged. Occurs when the selected item changes.

public static T OnSelectionChanged<T>(this T target, Action<object?> handler)
where T : ListBox
parameter description
T Receiver type.
target Target ListBox.
handler Handler subscribed to SelectionChanged.

The same element for chaining.

Sets: ListBox.SelectionChanged