TwoPanelHingedDevicePosturePreview.PostureChanged Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Si verifica quando il comportamento del dispositivo è cambiato.
// Register
event_token PostureChanged(TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PostureChanged(event_token const* cookie) const;
// Revoke with event_revoker
TwoPanelHingedDevicePosturePreview::PostureChanged_revoker PostureChanged(auto_revoke_t, TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
// Register
event_token PostureChanged(TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
// Revoke with event_token
void PostureChanged(event_token const* cookie) const;
// Revoke with event_revoker
TwoPanelHingedDevicePosturePreview::PostureChanged_revoker PostureChanged(auto_revoke_t, TypedEventHandler<TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<TwoPanelHingedDevicePosturePreview,TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> PostureChanged;
[add: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("TwoPanelHingedDevicePosturePreview is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public event TypedEventHandler<TwoPanelHingedDevicePosturePreview,TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> PostureChanged;
function onPostureChanged(eventArgs) { /* Your code */ }
twoPanelHingedDevicePosturePreview.addEventListener("posturechanged", onPostureChanged);
twoPanelHingedDevicePosturePreview.removeEventListener("posturechanged", onPostureChanged);
- or -
twoPanelHingedDevicePosturePreview.onposturechanged = onPostureChanged;
Public Custom Event PostureChanged As TypedEventHandler(Of TwoPanelHingedDevicePosturePreview, TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs)
Tipo evento
TypedEventHandler<TwoPanelHingedDevicePosturePreview,TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs>
- Attributi