DataGridTextCell Class

Represents a cell which prints textual outupt.

Definition

Namespace: BeeMobile.DataGrid
Assembly: BeeMobile.DataGrid.NET48 (in BeeMobile.DataGrid.NET48.dll) Version: 4.8.1.19
C#
public class DataGridTextCell : DataGridCell, 
	IDisposable, IFormattable
Inheritance
Object    DataGridCell    DataGridTextCell
Derived
Implements
IDisposable, IFormattable

Remarks

Textual output is string and anything that can be reasonably converted to string, such as Int32, Double, DateTime etc.

Constructors

DataGridTextCell Creates a new DataGridTextCell object.
DataGridTextCell(Int32, Int32) Creates a new DataGridTextCell object with specified row index and column index.

Properties

ColumnNumber Gets or sets the number of a column in the DataGrid control.
(Inherited from DataGridCell)
DisposeFont Set to true if you wish the Dispose method to dispose the Font; false otherwise.
Font Gets or sets the Font.
RowNumber Gets or sets the number of a row in the DataGrid control.
(Inherited from DataGridCell)

Methods

Clone Creates a clone (deep copy) of the current DataGridTextCell instance.
(Overrides DataGridCellClone)
Dispose Clean up any resources being used.
Dispose(Boolean) Disposes all resources used by an object of this class.
Draw Draws the contents of the cell.
(Overrides DataGridCellDraw(Graphics, Rectangle, Color, DataGridColumn))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Destructs this object by calling its Dispose(Boolean) method.
(Overrides ObjectFinalize)
FitColumnWidthToContent Fits the width of column to the contect of the cell.
(Overrides DataGridCellFitColumnWidthToContent(Graphics, DataGridColumn, Int32))
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue Gets the value of this cell.
(Inherited from DataGridCell)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ResetColumnNumber Sets the ColumnNumber to the default value.
(Inherited from DataGridCell)
ResetRowNumber Sets the RowNumber to the default value.
(Inherited from DataGridCell)
SetValue Set the value for this cell.
(Inherited from DataGridCell)
ShouldSerializeColumnNumber Indicates whether the ColumnNumber property should be serialized by Visual Studio designer.
(Inherited from DataGridCell)
ShouldSerializeRowNumber Indicates whether the RowNumber property should be serialized by Visual Studio designer.
(Inherited from DataGridCell)
ToString Returns the string representation of the data in this cell.
(Overrides DataGridCellToString)
ToString(String, IFormatProvider) Formats the value of this cell with specified format and format provider.

Fields

KDefaultFontName Specifies the default font name.
KDefaultFontSize Specifies the default font size.
KDefaultFontStyle Specifies the default font style.
m_Value Value of this cell.
(Inherited from DataGridCell)

See Also