C# Class ComponentFactory.Krypton.Navigator.KryptonNavigatorDesigner

Designer for the navigator instance.
Inheritance: System.Windows.Forms.Design.ParentControlDesigner
Show file Open project: ComponentFactory/Krypton Class Usage Examples

Public Methods

Method Description
AddPage ( ) : void

Add a new page to the navigator.

CanParent ( Control control ) : bool

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

ClearPages ( ) : void

Remove all pages from the navigator.

Initialize ( IComponent component ) : void

Initializes the designer with the specified component.

InitializeNewComponent ( IDictionary defaultValues ) : void

Initializes a newly created component.

InternalControlDesigner ( int internalControlIndex ) : System.Windows.Forms.Design.ControlDesigner

Returns the internal control designer with the specified index in the ControlDesigner.

NumberOfInternalControlDesigners ( ) : int

Returns the number of internal control designers in the ControlDesigner.

RemovePage ( ) : void

Remove the current page from the navigator.

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.

OnComponentRemoving ( object sender, ComponentEventArgs e ) : void

Occurs when the component is being removed from the designer.

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
MarkSelectionAsChanged ( ) : void
OnAddPage ( object sender, EventArgs e ) : void
OnClearPages ( object sender, EventArgs e ) : void
OnNavigatorDoubleClick ( object sender, Point pt ) : void
OnNavigatorMouseUp ( object sender, MouseEventArgs e ) : void
OnPageInserted ( object sender, TypedCollectionEventArgs e ) : void
OnPageRemoved ( object sender, TypedCollectionEventArgs e ) : void
OnPagesCleared ( object sender, EventArgs e ) : void
OnRemovePage ( object sender, EventArgs e ) : void
OnSelectedPageChanged ( object sender, EventArgs e ) : void
UpdateVerbStatus ( ) : void

Method Details

AddPage() public method

Add a new page to the navigator.
public AddPage ( ) : void
return void

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

ClearPages() public method

Remove all pages from the navigator.
public ClearPages ( ) : void
return void

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

InitializeNewComponent() public method

Initializes a newly created component.
public InitializeNewComponent ( IDictionary defaultValues ) : void
defaultValues IDictionary A name/value dictionary of default values to apply to properties.
return void

InternalControlDesigner() public method

Returns the internal control designer with the specified index in the ControlDesigner.
public InternalControlDesigner ( int internalControlIndex ) : System.Windows.Forms.Design.ControlDesigner
internalControlIndex int A specified index to select the internal control designer. This index is zero-based.
return System.Windows.Forms.Design.ControlDesigner

NumberOfInternalControlDesigners() public method

Returns the number of internal control designers in the ControlDesigner.
public NumberOfInternalControlDesigners ( ) : int
return int

OnComponentRemoving() protected method

Occurs when the component is being removed from the designer.
protected OnComponentRemoving ( object sender, ComponentEventArgs e ) : void
sender object Source of the event.
e System.ComponentModel.Design.ComponentEventArgs A ComponentEventArgs containing event data.
return void

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

RemovePage() public method

Remove the current page from the navigator.
public RemovePage ( ) : void
return void