C# Class SIL.FieldWorks.Common.Widgets.InnerFwListBox

InnerFwListBox implements the main body of an FwListBox.
Inheritance: SIL.FieldWorks.Common.RootSites.SimpleRootSite
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_cacheDa IVwCacheDa
m_dataAccess ISilDataAccess
m_owner FwListBox
m_writingSystem int

Private Properties

Property Type Description
HandleListItemSelect void
InnerFwListBox System

Public Methods

Method Description
GetAvailWidth ( IVwRootBox prootb ) : int
IsHighlighted ( int index ) : bool
MakeRoot ( ) : void

Create the root box and initialize it.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

HighlightFromMouse ( Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyPress ( KeyPressEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void

While tracking, we move the highlight as the mouse moves.

OnMouseUp ( MouseEventArgs e ) : void

Private Methods

Method Description
HandleListItemSelect ( ) : void
InnerFwListBox ( FwListBox owner ) : System

Constructor

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetAvailWidth() public method

public GetAvailWidth ( IVwRootBox prootb ) : int
prootb IVwRootBox
return int

HighlightFromMouse() protected method

protected HighlightFromMouse ( Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot ) : void
pt Point
rcSrcRoot System.Drawing.Rectangle
rcDstRoot System.Drawing.Rectangle
return void

IsHighlighted() public method

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

MakeRoot() public method

Create the root box and initialize it.
public MakeRoot ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

OnKeyPress() protected method

protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs
return void

OnMouseMove() protected method

While tracking, we move the highlight as the mouse moves.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

Property Details

m_cacheDa protected property

protected IVwCacheDa m_cacheDa
return IVwCacheDa

m_dataAccess protected property

protected ISilDataAccess m_dataAccess
return ISilDataAccess

m_owner protected property

protected FwListBox,SIL.FieldWorks.Common.Widgets m_owner
return FwListBox

m_writingSystem protected property

protected int m_writingSystem
return int