CoreIndependentInputSourceController Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an object that creates a CoreIndependentInputSource for the associated visual object and manages the input received by that source.
public ref class CoreIndependentInputSourceController sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CoreIndependentInputSourceController final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CoreIndependentInputSourceController : System.IDisposable
Public NotInheritable Class CoreIndependentInputSourceController
Implements IDisposable
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 11 (introduced in 10.0.22000.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v14.0)
|
Remarks
The input events raised by the controller's input source will occur on the thread where the controller was created.
Properties
IsPalmRejectionEnabled |
Gets or sets whether enhanced logic is used to detect accidental touch input when using a pen. |
IsTransparentForUncontrolledInput |
Gets or sets whether the visual associated with the controller's input source should be treated as transparent for input not currently configured to be delivered to the controller. |
Source |
Gets the input source object associated with the CoreIndependentInputSourceController. |
Methods
Close() |
Closes the CoreIndependentInputSourceController instance and releases allocated resources. |
CreateForIVisualElement(IVisualElement) |
Creates a CoreIndependentInputSourceController for the specified IVisualElement. |
CreateForVisual(Visual) |
Creates a CoreIndependentInputSourceController for the specified Visual. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
SetControlledInput(CoreInputDeviceTypes, CoreIndependentInputFilters, CoreIndependentInputFilters) |
Identifies the CoreInputDeviceTypes that should be delivered to the input source associated with the CoreIndependentInputSourceController, based on the specified filters. |
SetControlledInput(CoreInputDeviceTypes) |
Identifies the CoreInputDeviceTypes that should be delivered to the input source associated with the CoreIndependentInputSourceController. |