ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / PropertyGrid Property
Example

In This Topic
    PropertyGrid Property (Designer)
    In This Topic
    Attaches a System.Windows.Forms.PropertyGrid to the designer to display the properties of an item selected within the designer.
    Syntax
    'Declaration
     
    Public Property PropertyGrid As PropertyGrid
    public PropertyGrid PropertyGrid {get; set;}

    Property Value

    The System.Windows.Forms.PropertyGrid that is attached to the designer. This grid displays the properties of the report item currently selected in the designer, allowing the user to view and modify those properties.
    Remarks
    The PropertyGrid property plays a crucial role in the report design process, providing a user-friendly interface for inspecting and editing the properties of report items. By integrating a System.Windows.Forms.PropertyGrid into the designer, developers can offer end-users a powerful tool for customizing reports to meet their specific requirements.

    This property is essential for enabling interactive report design experiences in applications that incorporate the GrapeCity ActiveReports Designer.

    Example
    This example shows how to integrate the Designer component with a PropertyGrid in a Windows Forms application.
    class MyForm : Form 
    {
    	MyForm()
    	{
    		var designer = new Designer() { Dock = DockStyle.Fill };
    		var propertyGrid = new PropertyGrid { Dock = DockStyle.Right };
    		designer.PropertyGrid = propertyGrid;
    		Controls.Add(designer);
    		Controls.Add(propertyGrid);
    	}
    }
    See Also