New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Documents.FormatProviders.Xaml

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class XamlImportSettings

Inheritance: objectXamlImportSettings

Derived Classes: HtmlImportSettings

Constructors

C#
public XamlImportSettings()

Properties

Gets the collection of the assemblies where the allowed types for the XAML import are.

C#
public HashSet<string> AllowedAssemblies { get; }

AllowedTypes

ICollection<Type>

Gets the collection of the allowed types for the XAML import. Add any types used in your specific XAML files.

C#
public ICollection<Type> AllowedTypes { get; set; }

Gets the collection of the assemblies tokens. Allows you to add your public keys tokens for additional security.

C#
public IDictionary<string, string> AssembliesTokens { get; }

Events

C#
public event EventHandler<ImageImportedEventArgs> ImageImported
C#
public event EventHandler<InlineUIContainerImportedEventArgs> InlineUIContainerImported

This event allows you to edit the Xaml before the import or cancel the import if you are not sure that the Xaml is safe.

C#
public event EventHandler<PreProcessingXamlEventArgs> PreProcessingXaml