C# 클래스 XRefresh.ProjectTypeCellEditor

A class for editing Cells that look like a ComboBox
상속: XPTable.Editors.DropDownCellEditor
파일 보기 프로젝트 열기: binaryage/xrefresh 1 사용 예제들

공개 메소드들

메소드 설명
CancelEditing ( ) : void

Stops editing the Cell and ignores any changes

ProjectTypeCellEditor ( ImageList images ) : System

Initializes a new instance of the ComboBoxCellEditor class with default settings

StartEditing ( ) : void

Starts editing the Cell

StopEditing ( ) : void

Stops editing the Cell and commits any changes

UpdateDropDownSize ( ) : void

보호된 메소드들

메소드 설명
HideDropDown ( ) : void
OnDrawItem ( DrawItemEventArgs e ) : void

Raises the DrawItem event

OnKeyDown ( object sender, KeyEventArgs e ) : void

Handler for the editors TextBox.KeyDown and ListBox.KeyDown events

OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void

Raises the MeasureItem event

OnMouseWheel ( object sender, MouseEventArgs e ) : void

Handler for the editors TextBox.MouseWheel event

OnSelectedIndexChanged ( EventArgs e ) : void

Raises the SelectedIndexChanged 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

ShowDropDown ( ) : void

Displays the drop down portion to the user

비공개 메소드들

메소드 설명
HideCaret ( IntPtr hWnd ) : bool
OpenCustomTypeDialog ( Model folder ) : void
TextBox_HideCarret ( object sender, EventArgs e ) : void
TextBox_HideCarretM ( object sender, MouseEventArgs e ) : void
listbox_Click ( object sender, EventArgs e ) : void

Handler for the editors ListBox.Click event

listbox_DrawItem ( object sender, DrawItemEventArgs e ) : void

Handler for the editors ListBox.DrawItem event

listbox_MeasureItem ( object sender, System.Windows.Forms.MeasureItemEventArgs e ) : void

Handler for the editors ListBox.MeasureItem event

listbox_MouseEnter ( object sender, EventArgs e ) : void

Handler for the editors ListBox.MouseEnter event

listbox_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handler for the editors ListBox.SelectedIndexChanged event

메소드 상세

CancelEditing() 공개 메소드

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

HideDropDown() 보호된 메소드

protected HideDropDown ( ) : void
리턴 void

OnDrawItem() 보호된 메소드

Raises the DrawItem event
protected OnDrawItem ( DrawItemEventArgs e ) : void
e System.Windows.Forms.DrawItemEventArgs A DrawItemEventArgs that contains the event data
리턴 void

OnKeyDown() 보호된 메소드

Handler for the editors TextBox.KeyDown and ListBox.KeyDown events
protected OnKeyDown ( object sender, KeyEventArgs e ) : void
sender object The object that raised the event
e System.Windows.Forms.KeyEventArgs A KeyEventArgs that contains the event data
리턴 void

OnMeasureItem() 보호된 메소드

Raises the MeasureItem event
protected OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
e System.Windows.Forms.MeasureItemEventArgs A MeasureItemEventArgs that contains the event data
리턴 void

OnMouseWheel() 보호된 메소드

Handler for the editors TextBox.MouseWheel event
protected OnMouseWheel ( object sender, MouseEventArgs e ) : void
sender object The object that raised the event
e MouseEventArgs A MouseEventArgs that contains the event data
리턴 void

OnSelectedIndexChanged() 보호된 메소드

Raises the SelectedIndexChanged event
protected OnSelectedIndexChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void

ProjectTypeCellEditor() 공개 메소드

Initializes a new instance of the ComboBoxCellEditor class with default settings
public ProjectTypeCellEditor ( ImageList images ) : System
images System.Windows.Forms.ImageList
리턴 System

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

ShowDropDown() 보호된 메소드

Displays the drop down portion to the user
protected ShowDropDown ( ) : void
리턴 void

StartEditing() 공개 메소드

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

StopEditing() 공개 메소드

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

UpdateDropDownSize() 공개 메소드

public UpdateDropDownSize ( ) : void
리턴 void