Table of Contents

Method TryFindUserCodeFile

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

TryFindUserCodeFile(string)

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

public static Language TryFindUserCodeFile(string xamlFilePath)

Parameters

xamlFilePath string

XAML file to check up.

Returns

Language

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

TryFindUserCodeFile(string, out FormDesignerDataSource)

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

public static Language TryFindUserCodeFile(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