Class
ColumnSyncBehavior

Represents a class that synchronizes two collections of GridViewColumns.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class ColumnSyncBehavior

Inheritance: objectColumnSyncBehavior

Constructors

ColumnSyncBehavior(RadGridView, INotifyCollectionChanged)

Initializes a new instance of the ColumnSyncBehavior class.

Declaration

cs-api-definition
public ColumnSyncBehavior(RadGridView grid, INotifyCollectionChanged columns)

Parameters

grid

RadGridView

columns

INotifyCollectionChanged

Fields

ColumnsProperty

Represents the Columns attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnsProperty

Field Value

DependencyProperty

Methods

GetColumns(DependencyObject)

Gets the Columns property.

Declaration

cs-api-definition
public static INotifyCollectionChanged GetColumns(DependencyObject dependencyObject)

Parameters

dependencyObject

DependencyObject

Returns

INotifyCollectionChanged

SetColumns(DependencyObject, INotifyCollectionChanged)

Sets the Columns property.

Declaration

cs-api-definition
public static void SetColumns(DependencyObject dependencyObject, INotifyCollectionChanged columns)

Parameters

dependencyObject

DependencyObject

columns

INotifyCollectionChanged

Transfer(IList, IList)

Transfers the items from the source to the target collection.

Declaration

cs-api-definition
public static void Transfer(IList source, IList target)

Parameters

source

IList

target

IList