ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / LayoutMode Property
Example

In This Topic
    LayoutMode Property (Designer)
    In This Topic
    Gets or sets the value that determines how the end user can lay out controls on the report design surface.
    Syntax
    'Declaration
     
    Public Property LayoutMode As LayoutMode
    public LayoutMode LayoutMode {get; set;}
    Remarks

    Select from an enumerated value:

    • None allows free movement of controls.
    • SnapGrid snaps controls to the grid.
    • SnapLines snaps controls to lines showing alignment to other controls.
    Example
    private void designer1_Load(object sender, System.EventArgs e)
    {
        this.designer1.LayoutMode = GrapeCity.ActiveReports.Design.LayoutMode.SnapGrid;
    }
    Private Sub Designer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Designer1.Load
        Me.Designer1.LayoutMode = GrapeCity.ActiveReports.Design.LayoutMode.SnapGrid
    End Sub
    See Also