InteropFocusTracking Class
Provides an attached behavior for ensuring that a HwndHost (such as a WindowsFormsHost
or WebBrowser
) properly registers activation in containing docking windows.
public static class InteropFocusTracking
- Inheritance:
- object object
Methods
GetIsEnabled(HwndHost)
Gets the value of the IsEnabled
attached property for the specified object.
public static bool GetIsEnabled(HwndHost obj)
Parameter | Type | Description |
---|---|---|
obj | HwndHost | The object from which the property value is read. |
Returns
- bool:
The object's value.
SetIsEnabled(HwndHost, bool)
Sets the value of the IsEnabled
attached property to the specified object.
public static void SetIsEnabled(HwndHost obj, bool value)
Parameter | Type | Description |
---|---|---|
obj | HwndHost | The object to which the attached property is written. |
value | bool | The value to set. |
Fields
IsEnabledProperty
Identifies the IsEnabled
dependency property. This field is read-only.
public static readonly DependencyProperty IsEnabledProperty