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
Parameters
Name | Type | Description |
---|---|---|
controlType | String | A string that specifies the control type. |
propertyNames | String[] | 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