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
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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

Méthode 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 méthode

Notify a change in the application button image.
public AppButtonChanged ( ) : void
Résultat void

AppButtonVisibleChanged() public méthode

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

Dispose() protected méthode

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

DoesCurrentMouseDownEndAllTracking() public méthode

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

GetPreferredSize() public méthode

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

HookToolTipHandling() public méthode

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

PerformFormChromeCheck() public méthode

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

PerformNeedPaint() protected méthode

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

QATButtonsChanged() public méthode

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

RedrawCustomChrome() public méthode

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

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

UpdateQAT() public méthode

Update display elements to reflect latest QAT setting.
public UpdateQAT ( ) : void
Résultat void

UpdateVisible() public méthode

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

ViewDrawRibbonCaptionArea() public méthode

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.
Résultat System