Udostępnij za pośrednictwem


CoreInputViewShowingEventArgs Class

Definition

Contains event data for the PrimaryViewShowing event.

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

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

Primary view refers to either of the CoreInputViewKind.Keyboard or CoreInputViewKind.Handwriting views, while CoreInputView can be any of the values from CoreInputViewKind.

Methods

TryCancel()

Attempts to cancel the PrimaryViewShowing event of the input pane associated with the CoreInputView pane (if input pane is visible).

Applies to

See also