C# Class System.Windows.Forms.DataGridViewTextBoxCell

Inheritance: System.Windows.Forms.DataGridViewCell
Afficher le fichier Open project: kumpera/mono Class Usage Examples

Private Properties

Свойство Type Description
CreateEditingControl void
DetachEditingControl void

Méthodes publiques

Méthode Description
Clone ( ) : object
DataGridViewTextBoxCell ( ) : System
InitializeEditingControl ( int rowIndex, object initialFormattedValue, System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
KeyEntersEditMode ( KeyEventArgs e ) : bool
PositionEditingControl ( bool setLocation, bool setSize, Rectangle cellBounds, Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow ) : void
ToString ( ) : string

Méthodes protégées

Méthode Description
GetContentBounds ( Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex ) : Rectangle
GetErrorIconBounds ( Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex ) : Rectangle
GetPreferredSize ( Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, Size constraintSize ) : Size
OnEnter ( int rowIndex, bool throughMouseClick ) : void
OnLeave ( int rowIndex, bool throughMouseClick ) : void
OnMouseClick ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void

Private Methods

Méthode Description
CreateEditingControl ( ) : void
DetachEditingControl ( ) : void

Method Details

Clone() public méthode

public Clone ( ) : object
Résultat object

DataGridViewTextBoxCell() public méthode

public DataGridViewTextBoxCell ( ) : System
Résultat System

GetContentBounds() protected méthode

protected GetContentBounds ( Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex ) : Rectangle
graphics System.Drawing.Graphics
cellStyle System.Windows.Forms.DataGridViewCellStyle
rowIndex int
Résultat System.Drawing.Rectangle

GetErrorIconBounds() protected méthode

protected GetErrorIconBounds ( Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex ) : Rectangle
graphics System.Drawing.Graphics
cellStyle System.Windows.Forms.DataGridViewCellStyle
rowIndex int
Résultat System.Drawing.Rectangle

GetPreferredSize() protected méthode

protected GetPreferredSize ( Graphics graphics, System.Windows.Forms.DataGridViewCellStyle cellStyle, int rowIndex, Size constraintSize ) : Size
graphics System.Drawing.Graphics
cellStyle System.Windows.Forms.DataGridViewCellStyle
rowIndex int
constraintSize System.Drawing.Size
Résultat System.Drawing.Size

InitializeEditingControl() public méthode

public InitializeEditingControl ( int rowIndex, object initialFormattedValue, System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle ) : void
rowIndex int
initialFormattedValue object
dataGridViewCellStyle System.Windows.Forms.DataGridViewCellStyle
Résultat void

KeyEntersEditMode() public méthode

public KeyEntersEditMode ( KeyEventArgs e ) : bool
e KeyEventArgs
Résultat bool

OnEnter() protected méthode

protected OnEnter ( int rowIndex, bool throughMouseClick ) : void
rowIndex int
throughMouseClick bool
Résultat void

OnLeave() protected méthode

protected OnLeave ( int rowIndex, bool throughMouseClick ) : void
rowIndex int
throughMouseClick bool
Résultat void

OnMouseClick() protected méthode

protected OnMouseClick ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
e System.Windows.Forms.DataGridViewCellMouseEventArgs
Résultat void

Paint() protected méthode

protected Paint ( Graphics graphics, Rectangle clipBounds, Rectangle cellBounds, int rowIndex, DataGridViewElementStates cellState, object value, object formattedValue, string errorText, System.Windows.Forms.DataGridViewCellStyle cellStyle, System.Windows.Forms.DataGridViewAdvancedBorderStyle advancedBorderStyle, DataGridViewPaintParts paintParts ) : void
graphics System.Drawing.Graphics
clipBounds System.Drawing.Rectangle
cellBounds System.Drawing.Rectangle
rowIndex int
cellState DataGridViewElementStates
value object
formattedValue object
errorText string
cellStyle System.Windows.Forms.DataGridViewCellStyle
advancedBorderStyle System.Windows.Forms.DataGridViewAdvancedBorderStyle
paintParts DataGridViewPaintParts
Résultat void

PositionEditingControl() public méthode

public PositionEditingControl ( bool setLocation, bool setSize, Rectangle cellBounds, Rectangle cellClip, System.Windows.Forms.DataGridViewCellStyle cellStyle, bool singleVerticalBorderAdded, bool singleHorizontalBorderAdded, bool isFirstDisplayedColumn, bool isFirstDisplayedRow ) : void
setLocation bool
setSize bool
cellBounds System.Drawing.Rectangle
cellClip System.Drawing.Rectangle
cellStyle System.Windows.Forms.DataGridViewCellStyle
singleVerticalBorderAdded bool
singleHorizontalBorderAdded bool
isFirstDisplayedColumn bool
isFirstDisplayedRow bool
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string