IKeyboardInputSink.KeyboardInputSite Property

Gets or sets a reference to the component's container's IKeyboardInputSite interface.

Namespace: System.Windows.Interop
Assembly: WindowsBase (in windowsbase.dll)

Property KeyboardInputSite As IKeyboardInputSite
Dim instance As IKeyboardInputSink
Dim value As IKeyboardInputSite

value = instance.KeyboardInputSite

instance.KeyboardInputSite = value
/** @property */
IKeyboardInputSite get_KeyboardInputSite ()

/** @property */
void set_KeyboardInputSite (IKeyboardInputSite value)

function get KeyboardInputSite () : IKeyboardInputSite

function set KeyboardInputSite (value : IKeyboardInputSite)

You cannot use this property in XAML.

Property Value

A reference to the container's IKeyboardInputSite interface.

This property should initially be set to a null reference (Nothing in Visual Basic). Any container that adds the sink to its components list will set KeyboardInputSite before any other methods are called, and it can be set multiple times after that. You should set the property to a null reference (Nothing in Visual Basic) again before disposal.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0