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 SourceDynamicControl()
Declaration
public DynamicControl()
  Fields
| Improve this Doc View SourceControlNameProperty
Declaration
public static readonly DependencyProperty ControlNameProperty
  Field Value
| Type | Description | 
|---|---|
| DependencyProperty | 
Properties
| Improve this Doc View SourceControlName
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 SourceLoadControl(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  |