The Designer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Designer |
Default constructor for Designer class
|
Methods
Name | Description | |
---|---|---|
Align |
Align selected controls according passed parameter
| |
ChangeDefaultValue | Overloaded. | |
ClearDirty |
Clears dirty flag
| |
CopyControlsToClipboard |
Copies selected controls to clipboard
| |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
DeleteSelected |
Deletes selected controls
| |
Dispose | Overloaded. | |
EnableEdit | ||
Equals | (Inherited from Object.) | |
Finalize |
Destroy designer
(Overrides Component..::.Finalize()()().) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetService | (Inherited from Component.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
Load |
Loads designed control from XmlReader
| |
LoadFromFile |
Loads designed control from file
| |
MakeSameSize |
Makes selected controls same size
| |
MemberwiseClone | Overloaded. | |
PasteControlsFromClipboard |
Paste controls from clipboard into designed control
| |
Redo |
Redoing last undo
| |
RegisterDragAndDropHandler |
Registers handler for creating components
The data format that the creator handles
A CreateComponentsCallback that can create a components when drag and drop events occured
| |
RemoveDefaultValues | Overloaded. | |
ResetUndo |
Clear undo buffer
| |
SaveToFile |
Serialize designed control into file
| |
SelectAll |
Select all controls .. added by JD
| |
SetDirty |
Sets dirty flag
| |
Store |
Serialize designed control into XmlWriter
| |
ToString | (Inherited from Component.) | |
Undo |
Undoing last change
| |
UnregisterDragAndDropHandler |
Unregisters handler for creating components
|
Properties
Name | Description | |
---|---|---|
Active |
Sets or gets activity state of the designer
| |
CanRaiseEvents | (Inherited from Component.) | |
Container | (Inherited from Component.) | |
DesignContainer |
Contanier control for external form editing.
When this property is assigned, the edited form is inserted into assigned control,
if this property is null, the form is edited on-the-fly. When DesignContainer is assigned,
the DesignControl property is used only for obtaining the top-level edited form.
| |
DesignedComponents |
Sets and gets array of components which must be designed
| |
DesignedContainers |
Containers, that have designed components in properties except Control.
In collection key is a type name and value is a property name.
| |
DesignedForm |
Sets designed control
| |
DesignerHost |
Gets object implemented IDesignerHost interface
| |
DesignMode | (Inherited from Component.) | |
Events | (Inherited from Component.) | |
FormTreasury |
Sets control for loading/storing form
| |
GridSize |
Size of the grid of the designing form
| |
IsDirty |
Gets dirty state of the designed control
| |
LayoutXML |
Gets or sets form content as XML
| |
LoadMode |
Gets or sets load mode for loading form
| |
LogFile |
Sets and gets log file name
| |
ObjectBoundSmartTagAutoShow |
Gets or sets a value that specifies whether a designer shows a component's smart tag panel automatically on creation
| |
RedoCount |
Gets count of the possible redo steps
| |
ShowErrorMessage |
Enables or disables showing error message box on exception
| |
ShowGrid |
Show the grid on/off
| |
Site |
Provides functionality required by sites
(Overrides Component..::.Site.) | |
SnapToGrid |
Snaping to the grid on/off
| |
UndoCount |
Gets count of the possible undo steps
| |
UseNativeSurfaceClass |
Use native type as DesignSurface in framework mode
| |
UseSmartTags |
Gets or sets a value that enables or disables smart tags in the designer
| |
UseSnapLines |
Using snap lines for aligning controls
|
Events
Name | Description | |
---|---|---|
AllowDesign |
Fires when deisgner trying to design component
| |
DirtyChanged |
Fires when dirty flags changed
| |
Disposed | (Inherited from Component.) | |
DoubleClick |
Fires when user double-clicked mouse button
| |
KeyDown |
Fires when the user presses a key
| |
KeyUp |
Fires when user releases a key
| |
MouseDown |
Fires when user presses mouse button
| |
MouseUp |
Fires when user releases mouse button
|