C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonCaptionArea

Ribbon area that contains the context titles, minibar and top half of application button.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewDrawDocker
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
AppButtonChanged ( ) : void

Notify a change in the application button image.

AppButtonVisibleChanged ( ) : void

A change in the app button visibility needs to be processed.

DoesCurrentMouseDownEndAllTracking ( Point pt ) : bool

Should a mouse down at the provided point cause an end to popup tracking.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

HookToolTipHandling ( ) : void

Perform steps to generate a tooltip event when mouse is over the application button.

PerformFormChromeCheck ( ) : void

Redecide if the custom chrome and integration can occur.

QATButtonsChanged ( ) : void

Notification that the collection of QAT buttons has changed.

RedrawCustomChrome ( bool layout ) : void

Causes the custom chrome to be repainted.

ToString ( ) : string

Obtains the String representation of this instance.

UpdateQAT ( ) : void

Update display elements to reflect latest QAT setting.

UpdateVisible ( ) : void

Update the visible state of the caption area based on integration, app button, contexts and qat location.

ViewDrawRibbonCaptionArea ( KryptonRibbon ribbon, PaletteRedirect redirect, ViewDrawRibbonComposition compositionArea, NeedPaintHandler needPaintDelegate ) : System

Initialize a new instance of the ViewDrawRibbonCaptionArea class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

PerformNeedPaint ( bool needLayout ) : void

Fires a request to have painting/layout performed.

Private Methods

Method Description
CreateViewElements ( ) : void
OnAppButtonNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
OnFormChromeCheck ( object sender, EventArgs e ) : void
OnIntegratedNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
OnRibbonParentChanged ( object sender, EventArgs e ) : void
OnWindowActiveChanged ( object sender, EventArgs e ) : void
SetupParentMonitoring ( ) : void

Method Details

AppButtonChanged() public method

Notify a change in the application button image.
public AppButtonChanged ( ) : void
return void

AppButtonVisibleChanged() public method

A change in the app button visibility needs to be processed.
public AppButtonVisibleChanged ( ) : void
return void

Dispose() protected method

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

DoesCurrentMouseDownEndAllTracking() public method

Should a mouse down at the provided point cause an end to popup tracking.
public DoesCurrentMouseDownEndAllTracking ( Point pt ) : bool
pt Point Client coordinates point.
return bool

GetPreferredSize() public method

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
return System.Drawing.Size

HookToolTipHandling() public method

Perform steps to generate a tooltip event when mouse is over the application button.
public HookToolTipHandling ( ) : void
return void

PerformFormChromeCheck() public method

Redecide if the custom chrome and integration can occur.
public PerformFormChromeCheck ( ) : void
return void

PerformNeedPaint() protected method

Fires a request to have painting/layout performed.
protected PerformNeedPaint ( bool needLayout ) : void
needLayout bool Does the palette change require a layout.
return void

QATButtonsChanged() public method

Notification that the collection of QAT buttons has changed.
public QATButtonsChanged ( ) : void
return void

RedrawCustomChrome() public method

Causes the custom chrome to be repainted.
public RedrawCustomChrome ( bool layout ) : void
layout bool Is a layout required.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

UpdateQAT() public method

Update display elements to reflect latest QAT setting.
public UpdateQAT ( ) : void
return void

UpdateVisible() public method

Update the visible state of the caption area based on integration, app button, contexts and qat location.
public UpdateVisible ( ) : void
return void

ViewDrawRibbonCaptionArea() public method

Initialize a new instance of the ViewDrawRibbonCaptionArea class.
public ViewDrawRibbonCaptionArea ( KryptonRibbon ribbon, PaletteRedirect redirect, ViewDrawRibbonComposition compositionArea, NeedPaintHandler needPaintDelegate ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
redirect ComponentFactory.Krypton.Toolkit.PaletteRedirect Reference to redirector for palette settings.
compositionArea ViewDrawRibbonComposition Reference to the composition element.
needPaintDelegate NeedPaintHandler Delegate for notifying paint/layout changes.
return System