Class ReportParameterAvailableValues
Represents the available values for a ReportParameter
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public sealed class ReportParameterAvailableValues : IDataItem, IDataFlow, IDataSourceContainer
Remarks
The available values, or valid values, are a set of predefined values which are acceptable as value of the parameter. Each available value may have label that will be displayed if the parameter is visible.
Constructors
ReportParameterAvailableValues()
Declaration
public ReportParameterAvailableValues()
Properties
DataSource
Gets or sets the data source used for retrieving the value / label pairs of the available values.
Declaration
public object DataSource { get; set; }
Property Value
System.Object
|
Implements
Remarks
For backwards compatibility reasons Telerik Reporting supports binding directly to IEnumberable/IListSource objects (incl. arrays, collections, DataSet, DataTable, DataView, and DbDataAdapter). Instead consider using the ObjectDataSource component that can handle these types of data sources.
DisplayMember
Gets or sets a string that specifies the property of the data source from which to draw the value labels.
Declaration
public string DisplayMember { get; set; }
Property Value
System.String
|
Remarks
Specifies a column name, expression, or embedded expressions based on the DataSource schema. It is used as label in the value/label pair. If omitted the ValueMember will be used as DisplayMember as well. Optional.
Filters
Gets a FilterCollection that defines the filter expression(s).
Declaration
public FilterCollection Filters { get; }
Property Value
FilterCollection
|
Sorting
Declaration
[Obsolete("Please use Sortings property instead.")]
public SortingCollection Sorting { get; }
Property Value
SortingCollection
|
Sortings
Gets a SortingCollection that defines the sort column(s), and their type and order.
Declaration
public SortingCollection Sortings { get; }
Property Value
SortingCollection
|
ValueMember
Gets or sets a string that specifies the field of the data source from which to draw the values.
Declaration
public string ValueMember { get; set; }
Property Value
System.String
|
Remarks
Specifies a column name, expression, or embedded expressions based on the DataSource schema. It is used as value in the value / label pair.
Methods
ToString()
Declaration
public override string ToString()
Returns
System.String
|
Overrides
Explicit Interface Implementations
IDataFlow.Filters
Declaration
IList<Filter> IDataFlow.Filters { get; }
Returns
System.Collections.Generic.IList<Filter>
|
Implements
IDataFlow.Sortings
Declaration
IList<Sorting> IDataFlow.Sortings { get; }
Returns
System.Collections.Generic.IList<Sorting>
|