Share via


CoreInputViewAnimationStartingEventArgs Class

Definition

Contains event data for the CoreInputView.PrimaryViewAnimationStarting event.

Note

Not supported on HoloLens.

public ref class CoreInputViewAnimationStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CoreInputViewAnimationStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CoreInputViewAnimationStartingEventArgs
Public NotInheritable Class CoreInputViewAnimationStartingEventArgs
Inheritance
Object Platform::Object IInspectable CoreInputViewAnimationStartingEventArgs
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

Used by frameworks (such as XAML) or custom text controls only.

Occluding events can be handled by your app first. If your app doesn't handle the events, they bubble up to any framework that needs to handle the events.

Properties

AnimationDuration

Gets the interval of time required to complete the CoreInputView animation.

Important

The application should use this value when setting any animation durations that are based on the showing or hiding of the CoreInputView. If coordinating animations between the application and the CoreInputView, ensure the application animation does not complete before the CoreInputView animation.

Handled

Gets or sets a value that marks the event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.

Occlusions

Gets the collection of CoreInputViewOcclusion objects associated with the animated CoreInputView.

Applies to