Back to Devexpress

LookUpValue.Description Property

corelibraries-devexpress-dot-xtrareports-dot-parameters-dot-lookupvalue.md

latest2.6 KB
Original Source

LookUpValue.Description Property

Specifies the parameter value description.

Namespace : DevExpress.XtraReports.Parameters

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DataMember]
[XRLocalizable(true)]
public string Description { get; set; }
vb
<DataMember>
<XRLocalizable(True)>
Public Property Description As String

Property Value

TypeDescription
String

A String value.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Description property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

reporting-use-multi-value-parameter-as-table-column-chooser/CS/T333639/SampleReport.cs#L47

csharp
foreach (string column in columns) {
    string description = _reportColumns.Single(lookupValue => lookupValue.Value.Equals(column)).Description;

reporting-use-multi-value-parameter-as-table-column-chooser/VB/T333639/SampleReport.vb#L45

vb
For Each column As String In columns
    Dim description As String = _reportColumns.Single(Function(lookupValue) lookupValue.Value.Equals(column)).Description

See Also

LookUpValue Class

LookUpValue Members

DevExpress.XtraReports.Parameters Namespace