C# Class System.Windows.Forms.ListBox

Inheritance: ListControl
Mostrar archivo Open project: Clancey/MonoMac.Windows.Form Class Usage Examples

Public Properties

Property Type Description
colString NSString
column NSTableColumn

Private Properties

Property Type Description
AddItemsCore void
CalculateTabStops void
CollectionChanged void
DrawItemInternal void
GetItemDisplayRectangle System.Drawing.Rectangle
GetScaledBounds System.Drawing.Rectangle
IndexAtClientPoint int
InvalidateItem void
IsInputCharInternal bool
KeySearch bool
LastVisibleItem int
LayoutListBox void
LayoutMultiColumn void
LayoutSingleColumn void
OnDragDropEnd void
OnGotFocus void
OnItemClick void
OnKeyUpLB void
OnLostFocus void
OnMouseMoveLB void
OnMouseUpLB void
OnPaintInternal void
OnUIAFocusedItemChangedEvent void
OnUIASelectionModeChangedEvent void
SelectExtended void
SelectedItemFromNavigation void
ShiftSelection void
SnapHeightToIntegral int
UpdateListBoxBounds void
UpdateScrollBars void
UpdateTopItem void
refresh void

Public Methods

Method Description
BeginUpdate ( ) : void
ClearSelected ( ) : void
EndUpdate ( ) : void
EnsureVisible ( int index ) : void
FindString ( String s ) : int
FindString ( string s, int startIndex ) : int
FindStringExact ( string s ) : int
FindStringExact ( string s, int startIndex ) : int
GetItemHeight ( int index ) : int
GetItemRectangle ( int index ) : Rectangle
GetSelected ( int index ) : bool
IndexFromPoint ( Point p ) : int
IndexFromPoint ( int x, int y ) : int
ListBox ( ) : System
Refresh ( ) : void
ResetBackColor ( ) : void
ResetForeColor ( ) : void
SetNeedsDisplay ( ) : void
SetSelected ( int index, bool value ) : void
SetupColumn ( ) : void
SetupTable ( ) : void
Sort ( bool paint ) : void
ToString ( ) : string

Protected Methods

Method Description
CreateHandle ( ) : void
CreateItemCollection ( ) : ObjectCollection
OnChangeUICues ( System.Windows.Forms.UICuesEventArgs e ) : void
OnDataSourceChanged ( EventArgs e ) : void
OnDisplayMemberChanged ( EventArgs e ) : void
OnDrawItem ( DrawItemEventArgs e ) : void
OnFontChanged ( EventArgs e ) : void
OnHandleCreated ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnMeasureItem ( System.Windows.Forms.MeasureItemEventArgs e ) : void
OnParentChanged ( EventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSelectedIndexChanged ( EventArgs e ) : void
OnSelectedValueChanged ( EventArgs e ) : void
RefreshItem ( int index ) : void
RefreshItems ( ) : void
ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
SetItemCore ( int index, object value ) : void
SetItemsCore ( IList value ) : void
Sort ( ) : void

Private Methods

Method Description
AddItemsCore ( object value ) : void
CalculateTabStops ( ) : void
CollectionChanged ( ) : void
DrawItemInternal ( DrawItemEventArgs e ) : void
GetItemDisplayRectangle ( int index, int first_displayble ) : Rectangle
GetScaledBounds ( Rectangle bounds, SizeF factor, BoundsSpecified specified ) : Rectangle
IndexAtClientPoint ( int x, int y ) : int
InvalidateItem ( int index ) : void
IsInputCharInternal ( char charCode ) : bool
KeySearch ( Keys key ) : bool
LastVisibleItem ( ) : int
LayoutListBox ( ) : void
LayoutMultiColumn ( ) : void
LayoutSingleColumn ( ) : void
OnDragDropEnd ( DragDropEffects effects ) : void
OnGotFocus ( object sender, EventArgs e ) : void
OnItemClick ( int index ) : void
OnKeyUpLB ( object sender, KeyEventArgs e ) : void
OnLostFocus ( object sender, EventArgs e ) : void
OnMouseMoveLB ( object sender, MouseEventArgs e ) : void
OnMouseUpLB ( object sender, MouseEventArgs e ) : void
OnPaintInternal ( PaintEventArgs pevent ) : void
OnUIAFocusedItemChangedEvent ( ) : void
OnUIASelectionModeChangedEvent ( ) : void
SelectExtended ( int index ) : void
SelectedItemFromNavigation ( int index ) : void
ShiftSelection ( int index ) : void
SnapHeightToIntegral ( int height ) : int
UpdateListBoxBounds ( ) : void
UpdateScrollBars ( ) : void
UpdateTopItem ( ) : void
refresh ( ) : void

Method Details

BeginUpdate() public method

public BeginUpdate ( ) : void
return void

ClearSelected() public method

public ClearSelected ( ) : void
return void

CreateHandle() protected method

protected CreateHandle ( ) : void
return void

CreateItemCollection() protected method

protected CreateItemCollection ( ) : ObjectCollection
return ObjectCollection

EndUpdate() public method

public EndUpdate ( ) : void
return void

EnsureVisible() public method

public EnsureVisible ( int index ) : void
index int
return void

FindString() public method

public FindString ( String s ) : int
s String
return int

FindString() public method

public FindString ( string s, int startIndex ) : int
s string
startIndex int
return int

FindStringExact() public method

public FindStringExact ( string s ) : int
s string
return int

FindStringExact() public method

public FindStringExact ( string s, int startIndex ) : int
s string
startIndex int
return int

GetItemHeight() public method

public GetItemHeight ( int index ) : int
index int
return int

GetItemRectangle() public method

public GetItemRectangle ( int index ) : Rectangle
index int
return System.Drawing.Rectangle

GetSelected() public method

public GetSelected ( int index ) : bool
index int
return bool

IndexFromPoint() public method

public IndexFromPoint ( Point p ) : int
p Point
return int

IndexFromPoint() public method

public IndexFromPoint ( int x, int y ) : int
x int
y int
return int

ListBox() public method

public ListBox ( ) : System
return System

OnChangeUICues() protected method

protected OnChangeUICues ( System.Windows.Forms.UICuesEventArgs e ) : void
e System.Windows.Forms.UICuesEventArgs
return void

OnDataSourceChanged() protected method

protected OnDataSourceChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnDisplayMemberChanged() protected method

protected OnDisplayMemberChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnDrawItem() protected method

protected OnDrawItem ( DrawItemEventArgs e ) : void
e DrawItemEventArgs
return void

OnFontChanged() protected method

protected OnFontChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnHandleCreated() protected method

protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
return void

OnHandleDestroyed() protected method

protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
return void

OnMeasureItem() protected method

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

OnParentChanged() protected method

protected OnParentChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnSelectedIndexChanged() protected method

protected OnSelectedIndexChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnSelectedValueChanged() protected method

protected OnSelectedValueChanged ( EventArgs e ) : void
e System.EventArgs
return void

Refresh() public method

public Refresh ( ) : void
return void

RefreshItem() protected method

protected RefreshItem ( int index ) : void
index int
return void

RefreshItems() protected method

protected RefreshItems ( ) : void
return void

ResetBackColor() public method

public ResetBackColor ( ) : void
return void

ResetForeColor() public method

public ResetForeColor ( ) : void
return void

ScaleControl() protected method

protected ScaleControl ( SizeF factor, BoundsSpecified specified ) : void
factor System.Drawing.SizeF
specified BoundsSpecified
return void

SetBoundsCore() protected method

protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int
y int
width int
height int
specified BoundsSpecified
return void

SetItemCore() protected method

protected SetItemCore ( int index, object value ) : void
index int
value object
return void

SetItemsCore() protected method

protected SetItemsCore ( IList value ) : void
value IList
return void

SetNeedsDisplay() public method

public SetNeedsDisplay ( ) : void
return void

SetSelected() public method

public SetSelected ( int index, bool value ) : void
index int
value bool
return void

SetupColumn() public method

public SetupColumn ( ) : void
return void

SetupTable() public method

public SetupTable ( ) : void
return void

Sort() protected method

protected Sort ( ) : void
return void

Sort() public method

public Sort ( bool paint ) : void
paint bool
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

colString public_oe property

public NSString colString
return NSString

column public_oe property

public NSTableColumn column
return NSTableColumn