Class GridViewCellInfo
Represents a data cell in RadGridView
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewCellInfo : IEquatable<GridViewCellInfo>
Constructors
GridViewCellInfo(GridViewRowInfo, GridViewColumn, GridViewCellInfoCollection)
Initializes a new instance of the GridViewCellInfo class.
Declaration
public GridViewCellInfo(GridViewRowInfo row, GridViewColumn column, GridViewCellInfoCollection owner)
Parameters
GridViewRowInfo
row
The row. |
GridViewColumn
column
The column. |
GridViewCellInfoCollection
owner
The owner. |
Properties
ColumnInfo
Gets the column info associated with this cell
Declaration
public GridViewColumn ColumnInfo { get; }
Property Value
GridViewColumn
The column info. |
ErrorText
Gets or sets the error text which should appear when the data is not correct
Declaration
public string ErrorText { get; set; }
Property Value
System.String
The error text. |
HasStyle
Gets a value indicating whether this instance has style.
Declaration
public bool HasStyle { get; }
Property Value
System.Boolean
|
IsCurrent
Gets a value indicating whether this instance is current.
Declaration
public bool IsCurrent { get; }
Property Value
System.Boolean
|
IsSelected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
System.Boolean
|
ReadOnly
Gets or sets a value indicating whether [read only].
Declaration
public bool ReadOnly { get; set; }
Property Value
System.Boolean
|
RowInfo
Gets the row associated with this cell
Declaration
public GridViewRowInfo RowInfo { get; }
Property Value
GridViewRowInfo
The row info. |
Style
Gets the style of the cell
Declaration
public GridViewCellStyle Style { get; }
Property Value
GridViewCellStyle
The style. |
Tag
Tag object that can be used to store user data, corresponding to the cell.
Declaration
public object Tag { get; set; }
Property Value
System.Object
|
Value
Gets or sets the value.
Declaration
public object Value { get; set; }
Property Value
System.Object
The value. |
ViewInfo
Gets the view info where the cell appears
Declaration
public GridViewInfo ViewInfo { get; }
Property Value
GridViewInfo
The view info. |
ViewTemplate
Gets the view template.
Declaration
public GridViewTemplate ViewTemplate { get; }
Property Value
GridViewTemplate
The view template. |
Methods
BeginEdit()
Brings the cell in edit mode
Declaration
public void BeginEdit()
EndEdit()
Commits the edited cell
Declaration
public void EndEdit()
EnsureVisible()
Ensures that the cell is visible.
Declaration
public void EnsureVisible()
Equals(Object)
Determines whether the specified System.Object is equal to the current System.Object.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The object to compare with the current object. |
Returns
System.Boolean
true if the specified System.Object is equal to the current System.Object; otherwise, false. |
Overrides
Equals(GridViewCellInfo)
Determines whether the specified cell is equal to the current one.
Declaration
public bool Equals(GridViewCellInfo cellInfo)
Parameters
GridViewCellInfo
cellInfo
The cell info. |
Returns
System.Boolean
|
Implements
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for the current System.Object. |