Interface IFormDesignerControl
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Represents a surface hosting the WPF designer.
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
When implemented by a class, gets or sets manipulation options allowed for the controls on the designer surface.
- 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 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
FormDesignerControl
content should be saved only by taking into account code difference.
- 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
When implemented by a class, occurs when ReferencedAssemblies is changed.
- 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.