C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupSeparator

Draws a long vertical group separator.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewLeaf, IRibbonViewGroupContainerView
Afficher le fichier Open project: ComponentFactory/Krypton

Méthodes publiques

Méthode Description
GetFirstFocusItem ( ) : ViewBase

Gets the first focus item from the container.

GetGroupKeyTips ( KeyTipInfoList keyTipList ) : 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.

GetPossibleSizes ( ViewLayoutContext context ) : ComponentFactory.Krypton.Ribbon.ItemSizeWidth[]

Gets an array of the allowed possible sizes of the container.

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.

RenderBefore ( RenderContext context ) : void

Perform rendering before child elements are rendered.

ResetSolutionSize ( ) : void

Reset the container back to its requested size.

SetSolutionSize ( ItemSizeWidth size ) : void

Update the group with the provided sizing solution.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawRibbonGroupSeparator ( KryptonRibbon ribbon, KryptonRibbonGroupSeparator ribbonSeparator, NeedPaintHandler needPaint ) : System

Initialize a new instance of the ViewDrawRibbonGroupSeparator class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnNeedPaint ( bool needLayout ) : void

Raises the NeedPaint event.

Private Methods

Méthode Description
OnContextClick ( object sender, MouseEventArgs e ) : void
OnSeparatorPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetFirstFocusItem() public méthode

Gets the first focus item from the container.
public GetFirstFocusItem ( ) : ViewBase
Résultat ViewBase

GetGroupKeyTips() public méthode

Gets the array of group level key tips.
public GetGroupKeyTips ( KeyTipInfoList keyTipList ) : void
keyTipList KeyTipInfoList List to add new entries into.
Résultat void

GetLastFocusItem() public méthode

Gets the last focus item from the item.
public GetLastFocusItem ( ) : ViewBase
Résultat ViewBase

GetNextFocusItem() public méthode

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.
Résultat ViewBase

GetPossibleSizes() public méthode

Gets an array of the allowed possible sizes of the container.
public GetPossibleSizes ( ViewLayoutContext context ) : ComponentFactory.Krypton.Ribbon.ItemSizeWidth[]
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Context used to calculate the sizes.
Résultat ComponentFactory.Krypton.Ribbon.ItemSizeWidth[]

GetPreferredSize() public méthode

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

GetPreviousFocusItem() public méthode

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.
Résultat ViewBase

Layout() public méthode

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ComponentFactory.Krypton.Toolkit.ViewLayoutContext Layout context.
Résultat void

OnNeedPaint() protected méthode

Raises the NeedPaint event.
protected OnNeedPaint ( bool needLayout ) : void
needLayout bool Does the palette change require a layout.
Résultat void

RenderBefore() public méthode

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

ResetSolutionSize() public méthode

Reset the container back to its requested size.
public ResetSolutionSize ( ) : void
Résultat void

SetSolutionSize() public méthode

Update the group with the provided sizing solution.
public SetSolutionSize ( ItemSizeWidth size ) : void
size ItemSizeWidth Value for the container.
Résultat void

ToString() public méthode

Obtains the String representation of this instance.
public ToString ( ) : string
Résultat string

ViewDrawRibbonGroupSeparator() public méthode

Initialize a new instance of the ViewDrawRibbonGroupSeparator class.
public ViewDrawRibbonGroupSeparator ( KryptonRibbon ribbon, KryptonRibbonGroupSeparator ribbonSeparator, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
ribbonSeparator KryptonRibbonGroupSeparator Reference to group separator definition.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System