Skip to main content

ExpressionBindingDescriptor.HidePropertyDescriptions(Type, String[]) Method

Hides the specified property for the specified control from the Properties panel’s Expressions tab.

Namespace: DevExpress.XtraReports.Expressions

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public static void HidePropertyDescriptions(
    Type componentType,
    params string[] propertyNames
)

Parameters

Name Type Description
componentType Type

A Type object that specifies the control type.

propertyNames String[]

An array of strings that specify property names to hide.

Remarks

The following code demonstrates how to hide the Background Color and Tag properties from the End-User Report Designer’s Expressions tab.

DevExpress.XtraReports.Expressions.ExpressionBindingDescriptor.
   HidePropertyDescriptions(typeof(XRLabel), "Tag", "BackColor");

See the ExpressionBindingDescriptor class topic for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HidePropertyDescriptions(Type, String[]) method.

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.

See Also