Version

IsBoundDependencyProperty Property

Returns true if the property is a DependencyProperty and its ValueSource is a BindingExpression and XamPropertyGrid.PreventEditingOfBoundProperties has been set to true. (read only)
Syntax
'Declaration
 
Public ReadOnly Property IsBoundDependencyProperty As Boolean
public bool IsBoundDependencyProperty {get;}
Remarks
If this property returns true, the XamPropertyGrid will: 1. Treat the property associated with this PropertyGridPropertyItem as a read-only property for editing purposes 2. Suppress the display of the property's value in the editor 3. Highlight the property's editor in the UI with a distinctively colored Border

Note: This property will only return true for a bound DependencyProperty if XamPropertyGrid.PreventEditingOfBoundProperties has been set to true. If XamPropertyGrid.PreventEditingOfBoundProperties is left at its default value of false, this property will ALWAYS return false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also