Table of Contents

Class FormFilesUtility

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

A utility class to support form designer files functionality.

public static class FormFilesUtility
Inheritance
FormFilesUtility

Methods

CheckIfFormFilesExist(string)

Determines whether all form files, matching specific criteria, exist.

CheckIfFormFilesExist(string, Language)

Determines whether all form files, matching specific criteria, exist.

CheckUserCodeLanguageNonAmbiguous(string, string, out string)

Determines whether there is an ambiguity between the given and existing files.

CreateFormFiles(IFormDesignerDataSource, CreateFormFilesOptions)

Generates a code for the form files, related to the specified source, and saves their content to the file.

DetectLanguageFromFileName(string)

Determines a Language to which the given file belongs. Reports an error for unsupported language.

FindUserCodeFile(string)

Find user code file, related to the given XAML file. Reports an error for unsupported language.

FindUserCodeFile(string, out FormDesignerDataSource)

Find user code file, related to the given XAML file. Reports an error for unsupported language.

IsSupportedLanguage(string)

Indicates whether the specified programming language is supported.

IsXamlCodeBehindFile(string, out string)

Indicates whether the XAML file, dependent on the given file exists.

IsXamlFile(string, out string)

Indicates whether the XAML file, dependent on the given file exists.

TryDetectFormSourceFiles(string, Language, out string)

Detects all form source files, related to the specific code file.

TryDetectLanguageFromFileName(string)

Determines a Language to which the given file belongs.

TryFindUserCodeFile(string)

Tries to find user code file, related to the given XAML file.

TryFindUserCodeFile(string, out FormDesignerDataSource)

Tries to find user code file, related to the given XAML file.