Table of Contents

Constructor EditorFormDesignerDataSource

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

EditorFormDesignerDataSource(IFormDesignerTextSource, IFormDesignerTextSource, string, string, string, Language)

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

public EditorFormDesignerDataSource(IFormDesignerTextSource userCodeTextSource, IFormDesignerTextSource xamlTextSource, string userCodeFileName, string xamlFileName, string designedClassName, Language userCodeLanguage)

Parameters

userCodeTextSource IFormDesignerTextSource

IFormDesignerTextSource corresponding to the user code.

xamlTextSource IFormDesignerTextSource

IFormDesignerTextSource corresponding to the XAML code.

userCodeFileName string

Name of the file with user code.

xamlFileName string

Name of the file with XAML code.

designedClassName string

The fully qualified name of designed class.

userCodeLanguage Language

The language in which the user code is written.

EditorFormDesignerDataSource(string, Language, Func<string, IFormDesignerTextSource>)

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

public EditorFormDesignerDataSource(string xamlFileName, Language userCodeLanguage, Func<string, IFormDesignerTextSource> openTextSourceFunc)

Parameters

xamlFileName string

Name of the file with XAML code.

userCodeLanguage Language

The language in which the user code is written.

openTextSourceFunc Func<string, IFormDesignerTextSource>

Function responsible to open text source.