InkToolbar.IsRulerButtonCheckedChanged Événement
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Se produit lorsque l’état bascule de l’objet InkToolbarRulerButton change.
// Register
event_token IsRulerButtonCheckedChanged(TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsRulerButtonCheckedChanged(event_token const* cookie) const;
// Revoke with event_revoker
InkToolbar::IsRulerButtonCheckedChanged_revoker IsRulerButtonCheckedChanged(auto_revoke_t, TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
// Register
event_token IsRulerButtonCheckedChanged(TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
// Revoke with event_token
void IsRulerButtonCheckedChanged(event_token const* cookie) const;
// Revoke with event_revoker
InkToolbar::IsRulerButtonCheckedChanged_revoker IsRulerButtonCheckedChanged(auto_revoke_t, TypedEventHandler<InkToolbar, IInspectable const&> const& handler) const;
public event TypedEventHandler<InkToolbar,object> IsRulerButtonCheckedChanged;
[add: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("InkToolbarRulerButton is replaced by InkToolbarStencilButton starting from Windows 10 Creators Update. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<InkToolbar,object> IsRulerButtonCheckedChanged;
function onIsRulerButtonCheckedChanged(eventArgs) { /* Your code */ }
inkToolbar.addEventListener("isrulerbuttoncheckedchanged", onIsRulerButtonCheckedChanged);
inkToolbar.removeEventListener("isrulerbuttoncheckedchanged", onIsRulerButtonCheckedChanged);
- or -
inkToolbar.onisrulerbuttoncheckedchanged = onIsRulerButtonCheckedChanged;
Public Custom Event IsRulerButtonCheckedChanged As TypedEventHandler(Of InkToolbar, Object)
Type d'événement
TypedEventHandler<InkToolbar,IInspectable>
- Attributs
S’applique à
Voir aussi
- InkToolbarRulerButton
- Interactions avec le stylo et le stylet
- Ajouter un objet InkToolbar à une application plateforme Windows universelle (UWP)
- Tutoriel Prise en main : Prise en charge de l’entrée manuscrite dans votre application UWP
- Exemple d’encre complexe (C++)
- Exemple d’encre (JavaScript)
- Tutoriel Prise en main : Prise en charge de l’entrée manuscrite dans votre application UWP
- Exemple de livre de coloriage