C# Class ComponentFactory.Krypton.Ribbon.KryptonRibbonDesigner

Inheritance: System.Windows.Forms.Design.ParentControlDesigner
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
CanParent ( Control control ) : bool

Indicates whether the specified control can be a child of the control managed by a designer.

Initialize ( IComponent component ) : void

Initializes the designer with the specified component.

KryptonRibbonDesigner ( ) : System

Initialize a new instance of the KryptonRibbonDesigner class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases all resources used by the component.

GetHitTest ( Point point ) : bool

Indicates whether a mouse click at the specified point should be handled by the control.

OnDragDrop ( DragEventArgs de ) : void

Called when a drag-and-drop object is dropped onto the control designer view.

OnDragEnter ( DragEventArgs de ) : void

Called when a drag-and-drop operation enters the control designer view.

OnDragOver ( DragEventArgs de ) : void

Called when a drag-and-drop object is dragged over the control designer view.

OnMouseLeave ( ) : void

Receives a call when the mouse leaves the control.

Private Methods

Méthode Description
OnAddTab ( object sender, EventArgs e ) : void
OnClearTabs ( object sender, EventArgs e ) : void
OnComponentChanged ( object sender, ComponentChangedEventArgs e ) : void
OnComponentRemoving ( object sender, ComponentEventArgs e ) : void
OnRibbonDoubleClick ( object sender, Point pt ) : void
OnRibbonMouseUp ( object sender, MouseEventArgs e ) : void
OnSelectedTabChanged ( object sender, EventArgs e ) : void
OnToggleHelpers ( object sender, EventArgs e ) : void
UpdateVerbStatus ( ) : void

Method Details

CanParent() public méthode

Indicates whether the specified control can be a child of the control managed by a designer.
public CanParent ( Control control ) : bool
control System.Windows.Forms.Control The Control to test.
Résultat bool

Dispose() protected méthode

Releases all resources used by the component.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

GetHitTest() protected méthode

Indicates whether a mouse click at the specified point should be handled by the control.
protected GetHitTest ( Point point ) : bool
point Point A Point indicating the position at which the mouse was clicked, in screen coordinates.
Résultat bool

Initialize() public méthode

Initializes the designer with the specified component.
public Initialize ( IComponent component ) : void
component IComponent The IComponent to associate the designer with.
Résultat void

KryptonRibbonDesigner() public méthode

Initialize a new instance of the KryptonRibbonDesigner class.
public KryptonRibbonDesigner ( ) : System
Résultat System

OnDragDrop() protected méthode

Called when a drag-and-drop object is dropped onto the control designer view.
protected OnDragDrop ( DragEventArgs de ) : void
de System.Windows.Forms.DragEventArgs A DragEventArgs that provides data for the event.
Résultat void

OnDragEnter() protected méthode

Called when a drag-and-drop operation enters the control designer view.
protected OnDragEnter ( DragEventArgs de ) : void
de System.Windows.Forms.DragEventArgs A DragEventArgs that provides data for the event.
Résultat void

OnDragOver() protected méthode

Called when a drag-and-drop object is dragged over the control designer view.
protected OnDragOver ( DragEventArgs de ) : void
de System.Windows.Forms.DragEventArgs A DragEventArgs that provides data for the event.
Résultat void

OnMouseLeave() protected méthode

Receives a call when the mouse leaves the control.
protected OnMouseLeave ( ) : void
Résultat void