[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Designer.LayoutMode

LayoutMode Property

LayoutMode

Gets or sets a value representing the layout mode for the design surface, determining how controls are aligned and interact with the grid.

Declaration
public LayoutMode LayoutMode { get; set; }
Property Value
Type Description
LayoutMode

The layout mode as defined by the LayoutMode enumeration.

Remarks

This functionality is currently supported for Section Reports only.

Examples
// Toggle the SnapGrid layout mode
private void ButtonSnapGrid_Click(object sender, EventArgs args)
{
	_designer.LayoutMode = designer.LayoutMode ^ LayoutMode.SnapGrid;
}
// Toggle the SnapLines layout mode
private void ButtonSnapLines_Click(object sender, EventArgs args)
{
	_designer.LayoutMode = designer.LayoutMode ^ LayoutMode.SnapLines;
}