Class
ReportParameterAvailableValues

Represents the available values for a ReportParameter

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public sealed class ReportParameterAvailableValues : IDataItem, IDataFlow, IDataSourceContainer

Inheritance: objectReportParameterAvailableValues

Implements: IDataFlowIDataItemIDataSourceContainer

Constructors

ReportParameterAvailableValues()

TODO: Add documentation.

Declaration

cs-api-definition
public ReportParameterAvailableValues()

Properties

DataSource

Gets or sets the data source used for retrieving the value / label pairs of the available values.

Declaration

cs-api-definition
[TypeConverter(typeof(DataSourceConverter))]
public object DataSource { get; set; }

Property Value

object

Implements IDataSourceContainer.DataSource

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

cs-api-definition
public string DisplayMember { get; set; }

Property Value

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

cs-api-definition
public FilterCollection Filters { get; }

Property Value

FilterCollection

Sorting

TODO: Add documentation.

Declaration

cs-api-definition
[Browsable(false)]
[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

cs-api-definition
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

cs-api-definition
public string ValueMember { get; set; }

Property Value

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()

TODO: Add documentation.

Declaration

cs-api-definition
public override string ToString()

Returns

string

Overrides object.ToString()