The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxClientReportDesigner.GetPropertyInfo(String, String) Method

Returns information about the specified property of the specified control.

Namespace: DevExpress.XtraReports.Web.Scripts

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


public ASPxDesignerElementSerializationInfo GetPropertyInfo(
    string controlType,
    string path
Public Function GetPropertyInfo(
    controlType As String,
    path As String
) As ASPxDesignerElementSerializationInfo


Name Type Description
controlType String

A string that specifies the control type.

path String

A string that specifies the path to the property.


Type Description

An object that provides property information.


Call the GetPropertyInfo to obtain information about a required property of a report or its element.

The example below demonstrates how to use this method, and then customize properties of a report and label control.

<script type="text/javascript" id="script">
function init(s, e) {
    var info = s.GetPropertyInfo("DevExpress.XtraReports.UI.XtraReport", ["Border Color"]);
    info.disabled = true;

    info = s.GetPropertyInfo("DevExpress.XtraReports.UI.XtraReport", ["Watermark", "Image Alignment"]);
    info.visible = false;

    info = s.GetPropertyInfo("DevExpress.XtraReports.UI.XtraReport", "Export Options.CSV Export Options.Separator");
    info.visible = false;

    info = s.GetPropertyInfo("XRLabel", "Can Grow");
    info.disabled = true;

<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server">        
    <ClientSideEvents Init="init"/> 
See Also