Class SelectionBridge
Represents a class that synchronizes selection between RadMultiColumnComboBox and another control.
Inheritance
Namespace: Telerik.Windows.Controls.MultiColumnComboBox
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class SelectionBridge : Object, ISelectionBridge
Constructors
SelectionBridge(RadMultiColumnComboBox)
Initializes a new instance of the SelectionBridge class.
Declaration
public SelectionBridge(RadMultiColumnComboBox owner)
Parameters
RadMultiColumnComboBox
owner
|
Properties
CollectionView
Gets the collection view that is associated with the selection bridge.
Declaration
protected QueryableCollectionView CollectionView { get; }
Property Value
QueryableCollectionView
|
IsSelectionChangeInPlace
Gets or sets a boolean value indicating that the selection is being changed from code.
Declaration
protected bool IsSelectionChangeInPlace { get; set; }
Property Value
System.Boolean
|
Owner
Gets the RadMultiColumnComboBox that is associated with the selection bridge.
Declaration
public RadMultiColumnComboBox Owner { get; }
Property Value
RadMultiColumnComboBox
|
Implements
Methods
CleanUp()
Clean event subscriptions and other used resources.
Declaration
public virtual void CleanUp()
ClearOwnerSelection()
Clears the selection in RadMultiColumnComboBox.
Declaration
public void ClearOwnerSelection()
Implements
ClearSourceSelection()
Clears the selection in source element.
Declaration
public virtual void ClearSourceSelection()
Implements
InitializeCollectionView(QueryableCollectionView)
Initializes CollectionView instance, associated with SelectionBridge.
Declaration
public void InitializeCollectionView(QueryableCollectionView sourceCollectionView)
Parameters
QueryableCollectionView
sourceCollectionView
|
Implements
ItemsDeselectedInOwner(IEnumerable<Object>, Boolean)
Invoked when an item is deselected from RadMultiColumnComboBox.
Declaration
public virtual void ItemsDeselectedInOwner(IEnumerable<object> removedItems, bool raiseEvent = true)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
removedItems
|
System.Boolean
raiseEvent
|
Implements
ItemsDeselectedInSource(IEnumerable<Object>, Boolean)
Invoked when an item is deselected from the selection source.
Declaration
public void ItemsDeselectedInSource(IEnumerable<object> removedItems, bool raiseEvent = true)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
removedItems
|
System.Boolean
raiseEvent
|
Implements
ItemsSelectedInOwner(IEnumerable<Object>, Boolean)
Invoked when an item is selected in RadMultiColumnComboBox.
Declaration
public virtual void ItemsSelectedInOwner(IEnumerable<object> addedItems, bool raiseEvent = true)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
addedItems
|
System.Boolean
raiseEvent
|
Implements
ItemsSelectedInSource(IEnumerable<Object>, Boolean)
Invoked when an item is selected in the selection source.
Declaration
public void ItemsSelectedInSource(IEnumerable<object> addedItems, bool raiseEvent = true)
Parameters
System.Collections.Generic.IEnumerable<System.Object>
addedItems
|
System.Boolean
raiseEvent
|
Implements
SelectedItemsResetInOwner()
Invoked when SelectedItems.Reset occurs in RadMultiColumnComboBox.
Declaration
public virtual void SelectedItemsResetInOwner()
Implements
SynchronizeCurrentItemWithSelection()
Propagates source's CurrentItem to RadMultiColumnComboBox selection.
Declaration
public virtual bool SynchronizeCurrentItemWithSelection()
Returns
System.Boolean
|
Implements
SynchronizeSelectedItemsWithSource()
Synchronizes cached selected items back to the source selection.
Declaration
public virtual void SynchronizeSelectedItemsWithSource()
Implements
UnsubscribeFromSourceEvents()
Unsubscribes selection bridge from source's selection events.
Declaration
public virtual void UnsubscribeFromSourceEvents()