XamlImportSettings
Class
Definition
Namespace:Telerik.WinForms.Documents.FormatProviders.Xaml
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class XamlImportSettings
Inheritance: objectXamlImportSettings
Derived Classes:
Constructors
C#
public XamlImportSettings()
Properties
AllowedAssemblies
HashSet<string>
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