C# 클래스 ZForge.Controls.XPTable.Editors.TextCellEditor

A class for editing Cells that contain strings
상속: CellEditor
파일 보기 프로젝트 열기: zhuangyy/Motion

공개 메소드들

메소드 설명
CancelEditing ( ) : void

Stops editing the Cell and ignores any changes

StartEditing ( ) : void

Starts editing the Cell

StopEditing ( ) : void

Stops editing the Cell and commits any changes

TextCellEditor ( ) : System

Initializes a new instance of the TextCellEditor class with default settings

보호된 메소드들

메소드 설명
OnKeyPress ( object sender, KeyPressEventArgs e ) : void

Handler for the editors TextBox.KeyPress event

OnLostFocus ( object sender, EventArgs e ) : void

Handler for the editors TextBox.LostFocus event

SetCellValue ( ) : void

Sets the contents of the Cell being edited based on the value in the editor

SetEditLocation ( Rectangle cellRect ) : void

Sets the location and size of the CellEditor

SetEditValue ( ) : void

Sets the initial value of the editor based on the contents of the Cell being edited

메소드 상세

CancelEditing() 공개 메소드

Stops editing the Cell and ignores any changes
public CancelEditing ( ) : void
리턴 void

OnKeyPress() 보호된 메소드

Handler for the editors TextBox.KeyPress event
protected OnKeyPress ( object sender, KeyPressEventArgs e ) : void
sender object The object that raised the event
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data
리턴 void

OnLostFocus() 보호된 메소드

Handler for the editors TextBox.LostFocus event
protected OnLostFocus ( object sender, EventArgs e ) : void
sender object The object that raised the event
e System.EventArgs An EventArgs that contains the event data
리턴 void

SetCellValue() 보호된 메소드

Sets the contents of the Cell being edited based on the value in the editor
protected SetCellValue ( ) : void
리턴 void

SetEditLocation() 보호된 메소드

Sets the location and size of the CellEditor
protected SetEditLocation ( Rectangle cellRect ) : void
cellRect System.Drawing.Rectangle A Rectangle that represents the size and location /// of the Cell being edited
리턴 void

SetEditValue() 보호된 메소드

Sets the initial value of the editor based on the contents of the Cell being edited
protected SetEditValue ( ) : void
리턴 void

StartEditing() 공개 메소드

Starts editing the Cell
public StartEditing ( ) : void
리턴 void

StopEditing() 공개 메소드

Stops editing the Cell and commits any changes
public StopEditing ( ) : void
리턴 void

TextCellEditor() 공개 메소드

Initializes a new instance of the TextCellEditor class with default settings
public TextCellEditor ( ) : System
리턴 System