C# Class ComponentFactory.Krypton.Ribbon.KryptonRibbonDesigner

Inheritance: System.Windows.Forms.Design.ParentControlDesigner
Exibir arquivo Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method 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

Method 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 method

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.
return bool

Dispose() protected method

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.
return void

GetHitTest() protected method

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.
return bool

Initialize() public method

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

KryptonRibbonDesigner() public method

Initialize a new instance of the KryptonRibbonDesigner class.
public KryptonRibbonDesigner ( ) : System
return System

OnDragDrop() protected method

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.
return void

OnDragEnter() protected method

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.
return void

OnDragOver() protected method

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.
return void

OnMouseLeave() protected method

Receives a call when the mouse leaves the control.
protected OnMouseLeave ( ) : void
return void