Table of Contents

Class FormDesignerDataSource

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Provides properties and methods for a Form Designer control's data source.

public class FormDesignerDataSource : IFormDesignerDataSource, IFormDesignerBaseDataSource
Inheritance
FormDesignerDataSource
Implements

Constructors

FormDesignerDataSource(string, Language)

Initializes a new instance of the FormDesignerDataSource class with specified settings.

FormDesignerDataSource(string, string, string, Language)

Initializes a new instance of the FormDesignerDataSource 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 root path for the designer resources.

UserCodeFileName

Gets name of the file with user code.

UserCodeLanguage

Inserts specified text fragments into the user code.

XamlFileName

Gets name of the .xaml file.

Methods

InsertTextIntoUserCode(TextInsertionOperation[])

When implemented by a class, inserts specified text fragments into the user code.

OpenUserCodeStreamForReading()

Opens user code stream with default access mode.

OpenXamlStream(StreamAccessMode)

Opens designer stream with specified access mode.

ReplaceTextInXamlCode(TextReplacementOperation[])

Replaces specified text fragments within the user code.