Table of Contents

Method FindUserCodeFile

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

FindUserCodeFile(string, out FormDesignerDataSource)

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

public static Language FindUserCodeFile(string xamlFilePath, out FormDesignerDataSource dataSource)

Parameters

xamlFilePath string

XAML file to check up.

dataSource FormDesignerDataSource

Receives a new FormDesignerDataSource created for the given form files.

Returns

Language

Language related to the specified XAML file if supported; otherwise, null

FindUserCodeFile(string)

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

public static Language FindUserCodeFile(string xamlFilePath)

Parameters

xamlFilePath string

XAML file to check up.

Returns

Language

Language related to the specified XAML file if supported; otherwise, null