GrapeCity.ActiveReports.v9 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Parameter Class : Type Property |
Gets or sets a value that determines the type of input control to be created to collect the parameter value from the user.
'Declaration Public Property Type As Parameter.DataType
public Parameter.DataType Type {get; set;}
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs) { this.Parameters[0].DefaultValue = "Germany"; this.Parameters[0].Key = "country"; this.Parameters[0].Prompt = "Country: "; this.Parameters[0].Tag = "some extra data"; this.Parameters[0].Type = GrapeCity.ActiveReports.SectionReportModel.Parameter.DataType.String; }
Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart Me.Parameters(0).DefaultValue = "Germany" Me.Parameters(0).Key = "country" Me.Parameters(0).Prompt = "Country: " Me.Parameters(0).Tag = "Some extra data" Me.Parameters(0).Type = GrapeCity.ActiveReports.SectionReportModel.Parameter.DataType.String End Sub
Parameter Class
Parameter Members
ActiveReports6~GrapeCity.ActiveReports.Parameter+DataType