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

Draws a ribbon group radio button.
Наследование: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView, IContentValues
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetFirstFocusItem ( ) : ViewBase

Gets the first focus item from the item.

GetGroupKeyTips ( KeyTipInfoList keyTipList, int lineHint ) : void

Gets the array of group level key tips.

GetImage ( PaletteState state ) : Image

Gets the image.

GetImageTransparentColor ( PaletteState state ) : Color

Gets the image transparent color.

GetLastFocusItem ( ) : ViewBase

Gets the last focus item from the item.

GetLongText ( ) : string

Gets the long text.

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.

GetShortText ( ) : string

Gets the short text.

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.

ViewDrawRibbonGroupRadioButton ( KryptonRibbon ribbon, KryptonRibbonGroupRadioButton ribbonRadioButton, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonGroupRadioButton 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.

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

Метод Описание
ActionFinishedLarge ( object sender, EventArgs e ) : void
ActionFinishedMediumSmall ( object sender, EventArgs e ) : void
CreateLargeRadioButtonView ( ) : void
CreateMediumSmallRadioButtonView ( ) : void
DefineRootView ( ViewBase view ) : void
OnContextClick ( object sender, MouseEventArgs e ) : void
OnLargeRadioButtonClick ( object sender, EventArgs e ) : void
OnMediumSmallRadioButtonClick ( object sender, EventArgs e ) : void
OnRadioButtonPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
UpdateCheckedState ( ) : void
UpdateEnabledState ( ) : 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 item.
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

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

Gets the image.
public GetImage ( PaletteState state ) : Image
state PaletteState
Результат Image

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

Gets the image transparent color.
public GetImageTransparentColor ( PaletteState state ) : Color
state PaletteState
Результат Color

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

Gets the last focus item from the item.
public GetLastFocusItem ( ) : ViewBase
Результат ViewBase

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

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

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

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

Gets the 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 ( 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

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

Initialize a new instance of the ViewDrawRibbonGroupRadioButton class.
public ViewDrawRibbonGroupRadioButton ( KryptonRibbon ribbon, KryptonRibbonGroupRadioButton ribbonRadioButton, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
ribbonRadioButton KryptonRibbonGroupRadioButton Reference to source radio button definition.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System