[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.SectionReport.Parameters

Parameters Property

Parameters

Gets a value representing the collection of report parameters.

Declaration
[Browsable(false)]
public ParameterCollection Parameters { get; }
Property Value
Type Description
ParameterCollection

A ParameterCollection value that represents the reference to the collection of data source query parameters.

Examples
var sectionReport = new GrapeCity.ActiveReports.SectionReport();
sectionReport.Document.Printer.PrinterName = String.Empty;
var parameter = new GrapeCity.ActiveReports.SectionReportModel.Parameter 
{ 
	Key = "CategoryKey", 
	Prompt = "Category", 
	Type = Parameter.DataType.String
};
sectionReport.Parameters.Add(parameter);

var result = sectionReport.Parameters["CategoryKey"].Value;