ICoreInputSourceBase ICoreInputSourceBase ICoreInputSourceBase ICoreInputSourceBase Interface


Defines the base interface for an input source used by a CoreWindow.

public : interface ICoreInputSourceBase
struct winrt::Windows::UI::Core::ICoreInputSourceBase
public interface ICoreInputSourceBase
Public Interface ICoreInputSourceBase
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Dispatcher Dispatcher Dispatcher Dispatcher

Gets the event dispatcher for the window.

public : CoreDispatcher Dispatcher { get; }
CoreDispatcher Dispatcher();
public CoreDispatcher Dispatcher { get; }
Public ReadOnly Property Dispatcher As CoreDispatcher
CoreDispatcher CoreDispatcher

The event dispatcher for the window.

IsInputEnabled IsInputEnabled IsInputEnabled IsInputEnabled

Gets or sets a value that indicates whether input is enabled for the UWP app.

public : Platform::Boolean IsInputEnabled { get; set; }
bool IsInputEnabled(); void IsInputEnabled(bool isinputenabled);
public bool IsInputEnabled { get; set; }
Public ReadWrite Property IsInputEnabled As bool
bool bool

True if input is enabled for the app; false if it is disabled.


InputEnabled InputEnabled InputEnabled InputEnabled

Occurs when input is enabled or disabled for the UWP app.

public : event TypedEventHandler InputEnabled<Platform::Object, InputEnabledEventArgs>
// Register
event_token InputEnabled(TypedEventHandler<Platform::Object, InputEnabledEventArgs> const& handler) const;

// Revoke with event_token
void InputEnabled(event_token const& cookie) const;

// Revoke with event_revoker
InputEnabled_revoker InputEnabled(auto_revoker_t, TypedEventHandler<Platform::Object, InputEnabledEventArgs> const& handler) const;
public event TypedEventHandler InputEnabled<object, InputEnabledEventArgs>
Public Event TypedEventHandler InputEnabled( Of ( Of object ), ( Of InputEnabledEventArgs ))