InputBinding Constructor

Provides base initialization for classes derived from InputBinding.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

protected InputBinding()

InputBinding is not technically an abstract class, but the default constructor is deliberately protected access. This has the effect of making InputBinding an "abstract" class for XAML. There are existing properties in WPF that have XAML usages that expect objects of type InputBinding, but you cannot specify an InputBinding instance in XAML. Instead, you can specify one of the device-specific InputBinding derived classes as values, for instance KeyBinding or MouseBinding.

Notes to Inheritors

If you implement a custom InputBinding that supports a XAML usage, use this constructor for base initialization.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft