Dela via


VisualStateChangedEventHandler Delegate

Definition

Represents the method that will handle the CurrentStateChanging and CurrentStateChanged events.

public delegate void VisualStateChangedEventHandler(Platform::Object ^ sender, VisualStateChangedEventArgs ^ e);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3872766933, 57385, 17318, 179, 109, 132, 168, 16, 66, 215, 116)]
class VisualStateChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3872766933, 57385, 17318, 179, 109, 132, 168, 16, 66, 215, 116)]
public delegate void VisualStateChangedEventHandler(object sender, VisualStateChangedEventArgs e);
Public Delegate Sub VisualStateChangedEventHandler(sender As Object, e As VisualStateChangedEventArgs)

Parameters

sender
Object

Platform::Object

IInspectable

The object where the event handler is attached.

e
VisualStateChangedEventArgs

Event data for the event.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to