IFormDesignerControl Interface
Definition
Represents a surface hosting the WPF designer.
Syntax
public interface IFormDesignerControl
Properties
AutoAddComponentAssemblyReferences | When implemented by a class, gets or sets a boolean value indicating whether designer should automatically try to add assembly references after a control is added. |
AutoSaveToSource | When implemented by a class, gets or sets a boolean value indicating whether designer should automatically translate changes to the source upon every change. |
ControlManipulationOptions | |
CurrentTool | When implemented by a class, gets or sets the currently selected tool |
DesignerCommands | When implemented by a class, represents a collection of standard designer commands like selecting, copying, pasting, moving and resizing controls. |
IsBeingLoaded | When implemented by a class, gets a boolean value indicating that designer is currently being loaded. |
IsModified | When implemented by a class, indicates if the designer content was modified. |
IsSmartDiffCodeSerializationRequired | When implemented by a class, gets or sets method used to identify whether |
ReferencedAssemblies | When implemented by a class, gets collection of assemblies where the controls and components used on the form being designed are declared. |
SelectedItems | When implemented by a class, contains list of selected DesignItem. |
ServiceProvider | When implemented by a class, provides custom support to other objects. |
Source | When implemented by a class, gets or sets form designer Source. |
Methods
LoadDesigner(String) | When implemented by a class, initializes the designer content from the specified xaml string. |
LoadDesignerFromFile(String) | When implemented by a class, initializes the designer content from the specified xaml file name. |
Reload() | When implemented by a class, reloads form to be designed from the source. |
Save() | When implemented by a class, translates changes made in the designer to the source. |
Events
DesignedContentChanged | When implemented by a class, occurs when user modifies any aspect of the control being designed. |
NavigateToUserMethodRequested | When implemented by a class, occurs when form designer is requested to navigate to the event handler. For example, when user double clicks on the control. |
ReferencedAssembliesChanged | |
SelectionChanged | When implemented by a class, occurs when user selects different control in the designer. |
SourceChanged | When implemented by a class, occurs when designer's source was changed. |