Search Results for

    Show / Hide Table of Contents

    Class DynamicControl

    Dynamic control is a ContentControl, which allows to embedd scripted controls in other scripted controls, to make the userinterface more encapsulated.

    Inheritance
    System.Object
    DynamicControl
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class DynamicControl : ContentControl

    Constructors

    | Improve this Doc View Source

    DynamicControl()

    Declaration
    public DynamicControl()

    Fields

    | Improve this Doc View Source

    ControlNameProperty

    Declaration
    public static readonly DependencyProperty ControlNameProperty
    Field Value
    Type Description
    DependencyProperty

    Properties

    | Improve this Doc View Source

    ControlName

    Name of the control to load from the simplic database

    Declaration
    public string ControlName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    LoadControl(String)

    Load the user control from the database and return it as a framework element. All loaded controls must inherit from FrameWork-Element (in the inherit herachy)

    Declaration
    public FrameworkElement LoadControl(string name)
    Parameters
    Type Name Description
    System.String name

    name of the control in the database

    Returns
    Type Description
    FrameworkElement

    Instance of WPF FrameworkElement

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