Method | Description | |
---|---|---|
Activate ( IDesignPanel designPanel ) : void | ||
AddItemWithCustomSizePosition ( DesignItem container, |
||
AddItemWithDefaultSize ( DesignItem container, |
||
CreateComponentTool ( |
Creates a new CreateComponentTool instance.
|
|
Deactivate ( IDesignPanel designPanel ) : void |
Method | Description | |
---|---|---|
CreateItem ( DesignContext context ) : DesignItem |
Is called to create the item used by the CreateComponentTool.
|
Method | Description | |
---|---|---|
AddItemWithCustomSize ( DesignItem container, DesignItem createdItem, Point position, |
||
AddItemWithDefaultSize ( DesignItem container, DesignItem createdItem, Point position ) : bool | ||
OnMouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void | ||
designPanel_DragLeave ( object sender, System.Windows.DragEventArgs e ) : void | ||
designPanel_DragOver ( object sender, System.Windows.DragEventArgs e ) : void | ||
designPanel_Drop ( object sender, System.Windows.DragEventArgs e ) : void |
public Activate ( IDesignPanel designPanel ) : void | ||
designPanel | IDesignPanel | |
return | void |
public static AddItemWithCustomSizePosition ( DesignItem container, |
||
container | DesignItem | |
createdItem | ||
size | ||
position | Point | |
return | bool |
public static AddItemWithDefaultSize ( DesignItem container, |
||
container | DesignItem | |
createdItem | ||
size | ||
return | bool |
public CreateComponentTool ( |
||
componentType | ||
return | System |
protected CreateItem ( DesignContext context ) : DesignItem | ||
context | DesignContext | |
return | DesignItem |
public Deactivate ( IDesignPanel designPanel ) : void | ||
designPanel | IDesignPanel | |
return | void |