Class DevExpressReportParamController
A controller for displaying the ExecuteDevExpressReportParameter 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 DevExpressReportParamController : ReportParamController<ExecuteDevExpressReportParameter>, IPopupWindowController<ExecuteDevExpressReportParameter>, IParamViewerController, IPopupWindowController, IController
Constructors
DevExpressReportParamController(IParamSingleViewer<ExecuteDevExpressReportParameter>, ExecuteDevExpressReportParameter)
Creates a new express report data parameter controller
Declaration
public DevExpressReportParamController(IParamSingleViewer<ExecuteDevExpressReportParameter> window, ExecuteDevExpressReportParameter param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<ExecuteDevExpressReportParameter> | window | The parameter popup window for displaying these parameters |
ExecuteDevExpressReportParameter | 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(ExecuteDevExpressReportParameter, ISQLWrapperResult)
Sets displayedValues
to holds the
Format value from paramValues
Declaration
protected override void SetCustomPropertiesForDisplay(ExecuteDevExpressReportParameter paramValues, ISQLWrapperResult displayedValues)
Parameters
Type | Name | Description |
---|---|---|
ExecuteDevExpressReportParameter | paramValues | The values to display from this parameter |
ISQLWrapperResult | displayedValues | The class that holds the values being displayed in the viewer |
Overrides
SetCustomPropertiesFromDisplay(ISQLWrapperResult, ExecuteDevExpressReportParameter)
Sets paramValues
to holds the
Format value from
displayedValues
Declaration
protected override void SetCustomPropertiesFromDisplay(ISQLWrapperResult displayedValues, ExecuteDevExpressReportParameter paramValues)
Parameters
Type | Name | Description |
---|---|---|
ISQLWrapperResult | displayedValues | The class that holds the values being displayed in the viewer, that we should retrieve if any |
ExecuteDevExpressReportParameter | paramValues | The values from this parameter that should be set with any custom ones from the display |