Dela via


InputPane.GetForUIContext(UIContext) Method

Definition

Gets the InputPane object associated with the view with the specified context identifier.

public:
 static InputPane ^ GetForUIContext(UIContext ^ context);
 static InputPane GetForUIContext(UIContext const& context);
public static InputPane GetForUIContext(UIContext context);
function getForUIContext(context)
Public Shared Function GetForUIContext (context As UIContext) As InputPane

Parameters

context
UIContext

The context identifier of the view to get the input pane for.

Returns

The input pane.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Remarks

This method fails if it is called in a windowless thread.

Applies to