Enables an app to register to receive notifications when the input pane is about to be displayed or hidden, and to determine which portion of the application's window is being obscured by the input pane.
The input pane is a UI element that appears when the user performs an action that requires them to enter information, such as tapping a search box or an entry field in a form.
- StaticAttribute(Windows.UI.ViewManagement.IInputPaneStatics, NTDDI_WIN8)
The InputPane class has these types of members:
The InputPane class has these events.
|Hiding||Occurs when the input pane is about to be hidden by sliding out of view.|
|Showing||Occurs when the input pane is about to be displayed by sliding into view.|
The InputPane class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
|GetForCurrentView||Gets the InputPane object associated with the application window that is currently visible.|
The InputPane class has these properties.
|Read-only||Gets the region of the application’s window that the input pane is covering.|
By default the Windows handles the input pane events for you and repositions your content on screen so that users can see where they are typing. Use this class if you are creating a DirectX app or if you'd like to override the default behavior of the framework to create your own custom input pane.
Call GetForCurrentView to get an InputPane object.
After you register to receive input pane notifications, the system calls your event delegate whenever the input pane is shown or hidden for the window that was visible when you called the GetForCurrentView method.
Note : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX).
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Minimum supported phone
|Windows Phone 8|
Build date: 2/25/2013