C# Class ComponentFactory.Krypton.Ribbon.ViewDrawRibbonGroupDateTimePicker

Draws a ribbon group date time picker.
Inheritance: ComponentFactory.Krypton.Toolkit.ViewComposite, IRibbonViewGroupItemView
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Свойство Type Description
ActualVisible bool
OnContextClick void
OnDateTimePickerPropertyChanged void
OnLayoutAction void
OnMouseEnterControl void
OnMouseLeaveControl void
UpdateEnabled void
UpdateParent void
UpdateVisible void

Méthodes publiques

Méthode Description
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.

LostFocus ( Control c ) : void

Source control has lost the focus.

Render ( RenderContext context ) : void

Perform a render 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.

ViewDrawRibbonGroupDateTimePicker ( KryptonRibbon ribbon, KryptonRibbonGroupDateTimePicker ribbonDateTimePicker, NeedPaintHandler needPaint ) : System

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

OnNeedPaint ( bool needLayout, Rectangle invalidRect ) : void

Raises the NeedPaint event.

Private Methods

Méthode Description
ActualVisible ( Control c ) : bool
OnContextClick ( object sender, MouseEventArgs e ) : void
OnDateTimePickerPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
OnLayoutAction ( object sender, EventArgs e ) : void
OnMouseEnterControl ( object sender, EventArgs e ) : void
OnMouseLeaveControl ( object sender, EventArgs e ) : void
UpdateEnabled ( Control c ) : void
UpdateParent ( Control parentControl ) : void
UpdateVisible ( Control c ) : 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, int lineHint ) : void
keyTipList KeyTipInfoList List to add new entries into.
lineHint int Provide hint to item about its location.
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

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

LostFocus() public méthode

Source control has lost the focus.
public LostFocus ( Control c ) : void
c System.Windows.Forms.Control Reference to the source control instance.
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

OnNeedPaint() protected méthode

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

Render() public méthode

Perform a render of the elements.
public Render ( RenderContext context ) : void
context ComponentFactory.Krypton.Toolkit.RenderContext Rendering context.
Résultat void

ResetGroupItemSize() public méthode

Reset the group item size to the item definition.
public ResetGroupItemSize ( ) : void
Résultat void

SetGroupItemSize() public méthode

Override the group item size if possible.
public SetGroupItemSize ( GroupItemSize size ) : void
size GroupItemSize New size to use.
Résultat void

ToString() public méthode

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

ViewDrawRibbonGroupDateTimePicker() public méthode

Initialize a new instance of the ViewDrawRibbonGroupDateTimePicker class.
public ViewDrawRibbonGroupDateTimePicker ( KryptonRibbon ribbon, KryptonRibbonGroupDateTimePicker ribbonDateTimePicker, NeedPaintHandler needPaint ) : System
ribbon KryptonRibbon Reference to owning ribbon control.
ribbonDateTimePicker KryptonRibbonGroupDateTimePicker Reference to source date time picker.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Résultat System