This documentation is archived and is not being maintained.

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)

'Declaration
Property KeyboardInputSite As IKeyboardInputSite
'Usage
Dim instance As IKeyboardInputSink 
Dim value As IKeyboardInputSite 

value = instance.KeyboardInputSite

instance.KeyboardInputSite = value
You cannot set this property in XAML.

Property Value

Type: System.Windows.Interop.IKeyboardInputSite
A reference to the container's IKeyboardInputSite interface.

This property should initially be set to Nothing. 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 Nothing again before disposal.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: