Class GridViewImageColumn
The column presents Image objects
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewImageColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Constructors
GridViewImageColumn()
Initializes a new instance of the GridViewImageColumn.
Declaration
public GridViewImageColumn()
See Also
GridViewImageColumn(String)
Initializes a new instance of the GridViewImageColumn.
Declaration
public GridViewImageColumn(string fieldName)
Parameters
System.String
fieldName
A string value referring to the unique name of the column. |
See Also
GridViewImageColumn(String, String)
Initializes a new instance of the GridViewImageColumn.
Declaration
public GridViewImageColumn(string uniqueName, string fieldName)
Parameters
System.String
uniqueName
A string value referring to the unique name of the column. |
System.String
fieldName
A string value referring to the field name to which the column is bound. |
Fields
ImageAlignmentProperty
Properties
AllowFiltering
Gets or sets a value indicating whether the user can filter by this column.
Declaration
public override bool AllowFiltering { get; set; }
Property Value
System.Boolean
|
Overrides
AllowGroup
Declaration
public override bool AllowGroup { get; set; }
Property Value
System.Boolean
|
Overrides
Remarks
This property is overridden to always return false since grouping by this column is not allowed.
See Also
AllowSearching
Gets or sets a value indicating whether the user can search by this column.
Declaration
public override bool AllowSearching { get; set; }
Property Value
System.Boolean
|
Overrides
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
System.Type
|
Overrides
ImageAlignment
Gets or sets a value that specifies the position of the image in the cell.
Declaration
public virtual ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
ReadOnly
Declaration
public override bool ReadOnly { get; set; }
Property Value
System.Boolean
|
Overrides
Remarks
This property is overridden to always return true since this column cannot be edited.
See Also
Methods
GetCellType(GridViewRowInfo)
Returns the type of cell element to be created for the specified row.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
GridViewRowInfo
row
The specified row. |
Returns
System.Type
The type of the cell to be created. |
Overrides
GetDefaultGroupByExpression()
Declaration
public override string GetDefaultGroupByExpression()
Returns
System.String
string.Empty |
Overrides
Remarks
Grouping by this type of column cannot be performed. That method returns string.empty