C# Класс ComponentFactory.Krypton.Navigator.ViewDrawNavRibbonTab

Наследование: ComponentFactory.Krypton.Toolkit.ViewComposite, IContentValues, INavCheckItem
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ButtonSpecFromView ( ViewBase element ) : ButtonSpec

Gets the ButtonSpec associated with the provided item.

GetImage ( PaletteState state ) : Image

Gets the content image.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the image color that should be transparent.

GetLongText ( ) : string

Gets the content long text.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GetShortText ( ) : string

Gets the content short text.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

PerformClick ( ) : void

Raises the Click event for the button.

Render ( RenderContext context ) : void

Perform a render of the elements.

SetOrientation ( VisualOrientation borderBackOrient, VisualOrientation contentOrient ) : void

Set the orientation of the background/border and content.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawNavRibbonTab ( KryptonNavigator navigator, KryptonPage page ) : System

Initialize a new instance of the ViewDrawNavRibbonTab class.

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

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

Clean up any resources being used.

OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void

Raises the NeedPaint event.

OnRightClick ( object sender, MouseEventArgs e ) : void

Processes the RightClick event from the button.

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

Метод Описание
CheckPaletteState ( ViewContext context ) : void
OnButtonDragOffset ( object sender, ButtonDragOffsetEventArgs e ) : void
OnButtonDragRectangle ( object sender, ButtonDragRectangleEventArgs e ) : void
OnClick ( object sender, EventArgs e ) : void
OnDragEnd ( object sender, PointEventArgs e ) : void
OnDragMove ( object sender, PointEventArgs e ) : void
OnDragQuit ( object sender, EventArgs e ) : void
OnDragStart ( object sender, DragStartEventCancelArgs e ) : void
StateIndex ( PaletteState state ) : int

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

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

Gets the ButtonSpec associated with the provided item.
public ButtonSpecFromView ( ViewBase element ) : ButtonSpec
element ViewBase Element to search against.
Результат ComponentFactory.Krypton.Toolkit.ButtonSpec

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

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

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

Gets the content image.
public GetImage ( PaletteState state ) : Image
state PaletteState The state for which the image is needed.
Результат Image

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

Gets the image color that should be transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState The state for which the image is needed.
Результат Color

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

Gets the content long text.
public GetLongText ( ) : string
Результат string

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

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

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

Gets the content short text.
public GetShortText ( ) : string
Результат string

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

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Результат void

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

Raises the NeedPaint event.
protected OnNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
sender object Source of the event.
e ComponentFactory.Krypton.Toolkit.NeedLayoutEventArgs An NeedLayoutEventArgs containing event data.
Результат void

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

Processes the RightClick event from the button.
protected OnRightClick ( object sender, MouseEventArgs e ) : void
sender object Source of the event.
e MouseEventArgs An EventArgs containing the event data.
Результат void

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

Raises the Click event for the button.
public PerformClick ( ) : void
Результат void

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

Perform a render of the elements.
public Render ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
Результат void

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

Set the orientation of the background/border and content.
public SetOrientation ( VisualOrientation borderBackOrient, VisualOrientation contentOrient ) : void
borderBackOrient VisualOrientation Orientation of the button border and background..
contentOrient VisualOrientation Orientation of the button contents.
Результат void

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

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

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

Initialize a new instance of the ViewDrawNavRibbonTab class.
public ViewDrawNavRibbonTab ( KryptonNavigator navigator, KryptonPage page ) : System
navigator KryptonNavigator Owning navigator instance.
page KryptonPage Page this ribbon tab represents.
Результат System