skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SelectionBridge

Represents a class that synchronizes selection between RadMultiColumnComboBox and another control.

Inheritance
System.Object
SelectionBridge
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Controls.MultiColumnComboBox
Assembly: Telerik.Windows.Controls.GridView.dll

Syntax

public class SelectionBridge : 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
ISelectionBridge.Owner

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
ISelectionBridge.ClearOwnerSelection()

ClearSourceSelection()

Clears the selection in source element.

Declaration
public virtual void ClearSourceSelection()
Implements
ISelectionBridge.ClearSourceSelection()

InitializeCollectionView(QueryableCollectionView)

Initializes CollectionView instance, associated with SelectionBridge.

Declaration
public void InitializeCollectionView(QueryableCollectionView sourceCollectionView)
Parameters
QueryableCollectionView sourceCollectionView

Implements
ISelectionBridge.InitializeCollectionView(QueryableCollectionView)

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
ISelectionBridge.ItemsDeselectedInOwner(IEnumerable<Object>, Boolean)

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
ISelectionBridge.ItemsDeselectedInSource(IEnumerable<Object>, Boolean)

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
ISelectionBridge.ItemsSelectedInOwner(IEnumerable<Object>, Boolean)

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
ISelectionBridge.ItemsSelectedInSource(IEnumerable<Object>, Boolean)

SelectedItemsResetInOwner()

Invoked when SelectedItems.Reset occurs in RadMultiColumnComboBox.

Declaration
public virtual void SelectedItemsResetInOwner()
Implements
ISelectionBridge.SelectedItemsResetInOwner()

SynchronizeCurrentItemWithSelection()

Propagates source's CurrentItem to RadMultiColumnComboBox selection.

Declaration
public virtual bool SynchronizeCurrentItemWithSelection()
Returns
System.Boolean

Implements
ISelectionBridge.SynchronizeCurrentItemWithSelection()

SynchronizeSelectedItemsWithSource()

Synchronizes cached selected items back to the source selection.

Declaration
public virtual void SynchronizeSelectedItemsWithSource()
Implements
ISelectionBridge.SynchronizeSelectedItemsWithSource()

UnsubscribeFromSourceEvents()

Unsubscribes selection bridge from source's selection events.

Declaration
public virtual void UnsubscribeFromSourceEvents()
Implements
ISelectionBridge.UnsubscribeFromSourceEvents()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.