AttachableInputObject AttachableInputObject AttachableInputObject AttachableInputObject Class


Base class for an InputActivationListener object associated with a window, view, or other visual element.

public : class AttachableInputObject : IClosable
struct winrt::Windows::UI::Input::AttachableInputObject : IClosable
public class AttachableInputObject : IDisposable
Public Class AttachableInputObject Implements IDisposable

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)


This class does not have a constructor, or any properties, methods, and events.

This class derives from Windows.Foundation.IClosable, which has a Close method that is invoked internally upon the object's destruction, releasing the object's resources and rendering it invalid.

Do not invoke the Close method directly, just destroy the object according to the language being used.


Close() Close() Close() Close()

Terminates the AttachableInputObject instance.

Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

See also