Class EditorFormDesignerDataSource
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Provides extended properties and methods for a Form Designer control's data source.
public class EditorFormDesignerDataSource : IFormDesignerDataSource, IFormDesignerBaseDataSource
- Inheritance
-
EditorFormDesignerDataSource
- Implements
Constructors
- EditorFormDesignerDataSource(IFormDesignerTextSource, IFormDesignerTextSource, string, string, string, Language)
Initializes a new instance of the
EditorFormDesignerDataSource
class with specified settings.
- EditorFormDesignerDataSource(string, Language, Func<string, IFormDesignerTextSource>)
Initializes a new instance of the
EditorFormDesignerDataSource
class with specified settings.
Properties
- DesignedClassFullName
Gets the fully qualified name of designed class.
- IsModified
Represents a value indicating whether designer content has been modified since last save.
- ResourcesRootPath
Gets the root path of the designer resource files.
- UserCodeFileName
Gets name of the file with user code.
- UserCodeLanguage
Gets the language in which the user code is written.
- UserCodeTextSource
Gets IFormDesignerTextSource corresponding to the user code.
- XamlFileName
Gets name of the XAML file.
- XamlTextSource
Gets IFormDesignerTextSource corresponding to the XAML code.
Methods
- InsertTextIntoUserCode(TextInsertionOperation[])
Inserts specified text fragments into the user code.
- OpenUserCodeStreamForReading()
Opens user code stream with default access mode.
- OpenXamlStream(StreamAccessMode)
Opens XAML stream with specified access mode.
- ReplaceTextInXamlCode(TextReplacementOperation[])
Replaces specified text fragments within the XAML code.
- Save()
Serializes designer content.