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

Draws a ribbon group label.
상속: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

공개 메소드들

메소드 설명
GetFirstFocusItem ( ) : ViewBase

Gets the first focus item from the container.

GetGroupKeyTips ( KeyTipInfoList keyTipList, int lineHint ) : void

Gets the array of group level key tips.

GetLastFocusItem ( ) : ViewBase

Gets the last focus item from the item.

GetNextFocusItem ( ViewBase current, bool &matched ) : ViewBase

Gets the next focus item based on the current item as provided.

GetPreferredSize ( ViewLayoutContext context ) : Size

Discover the preferred size of the element.

GetPreviousFocusItem ( ViewBase current, bool &matched ) : ViewBase

Gets the previous focus item based on the current item as provided.

Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

ResetGroupItemSize ( ) : void

Reset the group item size to the item definition.

SetGroupItemSize ( GroupItemSize size ) : void

Override the group item size if possible.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonGroupLabel ( KryptonRibbon ribbon, KryptonRibbonGroupLabel ribbonLabel, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonGroupLabel class.

보호된 메소드들

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

Clean up any resources being used.

OnNeedPaint ( bool needLayout ) : void

Raises the NeedPaint event.

OnNeedPaint ( bool needLayout, Rectangle invalidRect ) : void

Raises the NeedPaint event.

비공개 메소드들

메소드 설명
CreateLargeLabelView ( ) : void
CreateMediumSmallLabelView ( ) : void
DefineRootView ( ViewBase view ) : void
OnContextClick ( object sender, MouseEventArgs e ) : void
OnLabelPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
UpdateEnabledState ( ) : void
UpdateImageSmallState ( ) : void
UpdateItemSizeState ( ) : void
UpdateItemSizeState ( GroupItemSize size ) : 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

GetFirstFocusItem() 공개 메소드

Gets the first focus item from the container.
public GetFirstFocusItem ( ) : ViewBase
리턴 ViewBase

GetGroupKeyTips() 공개 메소드

Gets the array of group level key tips.
public GetGroupKeyTips ( KeyTipInfoList keyTipList, int lineHint ) : void
keyTipList KeyTipInfoList List to add new entries into.
lineHint int Provide hint to item about its location.
리턴 void

GetLastFocusItem() 공개 메소드

Gets the last focus item from the item.
public GetLastFocusItem ( ) : ViewBase
리턴 ViewBase

GetNextFocusItem() 공개 메소드

Gets the next focus item based on the current item as provided.
public GetNextFocusItem ( ViewBase current, bool &matched ) : ViewBase
current ViewBase The view that is currently focused.
matched bool Has the current focus item been matched yet.
리턴 ViewBase

GetPreferredSize() 공개 메소드

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

GetPreviousFocusItem() 공개 메소드

Gets the previous focus item based on the current item as provided.
public GetPreviousFocusItem ( ViewBase current, bool &matched ) : ViewBase
current ViewBase The view that is currently focused.
matched bool Has the current focus item been matched yet.
리턴 ViewBase

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 ( bool needLayout ) : void
needLayout bool Does the palette change require a layout.
리턴 void

OnNeedPaint() 보호된 메소드

Raises the NeedPaint event.
protected OnNeedPaint ( bool needLayout, Rectangle invalidRect ) : void
needLayout bool Does the palette change require a layout.
invalidRect System.Drawing.Rectangle Rectangle to invalidate.
리턴 void

ResetGroupItemSize() 공개 메소드

Reset the group item size to the item definition.
public ResetGroupItemSize ( ) : void
리턴 void

SetGroupItemSize() 공개 메소드

Override the group item size if possible.
public SetGroupItemSize ( GroupItemSize size ) : void
size GroupItemSize New size to use.
리턴 void

ToString() 공개 메소드

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

ViewDrawRibbonGroupLabel() 공개 메소드

Initialize a new instance of the ViewDrawRibbonGroupLabel class.
public ViewDrawRibbonGroupLabel ( KryptonRibbon ribbon, KryptonRibbonGroupLabel ribbonLabel, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
ribbonLabel KryptonRibbonGroupLabel Reference to source label definition.
needPaint NeedPaintHandler Delegate for notifying paint requests.
리턴 System