C# 클래스 Xwt.ListBox

상속: Xwt.Widget
파일 보기 프로젝트 열기: TheBrainTech/xwt 1 사용 예제들

Private Properties

프로퍼티 타입 설명
HandleModelChanged void
OnCellChanged void
OnRowActivated void
OnSelectionChanged void

공개 메소드들

메소드 설명
GetRowAtPosition ( Point p ) : int

Returns the row at the given widget coordinates

GetRowAtPosition ( double x, double y ) : int

Returns the row at the given widget coordinates

GetRowBounds ( int row, bool includeMargin ) : Xwt.Rectangle

Gets the bounds of the given row.

ListBox ( ) : System
ScrollToRow ( int row ) : void
SelectAll ( ) : void

Selects all rows

SelectRow ( int row ) : void

Selects a row.

In single selection mode, the row will be selected and the previously selected row will be deselected. In multiple selection mode, the row will be added to the set of selected rows.

UnselectAll ( ) : void

Clears the selection

UnselectRow ( int row ) : void

Unselects a row.

보호된 메소드들

메소드 설명
CreateBackendHost ( ) : BackendHost

비공개 메소드들

메소드 설명
HandleModelChanged ( object sender, Xwt.ListRowEventArgs e ) : void
OnCellChanged ( ) : void
OnRowActivated ( Xwt.ListViewRowEventArgs a ) : void
OnSelectionChanged ( EventArgs args ) : void

메소드 상세

CreateBackendHost() 보호된 메소드

protected CreateBackendHost ( ) : BackendHost
리턴 BackendHost

GetRowAtPosition() 공개 메소드

Returns the row at the given widget coordinates
public GetRowAtPosition ( Point p ) : int
p Point A position, in widget coordinates
리턴 int

GetRowAtPosition() 공개 메소드

Returns the row at the given widget coordinates
public GetRowAtPosition ( double x, double y ) : int
x double The x coordinate.
y double The y coordinate.
리턴 int

GetRowBounds() 공개 메소드

Gets the bounds of the given row.
public GetRowBounds ( int row, bool includeMargin ) : Xwt.Rectangle
row int The row index.
includeMargin bool If set to true include margin (the background of the row).
리턴 Xwt.Rectangle

ListBox() 공개 메소드

public ListBox ( ) : System
리턴 System

ScrollToRow() 공개 메소드

public ScrollToRow ( int row ) : void
row int
리턴 void

SelectAll() 공개 메소드

Selects all rows
public SelectAll ( ) : void
리턴 void

SelectRow() 공개 메소드

Selects a row.
In single selection mode, the row will be selected and the previously selected row will be deselected. In multiple selection mode, the row will be added to the set of selected rows.
public SelectRow ( int row ) : void
row int /// a row. ///
리턴 void

UnselectAll() 공개 메소드

Clears the selection
public UnselectAll ( ) : void
리턴 void

UnselectRow() 공개 메소드

Unselects a row.
public UnselectRow ( int row ) : void
row int /// A row ///
리턴 void