C# 클래스 Ushahidi.Common.Controls.ScrollListBox

파일 보기 프로젝트 열기: ushahidi/Ushahidi_WinMobile

공개 메소드들

메소드 설명
Add ( Control control ) : void

Add new item

Add ( Control control, bool refresh ) : void

Add new items

AdjustHeight ( ) : void

Adjust height of list box to fit bottom of last item

Clear ( ) : void

Clear all items

Dispose ( ) : void

Dispose of resources

Focus ( ) : bool

Focus on list, if nothing currently selected, then select first item

GetAbsoluteY ( int y, Control source, Control root ) : int

Get the absolute Y position

Invalidate ( ) : void

Invalidate

Refresh ( ) : void

Refresh

Remove ( Control control ) : void

Remove an item

ScrollListBox ( ) : System

Scroll List Box

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
EnhancedListBox_KeyDown ( object sender, KeyEventArgs e ) : void

Handle KeyDown of list box

GetSelectedIndex ( Control item ) : int

Get the selected index

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MaxBottom ( ControlCollection controls ) : int

Get the maximum bottom position of lowest control

OnItemClick ( object sender, EventArgs e ) : void

Upon single click, fire IndexChanged event

OnItemDoubleClick ( object sender, EventArgs e ) : void

Upon DoubleClick, fire ItemSelected event

OnItemSelected ( Control item ) : void

Fire ItemSelected event, if handler is registered

메소드 상세

Add() 공개 메소드

Add new item
public Add ( Control control ) : void
control Control item to add
리턴 void

Add() 공개 메소드

Add new items
public Add ( Control control, bool refresh ) : void
control Control item to add
refresh bool should refresh list?
리턴 void

AdjustHeight() 공개 메소드

Adjust height of list box to fit bottom of last item
public AdjustHeight ( ) : void
리턴 void

Clear() 공개 메소드

Clear all items
public Clear ( ) : void
리턴 void

Dispose() 공개 메소드

Dispose of resources
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

Focus() 공개 메소드

Focus on list, if nothing currently selected, then select first item
public Focus ( ) : bool
리턴 bool

GetAbsoluteY() 공개 정적인 메소드

Get the absolute Y position
public static GetAbsoluteY ( int y, Control source, Control root ) : int
y int the mouse Y
source Control source control
root Control root control
리턴 int

Invalidate() 공개 메소드

Invalidate
public Invalidate ( ) : void
리턴 void

Refresh() 공개 메소드

Refresh
public Refresh ( ) : void
리턴 void

Remove() 공개 메소드

Remove an item
public Remove ( Control control ) : void
control Control list box item to remove
리턴 void

ScrollListBox() 공개 메소드

Scroll List Box
public ScrollListBox ( ) : System
리턴 System