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

Contains data needed to handle the ColumnWidthChanging event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

C#
public class ColumnWidthChangingEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsColumnWidthChangingEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the ColumnWidthChangingEventArgs class.

C#
public ColumnWidthChangingEventArgs(RoutedEvent routedEvent, GridViewColumn column, GridViewLength originalWidth, GridViewLength horizontalChange)
Parameters:routedEventRoutedEvent

The routed event.

columnGridViewColumn

The column.

originalWidthGridViewLength

Original Width of the column.

horizontalChangeGridViewLength

The new width.

Properties

Gets or sets the column that is being resized.

C#
public GridViewColumn Column { get; }
Property Value:

The column.

Gets or sets the width of the horizontal change.

C#
public GridViewLength HorizontalChangeWidth { get; }
Property Value:

The width of the horizontal change - positive if width increases, otherwise - negative.

Gets or sets the original width of the column.

C#
public GridViewLength OriginalWidth { get; }
Property Value:

The original width.