Search Results for

    Show / Hide Table of Contents

    Class PersistantLayoutManager

    Static class for saving and restoring layout information

    Inheritance
    System.Object
    PersistantLayoutManager
    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.UI.Layout
    Assembly: Simplic.UI.dll
    Syntax
    public static class PersistantLayoutManager

    Methods

    | Improve this Doc View Source

    RegisterHandler(Type, LayoutHandler)

    Register a layout handler. This must be done for every type of ui, which should be able to save and restore layout information

    Declaration
    public static void RegisterHandler(Type uiType, LayoutHandler handler)
    Parameters
    Type Name Description
    System.Type uiType

    Type of the ui. For example: typeof(DefaultRibbonWindow)

    LayoutHandler handler

    Handler instance. e.g. DefaultRibbonWindowLayoutHandler

    | Improve this Doc View Source

    Reset(Type, Object)

    Reset layout information

    Declaration
    public static void Reset(Type uiType, object instance)
    Parameters
    Type Name Description
    System.Type uiType

    Type of the ui. For example: typeof(DefaultRibbonWindow)

    System.Object instance

    Instance for which the configuration should be assigned

    | Improve this Doc View Source

    Restore(Type, Object)

    Restore layout information from a given storage

    Declaration
    public static void Restore(Type uiType, object instance)
    Parameters
    Type Name Description
    System.Type uiType

    Type of the ui. For example: typeof(DefaultRibbonWindow)

    System.Object instance

    Instance for which the configuration should be assigned

    | Improve this Doc View Source

    Save(Type, Object)

    Save layout information to a given storage

    Declaration
    public static void Save(Type uiType, object instance)
    Parameters
    Type Name Description
    System.Type uiType

    Type of the ui. For example: typeof(DefaultRibbonWindow)

    System.Object instance

    Instance for which the configuration should be assigned

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