C# 클래스 ComponentFactory.Krypton.Ribbon.ViewDrawRibbonTab

Draws an individual RibbonTab.
상속: ComponentFactory.Krypton.Toolkit.ViewComposite, IContentValues
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
GetImage ( PaletteState state ) : Image

Gets the image used for the ribbon tab.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the image color that should be interpreted as transparent.

GetLongText ( ) : string

Gets the long text used as the secondary ribbon title.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GetShortText ( ) : string

Gets the short text used as the main ribbon title.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

MakeDirty ( ) : void

Make dirty so cached values are not used.

RenderAfter ( RenderContext context ) : void

Perform rendering after child elements are rendered.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonTab ( KryptonRibbon ribbon, ViewLayoutRibbonTabs layoutTabs, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonTab class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CheckPaletteState ( ViewContext context ) : void
OnTabClicked ( object sender, MouseEventArgs e ) : void
OnTabContextClicked ( object sender, MouseEventArgs e ) : void
OnTabPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
RenderAfter2010ContextTab ( RenderContext context, ContextTabSet cts ) : void
RenderBefore2007ContextTab ( RenderContext context, ContextTabSet cts ) : void
RenderBefore2010ContextTab ( RenderContext context, ContextTabSet cts ) : void
StateIndex ( PaletteState state ) : int
ViewDrawRibbonTab ( ) : System

메소드 상세

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 image used for the ribbon tab.
public GetImage ( PaletteState state ) : Image
state PaletteState Tab state.
리턴 Image

GetImageTransparentColor() 공개 메소드

Gets the image color that should be interpreted as transparent.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState Tab state.
리턴 Color

GetLongText() 공개 메소드

Gets the long text used as the secondary ribbon title.
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 short text used as the main ribbon title.
public GetShortText ( ) : string
리턴 string

Layout() 공개 메소드

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
리턴 void

MakeDirty() 공개 메소드

Make dirty so cached values are not used.
public MakeDirty ( ) : void
리턴 void

RenderAfter() 공개 메소드

Perform rendering after child elements are rendered.
public RenderAfter ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
리턴 void

RenderBefore() 공개 메소드

Perform rendering before child elements are rendered.
public RenderBefore ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
리턴 void

ToString() 공개 메소드

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

ViewDrawRibbonTab() 공개 메소드

Initialize a new instance of the ViewDrawRibbonTab class.
public ViewDrawRibbonTab ( KryptonRibbon ribbon, ViewLayoutRibbonTabs layoutTabs, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
layoutTabs ViewLayoutRibbonTabs Reference to view used for layout out tabs.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System