Dela via


CoreInputViewOcclusionsChangedEventArgs Class

Definition

Contains event data for the OcclusionsChanged event.

Note

Not supported on HoloLens.

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

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.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

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 input panes (and associated UI) currently occluding the app.

Applies to

See also