Class ExpressReportParamController
A controller for displaying the ExecuteExpressReportParameter parameters to the user for choosing the data they would like to export
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Tasks.Params
Assembly: LemonEdge.ClientCore.dll
Syntax
public class ExpressReportParamController : ReportParamController<ExecuteExpressReportParameter>, IPopupWindowController<ExecuteExpressReportParameter>, IParamViewerController, IPopupWindowController, IController
Constructors
ExpressReportParamController(IParamSingleViewer<ExecuteExpressReportParameter>, ExecuteExpressReportParameter)
Creates a new express report data parameter controller
Declaration
public ExpressReportParamController(IParamSingleViewer<ExecuteExpressReportParameter> window, ExecuteExpressReportParameter param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<ExecuteExpressReportParameter> | window | The parameter popup window for displaying these parameters |
ExecuteExpressReportParameter | param | The initial parameters to display |
Methods
CreateCustomControls(Dictionary<ResultType, short>, short)
Adds a new format control for the Format property
Declaration
protected override IEnumerable<ControlDisplayInfo> CreateCustomControls(Dictionary<SQLWrapperInterpretor.ResultType, short> resultTypePropertyIndexes, short controlIndex)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<SQLWrapperInterpretor.ResultType, short> | resultTypePropertyIndexes | The index to be used for the next bound property value. Should be incremented for each control type created |
short | controlIndex | The index of the next control to create |
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfo> | A new format control for the Format property |
Overrides
SetCustomPropertiesForDisplay(ExecuteExpressReportParameter, ISQLWrapperResult)
Sets displayedValues
to holds the
Format value from paramValues
Declaration
protected override void SetCustomPropertiesForDisplay(ExecuteExpressReportParameter paramValues, ISQLWrapperResult displayedValues)
Parameters
Type | Name | Description |
---|---|---|
ExecuteExpressReportParameter | paramValues | The values to display from this parameter |
ISQLWrapperResult | displayedValues | The class that holds the values being displayed in the viewer |
Overrides
SetCustomPropertiesFromDisplay(ISQLWrapperResult, ExecuteExpressReportParameter)
Sets paramValues
to holds the
Format value from
displayedValues
Declaration
protected override void SetCustomPropertiesFromDisplay(ISQLWrapperResult displayedValues, ExecuteExpressReportParameter paramValues)
Parameters
Type | Name | Description |
---|---|---|
ISQLWrapperResult | displayedValues | The class that holds the values being displayed in the viewer, that we should retrieve if any |
ExecuteExpressReportParameter | paramValues | The values from this parameter that should be set with any custom ones from the display |