Class DesktopRegistry
A registry of FormDef instances.
public static class DesktopRegistry
- Inheritance
-
DesktopRegistry
- Inherited Members
Properties
Forms
The list of registered forms.
public static DefList<FormDef> Forms { get; }
Property Value
Methods
AddForm(string, string, string)
Adds a definition to the registry.
If the definition exists, an exception is thrown.
public static FormDef AddForm(string Name, string Module, string Group)
Parameters
Returns
AddForm(string, string, string, string)
Adds a definition to the registry.
If the definition exists, an exception is thrown.
public static FormDef AddForm(string Name, string Module, string ClassName, string Group)
Parameters
Returns
AddForm(string, string, string, string, string)
Adds a definition to the registry.
If the definition exists, an exception is thrown.
public static FormDef AddForm(string Name, string Module, string ClassName, string TitleKey, string Group)
Parameters
Returns
AddForm(string, string, string, string, string, string, bool, UserLevel)
Adds a definition to the registry.
If the definition exists, an exception is thrown.
public static FormDef AddForm(string Name, string TitleKey = null, string Module = null, string ClassName = null, string Group = null, string ItemClassName = null, bool IsReadOnly = false, UserLevel SecurityLevel = UserLevel.None)
Parameters
NamestringTitleKeystringModulestringClassNamestringGroupstringItemClassNamestringIsReadOnlyboolSecurityLevelUserLevel
Returns
AddOrUpdateForm(string, string, string, string, string, string, bool?, UserLevel?)
Adds or updates a form definition.
NOTE: When the definition already exists, non-null parameters and nullable boolean parameters with a value update its scalar properties. The existing definition instance and its child collections are preserved.
public static FormDef AddOrUpdateForm(string Name, string TitleKey = null, string Module = null, string ClassName = null, string Group = null, string ItemClassName = null, bool? IsReadOnly = null, UserLevel? SecurityLevel = null)
Parameters
NamestringTitleKeystringModulestringClassNamestringGroupstringItemClassNamestringIsReadOnlybool?SecurityLevelUserLevel?
Returns
CreateDataForm(string)
Creates a DataForm instance based on the name of a definition.
public static DataForm CreateDataForm(string Name)
Parameters
Namestring