Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the IsContentFocusable value. This is a dependency property.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property IsContentFocusable As Boolean
'Usage
Dim instance As AdornerPanel
Dim value As Boolean
value = instance.IsContentFocusable
instance.IsContentFocusable = value
public bool IsContentFocusable { get; set; }
public:
property bool IsContentFocusable {
bool get ();
void set (bool value);
}
public function get IsContentFocusable () : boolean
public function set IsContentFocusable (value : boolean)
Property Value
Type: System.Boolean
true if the adorner panel's content may receive focus; otherwise, false. The default is false.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
Remarks
Use the IsContentFocusable property to retain events on the design surface. This is useful if your adorner requires events that apply to controls that have focus. For example, for an adorner panel to receive the MouseMove event, set the IsContentFocusable property to true.
By default, adorners do not receive focus. You can change the value of this property so that they do. This is useful if your adorner requires keyboard input from the user.
Note
Setting the IsContentFocusable property to true may interfere with selection handling.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace
Other Resources
Feature Providers and Feature Connectors
Change History
Date |
History |
Reason |
---|---|---|
December 2009 |
Added information to Remarks. |
Information enhancement. |