C# Класс ComponentFactory.Krypton.Ribbon.ViewDrawRibbonCaptionArea

Ribbon area that contains the context titles, minibar and top half of application button.
Наследование: ComponentFactory.Krypton.Toolkit.ViewDrawDocker
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

PerformNeedPaint ( bool needLayout ) : void

Fires a request to have painting/layout performed.

Приватные методы

Метод Описание
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

Описание методов

AppButtonChanged() публичный Метод

Notify a change in the application button image.
public AppButtonChanged ( ) : void
Результат void

AppButtonVisibleChanged() публичный Метод

A change in the app button visibility needs to be processed.
public AppButtonVisibleChanged ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

DoesCurrentMouseDownEndAllTracking() публичный Метод

Should a mouse down at the provided point cause an end to popup tracking.
public DoesCurrentMouseDownEndAllTracking ( Point pt ) : bool
pt Point Client coordinates point.
Результат bool

GetPreferredSize() публичный Метод

Discover the preferred size of the element.
public GetPreferredSize ( ViewLayoutContext context ) : Size
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Результат System.Drawing.Size

HookToolTipHandling() публичный Метод

Perform steps to generate a tooltip event when mouse is over the application button.
public HookToolTipHandling ( ) : void
Результат void

PerformFormChromeCheck() публичный Метод

Redecide if the custom chrome and integration can occur.
public PerformFormChromeCheck ( ) : void
Результат void

PerformNeedPaint() защищенный Метод

Fires a request to have painting/layout performed.
protected PerformNeedPaint ( bool needLayout ) : void
needLayout bool Does the palette change require a layout.
Результат void

QATButtonsChanged() публичный Метод

Notification that the collection of QAT buttons has changed.
public QATButtonsChanged ( ) : void
Результат void

RedrawCustomChrome() публичный Метод

Causes the custom chrome to be repainted.
public RedrawCustomChrome ( bool layout ) : void
layout bool Is a layout required.
Результат void

ToString() публичный Метод

Obtains the String representation of this instance.
public ToString ( ) : string
Результат string

UpdateQAT() публичный Метод

Update display elements to reflect latest QAT setting.
public UpdateQAT ( ) : void
Результат void

UpdateVisible() публичный Метод

Update the visible state of the caption area based on integration, app button, contexts and qat location.
public UpdateVisible ( ) : void
Результат void

ViewDrawRibbonCaptionArea() публичный Метод

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.
Результат System