ModelingBindingSource Class

 

A specialized BindingSource for use with VMSDK (DSL Tools) models. Creates a transaction when items are added or removed.

Namespace:   Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

System::Object
  System::MarshalByRefObject
    System.ComponentModel::Component
      System.Windows.Forms::BindingSource
        Microsoft.VisualStudio.Modeling.Design::ModelingBindingSource

public ref class ModelingBindingSource : BindingSource

NameDescription
System_CAPS_pubmethodModelingBindingSource()

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class to the default property values.

System_CAPS_pubmethodModelingBindingSource(IContainer^)

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class and adds newly created ModelingBindingSource object to the specified container.

System_CAPS_pubmethodModelingBindingSource(Object^, String^)

Initializes a new instance of the Microsoft.VisualStudio.Modeling.Design.ModelingBindingSource class with the specified data source and data member.

NameDescription
System_CAPS_pubpropertyAllowEdit

(Inherited from BindingSource.)

System_CAPS_pubpropertyAllowNew

Is AddNew allowed to be called on this source.(Overrides BindingSource::AllowNew.)

System_CAPS_pubpropertyAllowRemove

(Inherited from BindingSource.)

System_CAPS_protpropertyCanRaiseEvents

(Inherited from Component.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_pubpropertyCount

(Inherited from BindingSource.)

System_CAPS_pubpropertyCurrencyManager

(Inherited from BindingSource.)

System_CAPS_pubpropertyCurrent

(Inherited from BindingSource.)

System_CAPS_pubpropertyDataMember

(Inherited from BindingSource.)

System_CAPS_pubpropertyDataSource

(Inherited from BindingSource.)

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_pubpropertyFilter

(Inherited from BindingSource.)

System_CAPS_pubpropertyIsBindingSuspended

(Inherited from BindingSource.)

System_CAPS_pubpropertyIsFixedSize

(Inherited from BindingSource.)

System_CAPS_pubpropertyIsReadOnly

(Inherited from BindingSource.)

System_CAPS_pubpropertyIsSorted

(Inherited from BindingSource.)

System_CAPS_pubpropertyIsSynchronized

(Inherited from BindingSource.)

System_CAPS_pubpropertyIsValidDataSource

True if the data source is a VMSDK ModelElement that is contained in a VMSDK Store.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the list item at the specified index. If you set an item, the operation will be performed inside a transaction.(Overrides BindingSource::Item[Int32].)

System_CAPS_pubpropertyList

(Inherited from BindingSource.)

System_CAPS_pubpropertyPosition

(Inherited from BindingSource.)

System_CAPS_pubpropertyRaiseListChangedEvents

(Inherited from BindingSource.)

System_CAPS_pubpropertySite

(Inherited from Component.)

System_CAPS_pubpropertySort

(Inherited from BindingSource.)

System_CAPS_pubpropertySupportsAdvancedSorting

(Inherited from BindingSource.)

System_CAPS_pubpropertySupportsChangeNotification

(Inherited from BindingSource.)

System_CAPS_pubpropertySupportsFiltering

(Inherited from BindingSource.)

System_CAPS_pubpropertySupportsSearching

(Inherited from BindingSource.)

System_CAPS_pubpropertySupportsSorting

(Inherited from BindingSource.)

System_CAPS_pubpropertySyncRoot

(Inherited from BindingSource.)

NameDescription
System_CAPS_pubmethodAdd(Object^)

Adds an existing item to the list. The operation will be performed inside a transaction.(Overrides BindingSource::Add(Object^).)

System_CAPS_pubmethodAddNew()

Adds a new item to the underlying list.(Overrides BindingSource::AddNew().)

System_CAPS_pubmethodCancelEdit()

(Inherited from BindingSource.)

System_CAPS_pubmethodClear()

Removes all elements from the list. Performs the operation inside a transaction.(Overrides BindingSource::Clear().)

System_CAPS_pubmethodContains(Object^)

(Inherited from BindingSource.)

System_CAPS_pubmethodCopyTo(Array^, Int32)

(Inherited from BindingSource.)

System_CAPS_pubmethodCreateObjRef(Type^)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from BindingSource.)

System_CAPS_pubmethodEndEdit()

(Inherited from BindingSource.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_pubmethodFind(PropertyDescriptor^, Object^)

(Inherited from BindingSource.)

System_CAPS_pubmethodFind(String^, Object^)

(Inherited from BindingSource.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from BindingSource.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetItemProperties(array<PropertyDescriptor^>^)

(Inherited from BindingSource.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetListName(array<PropertyDescriptor^>^)

(Inherited from BindingSource.)

System_CAPS_pubmethodGetRelatedCurrencyManager(String^)

(Inherited from BindingSource.)

System_CAPS_protmethodGetService(Type^)

(Inherited from Component.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Object^)

(Inherited from BindingSource.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodInsert(Int32, Object^)

Inserts an item into the list at the specified index. Performs the operation inside a transaction.(Overrides BindingSource::Insert(Int32, Object^).)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodMoveFirst()

(Inherited from BindingSource.)

System_CAPS_pubmethodMoveLast()

(Inherited from BindingSource.)

System_CAPS_pubmethodMoveNext()

(Inherited from BindingSource.)

System_CAPS_pubmethodMovePrevious()

(Inherited from BindingSource.)

System_CAPS_protmethodOnAddingNew(AddingNewEventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnBindingComplete(BindingCompleteEventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnCurrentChanged(EventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnCurrentItemChanged(EventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnDataError(BindingManagerDataErrorEventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnDataMemberChanged(EventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnDataSourceChanged(EventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnListChanged(ListChangedEventArgs^)

When the list has been changed this method is called in order to reset the store event handlers and reset the state of a valid datasource.(Overrides BindingSource::OnListChanged(ListChangedEventArgs^).)

System_CAPS_protmethodOnPositionChanged(EventArgs^)

(Inherited from BindingSource.)

System_CAPS_protmethodOnPropertyChanged(Object^, EventArgs^)

Called when a property has changed.

System_CAPS_pubmethodRemove(Object^)

Removes the specified item from the list. Performs the operation inside a transaction.(Overrides BindingSource::Remove(Object^).)

System_CAPS_pubmethodRemoveAt(Int32)

Removes the item at the specified index in the list. Performs the operation inside a transaction.(Overrides BindingSource::RemoveAt(Int32).)

System_CAPS_pubmethodRemoveCurrent()

(Inherited from BindingSource.)

System_CAPS_pubmethodRemoveFilter()

(Inherited from BindingSource.)

System_CAPS_pubmethodRemoveSort()

(Inherited from BindingSource.)

System_CAPS_pubmethodResetAllowNew()

(Inherited from BindingSource.)

System_CAPS_pubmethodResetBindings(Boolean)

(Inherited from BindingSource.)

System_CAPS_pubmethodResetCurrentItem()

(Inherited from BindingSource.)

System_CAPS_pubmethodResetItem(Int32)

(Inherited from BindingSource.)

System_CAPS_pubmethodResumeBinding()

(Inherited from BindingSource.)

System_CAPS_pubmethodSuspendBinding()

(Inherited from BindingSource.)

System_CAPS_pubmethodToString()

(Inherited from Component.)

NameDescription
System_CAPS_pubeventAddingNew

(Inherited from BindingSource.)

System_CAPS_pubeventBindingComplete

(Inherited from BindingSource.)

System_CAPS_pubeventCurrentChanged

(Inherited from BindingSource.)

System_CAPS_pubeventCurrentItemChanged

(Inherited from BindingSource.)

System_CAPS_pubeventDataError

(Inherited from BindingSource.)

System_CAPS_pubeventDataMemberChanged

(Inherited from BindingSource.)

System_CAPS_pubeventDataSourceChanged

(Inherited from BindingSource.)

System_CAPS_pubeventDisposed

(Inherited from Component.)

System_CAPS_pubeventListChanged

(Inherited from BindingSource.)

System_CAPS_pubeventPositionChanged

(Inherited from BindingSource.)

For an example of how to use this binding source, see Creating a Windows Forms-Based Domain-Specific Language.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: