Search Results for

    Show / Hide Table of Contents

    Class TemplateCache

    Contains the UIDataTemplate cache

    Inheritance
    System.Object
    TemplateCache
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.UIDataTemplate.Cache
    Assembly: Simplic.UIDataTemplate.dll
    Syntax
    public static class TemplateCache

    Methods

    | Improve this Doc View Source

    Add(String, String, ResourceDictionary)

    Add a System.Windows.ResourceDictionary to the cache

    Declaration
    public static void Add(string templateName, string path, ResourceDictionary resourceDictionary)
    Parameters
    Type Name Description
    System.String templateName

    Template name

    System.String path

    Path

    System.Windows.ResourceDictionary resourceDictionary

    System.Windows.ResourceDictionary instance

    | Improve this Doc View Source

    Clear()

    Clear the cache

    Declaration
    public static void Clear()
    | Improve this Doc View Source

    Get(String, String)

    Get a System.Windows.ResourceDictionary from cache by its template name and path

    Declaration
    public static ResourceDictionary Get(string templateName, string path)
    Parameters
    Type Name Description
    System.String templateName

    Template name

    System.String path

    Patj

    Returns
    Type Description
    System.Windows.ResourceDictionary

    System.Windows.ResourceDictionary if exists, else null

    | Improve this Doc View Source

    Remove(String, String)

    Remove System.Windows.ResourceDictionary from cache

    Declaration
    public static void Remove(string templateName, string path)
    Parameters
    Type Name Description
    System.String templateName

    Template name

    System.String path

    Path

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx