All docs
V18.2
19.1 (preview)
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
18.1
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDesignerControlsFactory.hideExpressionBindings(String, String[]) Method

Hides the specified properties for the specified control from the Properties panel's Expressions tab.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.2.Web.Scripts.dll

Declaration

public void hideExpressionBindings(
    string controlType,
    params string[] propertyNames
)
Public Sub hideExpressionBindings(
    controlType As String,
    ParamArray propertyNames As String()
)

Parameters

Type Name Description
String controlType

A string that specifies the control type.

String[] propertyNames

An array of strings that specify property names to hide.

Remarks

Handle the CustomizeToolbox event and use the following code to hide the Label control's specific properties from the Expressions tab.

<script type="text/javascript">
    function customizeToolbox(s, e) {
        e.ControlsFactory.hideExpressionBindings("XRLabel", "Font", "ForeColor", "Text", "TextAlignment");
    }
</script>

<dx:ASPxReportDesigner ID="ASPxReportDesigner1" ClientInstanceName="reportDesigner" runat="server">
    <ClientSideEvents CustomizeToolbox="customizeToolbox" />
</dx:ASPxReportDesigner>
See Also