InkToolbar.ActiveToolChanged 이벤트

정의

InkToolbarRadioButton 그룹에서 현재 선택된 기능이 변경될 때 발생합니다. 이 이벤트는 다음 개체에 대한 액세스를 제공합니다.

이 그룹의 기능은 상호 배타적입니다. 기능을 선택하면 현재 활성 기능이 선택 취소됩니다.

참고

InkToolbarRulerButtonInkToolbarCustomToggleButton 개체는 활성 기능과 함께 작동하며 ActiveToolChanged 이벤트에 노출되지 않습니다.

// Register
event_token ActiveToolChanged(TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;

// Revoke with event_token
void ActiveToolChanged(event_token const* cookie) const;

// Revoke with event_revoker
InkToolbar::ActiveToolChanged_revoker ActiveToolChanged(auto_revoke_t, TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
public event TypedEventHandler<InkToolbar,object> ActiveToolChanged;
function onActiveToolChanged(eventArgs) { /* Your code */ }
inkToolbar.addEventListener("activetoolchanged", onActiveToolChanged);
inkToolbar.removeEventListener("activetoolchanged", onActiveToolChanged);
- or -
inkToolbar.onactivetoolchanged = onActiveToolChanged;
Public Custom Event ActiveToolChanged As TypedEventHandler(Of InkToolbar, Object) 

이벤트 유형

적용 대상

추가 정보