Class ColumnSyncBehavior
Represents a class that synchronizes two collections of GridViewColumns.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class ColumnSyncBehavior : Object
Constructors
ColumnSyncBehavior(RadGridView, INotifyCollectionChanged)
Initializes a new instance of the ColumnSyncBehavior class.
Declaration
public ColumnSyncBehavior(RadGridView grid, INotifyCollectionChanged columns)
Parameters
RadGridView
grid
|
System.Collections.Specialized.INotifyCollectionChanged
columns
|
Fields
ColumnsProperty
Represents the Columns attached property.
Declaration
public static readonly DependencyProperty ColumnsProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetColumns(DependencyObject)
Gets the Columns property.
Declaration
public static INotifyCollectionChanged GetColumns(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
|
Returns
System.Collections.Specialized.INotifyCollectionChanged
|
SetColumns(DependencyObject, INotifyCollectionChanged)
Sets the Columns property.
Declaration
public static void SetColumns(DependencyObject dependencyObject, INotifyCollectionChanged columns)
Parameters
System.Windows.DependencyObject
dependencyObject
|
System.Collections.Specialized.INotifyCollectionChanged
columns
|
Transfer(IList, IList)
Transfers the items from the source to the target collection.
Declaration
public static void Transfer(IList source, IList target)
Parameters
System.Collections.IList
source
|
System.Collections.IList
target
|