C# 클래스 ComponentFactory.Krypton.Navigator.ViewDrawNavRibbonTab

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

공개 메소드들

메소드 설명
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