C# Class SidebarLibrary.WinControls.OutlookBar

Inheritance: System.Windows.Forms.Control
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
AnimateScroll void
ContextMenuPopup void
CreateContextMenu void
DrawArrowButton void
DrawArrowButtons void
DrawBackground void
DrawBandBitmap void
DrawBorder void
DrawDropLine void
DrawFlatArrowButton void
DrawHeader void
DrawHeaders void
DrawItem void
DrawItems void
FireItemClicked void
FireItemDropped void
FirePropertyChanged void
ForceHighlightItem void
GetHeaderRect System.Drawing.Rectangle
GetIconRect System.Drawing.Rectangle
GetIconSize System.Drawing.Size
GetItemSize System.Drawing.Size
GetLabelRect System.Drawing.Rectangle
GetLabelSize System.Drawing.Size
GetViewPortRect System.Drawing.Rectangle
GetVisibleRange void
GetWorkRect System.Drawing.Rectangle
HandleRecreated void
HasChild bool
HasChild bool
HighlightHeader void
HighlightItem void
OnContextMenu void
OnHighlightHeader void
OnPaint void
OnSizeChanged void
ProcessArrowScrolling void
ProcessHeaderHit void
ProcessItemHit void
ProcessTextBoxEditing void
RenameHeader void
RenameItem void
ScrollingTick void
SetCurrentBand void
TextBoxKeyDown void
TextBoxLostFocus void

Public Methods

Method Description
GetCurrentBand ( ) : int
GetItemRect ( Graphics g, OutlookBarBand band, int index, Rectangle targetRect ) : Rectangle
HitTest ( Point point, int &index, bool doingDragging ) : HitTestType
OutlookBar ( ) : System
PerformClick ( int index ) : void
ProcessOnMouseDown ( MouseEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnHandleCreated ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
WndProc ( Message &m ) : void

Private Methods

Method Description
AnimateScroll ( int From, int To ) : void
ContextMenuPopup ( object sender, EventArgs e ) : void
CreateContextMenu ( ) : void
DrawArrowButton ( Rectangle buttonRect, ButtonState state ) : void
DrawArrowButtons ( Graphics g ) : void
DrawBackground ( Graphics g ) : void
DrawBandBitmap ( IntPtr hDC, OutlookBarBand band, int bandIndex, Rectangle drawingRect ) : void
DrawBorder ( Graphics g ) : void
DrawDropLine ( Graphics g, int index, bool drawLine, HitTestType hit ) : void
DrawFlatArrowButton ( Graphics g, Rectangle rc, bool up, DrawState state ) : void
DrawHeader ( Graphics g, int index, Rectangle rc, Border3DStyle style ) : void
DrawHeaders ( Graphics g ) : void
DrawItem ( Graphics g, int index, Rectangle itemRect, bool hot, bool pressed, Rectangle targetRect, OutlookBarBand drawingBand ) : void
DrawItems ( Graphics g, Rectangle targetRect, OutlookBarBand drawBand ) : void
FireItemClicked ( int index ) : void
FireItemDropped ( int index ) : void
FirePropertyChanged ( OutlookBarProperty property ) : void
ForceHighlightItem ( Graphics g, int index ) : void
GetHeaderRect ( int index ) : Rectangle
GetIconRect ( int index ) : Rectangle
GetIconSize ( OutlookBarBand band ) : Size
GetItemSize ( Graphics g, OutlookBarBand band, int itemIndex, ItemSizeType itemSizeType ) : Size
GetLabelRect ( int index ) : Rectangle
GetLabelSize ( Graphics g, OutlookBarBand band, int itemIndex ) : Size
GetViewPortRect ( ) : Rectangle
GetVisibleRange ( Graphics g, int &first, int &last ) : void
GetWorkRect ( ) : Rectangle
HandleRecreated ( object sender, EventArgs e ) : void
HasChild ( ) : bool
HasChild ( int index ) : bool
HighlightHeader ( int index ) : void
HighlightItem ( int index, bool pressed ) : void
OnContextMenu ( object sender, EventArgs e ) : void
OnHighlightHeader ( Object timeObject, EventArgs eventArgs ) : void
OnPaint ( PaintEventArgs pe ) : void
OnSizeChanged ( EventArgs e ) : void
ProcessArrowScrolling ( Rectangle arrowButton, bool &arrowVisible, bool &arrowPressed, bool &timerTicking ) : void
ProcessHeaderHit ( int index ) : void
ProcessItemHit ( int index, Point pt ) : void
ProcessTextBoxEditing ( ) : void
RenameHeader ( ) : void
RenameItem ( ) : void
ScrollingTick ( Object timeObject, EventArgs eventArgs ) : void
SetCurrentBand ( int index ) : void
TextBoxKeyDown ( object sender, KeyEventArgs e ) : void
TextBoxLostFocus ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetCurrentBand() public method

public GetCurrentBand ( ) : int
return int

GetItemRect() public method

public GetItemRect ( Graphics g, OutlookBarBand band, int index, Rectangle targetRect ) : Rectangle
g System.Drawing.Graphics
band OutlookBarBand
index int
targetRect System.Drawing.Rectangle
return System.Drawing.Rectangle

HitTest() public method

public HitTest ( Point point, int &index, bool doingDragging ) : HitTestType
point Point
index int
doingDragging bool
return HitTestType

OnHandleCreated() protected method

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

OnMouseDown() protected method

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

OnMouseMove() protected method

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

OutlookBar() public method

public OutlookBar ( ) : System
return System

PerformClick() public method

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

ProcessOnMouseDown() public method

public ProcessOnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

WndProc() protected method

protected WndProc ( Message &m ) : void
m System.Windows.Forms.Message
return void