Class
XamlImportSettings

Represents settings for importing XAML documents in the Telerik Windows Documents format provider.

Definition

Namespace:Telerik.Windows.Documents.FormatProviders.Xaml

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class XamlImportSettings

Inheritance: objectXamlImportSettings

Derived Classes: HtmlImportSettings

Constructors

XamlImportSettings()

Declaration

cs-api-definition
public XamlImportSettings()

Properties

AllowedAssemblies

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

Declaration

cs-api-definition
public HashSet<string> AllowedAssemblies { get; }

Property Value

HashSet<string>

AllowedTypes

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

Declaration

cs-api-definition
public ICollection<Type> AllowedTypes { get; set; }

Property Value

ICollection<Type>

AssembliesTokens

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

Declaration

cs-api-definition
public IDictionary<string, string> AssembliesTokens { get; }

Property Value

IDictionary<string, string>

Events

ImageImported

Declaration

cs-api-definition
public event EventHandler<ImageImportedEventArgs> ImageImported

Event Value

EventHandler<ImageImportedEventArgs>

InlineUIContainerImported

Declaration

cs-api-definition
public event EventHandler<InlineUIContainerImportedEventArgs> InlineUIContainerImported

Event Value

EventHandler<InlineUIContainerImportedEventArgs>

PreProcessingXaml

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.

Declaration

cs-api-definition
public event EventHandler<PreProcessingXamlEventArgs> PreProcessingXaml

Event Value

EventHandler<PreProcessingXamlEventArgs>