Inherits GridViewDataColumn and contains buttons, one per row.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCommandColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewCommandColumn...
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewCommandColumn.
public GridViewCommandColumn()
Initializes a new instance of the GridViewCommandColumn.
Initializes a new instance of the GridViewCommandColumn.
public GridViewCommandColumn(string fieldName)
A string value referring to the unique name of the column.
Fields
public static RadProperty DefaultTextProperty
public static RadProperty ImageAlignmentProperty
public static RadProperty ImageProperty
public static RadProperty UseDefaultTextProperty
Properties
Gets or sets a value indicating whether the user can filter by this column.
[Browsable(true)]
public override bool AllowFiltering { get; set; }
Overrides:
[Browsable(true)]
public override bool AllowGroup { get; set; }
Overrides:
This property is overriden to always return false since grouping by this column is not allowed.
Gets or sets a value indicating whether the user can search by this column.
[Browsable(true)]
public override bool AllowSearching { get; set; }
Overrides:
Gets or sets the default text displayed on the button cell.
[Browsable(true)]
public virtual string DefaultText { get; set; }
Gets or sets the default text displayed on the button cell.
[Browsable(true)]
[TypeConverter(typeof(ImageTypeConverter))]
public Image Image { get; set; }
Gets or sets the image layout of the image inside the cells.
[Browsable(false)]
public virtual ContentAlignment ImageAlignment { get; set; }
[Browsable(true)]
public override bool ReadOnly { get; set; }
Overrides:
This property is overriden to always return true since Command column cannot be edited.
Gets or sets a value indicating whether the default text or the value as text will appear on the button displayed by the cell.
[Browsable(true)]
public bool UseDefaultText { get; set; }
Methods
Gets the type of the cell.
public override Type GetCellType(GridViewRowInfo row)
The row.
Returns:Overrides:
public override string GetDefaultGroupByExpression()
string.Empty
Overrides:
Grouping by this type of column cannot be performed. That method returns string.empty