Share via


InstanceItemsSourceBinding Property

The binding that will be applied to the InstanceItemsSource property of the ComboBoxValue. The difference between InstanceItemsSource and ItemsSource is that ItemsSource can only be bound to a static property or resource (that is because DataGridComboBoxColumn is not a FrameworkElement, so it doesn't have a DataContext). The binding for InstanceItemsSource is applied to the target object (row object), similarly to the way the TextBinding property works.

Namespace:  Microsoft.Data.Relational.Design.Controls
Assembly:  Microsoft.Data.Tools.Relational.Design (in Microsoft.Data.Tools.Relational.Design.dll)

Syntax

'Declaration
Public Overridable Property InstanceItemsSourceBinding As BindingBase
    Get
    Set
'Usage
Dim instance As DataGridDesignerComboBoxColumn
Dim value As BindingBase

value = instance.InstanceItemsSourceBinding

instance.InstanceItemsSourceBinding = value
public virtual BindingBase InstanceItemsSourceBinding { get; set; }
public:
virtual property BindingBase^ InstanceItemsSourceBinding {
    BindingBase^ get ();
    void set (BindingBase^ value);
}
abstract InstanceItemsSourceBinding : BindingBase with get, set
override InstanceItemsSourceBinding : BindingBase with get, set
function get InstanceItemsSourceBinding () : BindingBase
function set InstanceItemsSourceBinding (value : BindingBase)

Property Value

Type: System.Windows.Data..::..BindingBase

Remarks

This isn't a DP because if it were getting the value would evaluate the binding.

See Also

Reference

DataGridDesignerComboBoxColumn Class

Microsoft.Data.Relational.Design.Controls Namespace