New to Telerik UI for WPFStart a free 30-day trial

Represents a class that synchronizes two collections of GridViewColumns.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class ColumnSyncBehavior

Inheritance: objectColumnSyncBehavior

Constructors

Initializes a new instance of the ColumnSyncBehavior class.

C#
public ColumnSyncBehavior(RadGridView grid, INotifyCollectionChanged columns)
Parameters:gridRadGridViewcolumnsINotifyCollectionChanged

Fields

ColumnsProperty

DependencyProperty

Represents the Columns attached property.

C#
public static readonly DependencyProperty ColumnsProperty

Methods

Gets the Columns property.

C#
public static INotifyCollectionChanged GetColumns(DependencyObject dependencyObject)
Parameters:dependencyObjectDependencyObjectReturns:

INotifyCollectionChanged

Sets the Columns property.

C#
public static void SetColumns(DependencyObject dependencyObject, INotifyCollectionChanged columns)
Parameters:dependencyObjectDependencyObjectcolumnsINotifyCollectionChanged

Transfers the items from the source to the target collection.

C#
public static void Transfer(IList source, IList target)
Parameters:sourceIListtargetIList