Click or drag to resize

Parameter Class

Parameters are used to configure report templates, outputs and repository security
Inheritance Hierarchy
SystemObject
  Seal.ModelRootEditor
    Seal.ModelRootComponent
      Seal.ModelParameter
        Seal.ModelOutputParameter
        Seal.ModelSecurityParameter

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.1.0+a44cd3a7f03c2bf3cdbd971a878c679e40bed08a
Syntax
C#
public class Parameter : RootComponent

The Parameter type exposes the following members.

Constructors
 NameDescription
Public methodParameterInitializes a new instance of the Parameter class
Top
Properties
 NameDescription
Public propertyBoolValue The boolean parameter value
Public propertyConfigObject Default configuration value
Public propertyDescription The parameter description
Public propertyDisplayName The parameter display name
Public propertyDoubleValue The double parameter value
Public propertyEditorLanguage 
Public propertyEnumDisplays List of enum display values if the parameter is an enum
Public propertyEnums List of string values if the parameter is an enum. Each enum can have an id and an optional display.
Public propertyEnumType If set, the .Net enum type used to build the enum values of the parameter
Public propertyEnumValue The enum parameter value
Public propertyEnumValues List of enum values if the parameter is an enum
Public propertyGUID The unique identifier
(Inherited from RootComponent)
Public propertyHelperResetParameterValue Editor Helper: Reset parameter to its default value
Public propertyIconValue The Font Awesome icon parameter value, edited with a glyph preview in the property grid.
Public propertyIsFontAwesomeIcon True if this parameter holds a Font Awesome icon class (all its enum values are Font Awesome classes). Detected by content rather than by reference, because view parameters get a copy of the enum list.
Public propertyMultipleEnumValues List of values when the parameter value contains multiple enum values ('|' separated)
Public propertyName The name
(Inherited from RootComponent)
Public propertyNumericValue The numeric parameter value
Public propertyResultOptionDisplayName Display name when used as a result option paramter
Public propertyResultOptionName Name when used as a result option paramter
Public propertyShowInResultOptions If true, the parameter value can be modified in the report result dialog
Public propertyTextSamples 
Public propertyTextValue The text parameter value
Public propertyType Parameter type
Public propertyUseOnlyEnumValues If true and the parameter is an enum, only the enum values defined can be selected
Public propertyValue The parameter value
Top
Methods
 NameDescription
Public methodEnumGetDisplayFromValue For an enum, returns the display text from the value
Public methodEnumGetValueFromDisplay For an enum, returns the value from the display text
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetFontAwesomeIcon Resolves a stored icon value to a Font Awesome 6 class. Values already in Font Awesome form (containing "fa-") are returned unchanged; legacy Bootstrap 3 Glyphicon names (optionally prefixed with "glyphicon-") are mapped; anything unknown falls back to a default icon.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInit Init the editor objects
(Inherited from RootEditor)
Public methodInitDefaultValues Init the default values
(Inherited from RootEditor)
Public methodInitEditor Init the editor objects and the default values
(Inherited from RootEditor)
Public methodInitFromConfiguration Init parameter values from a reference
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEditor Update editor attributes
(Inherited from RootEditor)
Protected methodUpdateEditorAttributes Refresh properties attrivutes
(Inherited from RootEditor)
Top
Fields
 NameDescription
Protected field_dctd Type descriptor used to edit the properties in the PropertyGrid, null if the editor is not initialized
(Inherited from RootEditor)
Protected field_GUID Field of the GUID property
(Inherited from RootComponent)
Protected field_name Field of the Name property
(Inherited from RootComponent)
Public fieldStatic memberAutoScrollParameter Name of the view parameter enabling the autoscroll of the execution messages
Public fieldStatic memberChartAddNullPointParameter Name of the view parameter to insert a point with a 0 value in a chart serie when the Y value is NULL
Public fieldStatic memberColumnsHiddenParameter Name of the view parameter defining the list of column numbers to hide in the result table
Public fieldConfigValue String to store the default configuration value
Public fieldStatic memberCSVUtf8Parameter Name of the view parameter to encode the CSV export file in UTF8
Public fieldStatic memberDrillAllParameter Name of the view parameter to apply the Drill navigation to all elements involved in the hierarchy
Public fieldStatic memberDrillEnabledParameter Name of the view parameter enabling the Drill navigation
Public fieldStatic memberEnableResultsMenuParameter Name of the view parameter enabling the Results menu to export the report result
Public fieldStatic memberFontAwesomeIcons Distinct, sorted list of Font Awesome 6 icon classes available as icon enum values.
Public fieldStatic memberForceExecutionParameter Name of the view parameter to force the report execution even if some restrictions are prompted
Public fieldStatic memberForceModelsLoad Name of the view parameter to load and process all models defined in the report during the execution
Public fieldStatic memberForceRefreshParameter Name of the view parameter to refresh the view or model when a View Restriction triggers an execution
Public fieldStatic memberGlyphiconToFontAwesome Maps each legacy Bootstrap 3 Glyphicon name to its Font Awesome 6 (Free) equivalent. Used to migrate stored icon values (e.g. widget_icon) after the Bootstrap 5 / FA6 migration, which dropped the Glyphicons font.
Public fieldStatic memberNavigationView Name of the view parameter defining the view executed when a drill navigation occurs
Public fieldStatic memberReportFormatParameter Name of the view parameter defining the report result format
Public fieldStatic memberRestrictionsExecView Name of the view parameter defining the Root View executed from the Restrictions View
Public fieldStatic memberResultOptionNameTabs Name of the result option parameter defining the tabs to show in the report result
Public fieldStatic memberServerPaginationParameter Name of the view parameter enabling the server pagination for HTML data tables
Public fieldStatic memberSubReportsEnabledParameter Name of the view parameter enabling the Sub-Reports navigation
Top
See Also