Visual Basic (Declaration) | |
---|---|
Public Property LayoutMode As LayoutMode |
C# | |
---|---|
public LayoutMode LayoutMode {get; set;} |
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.
C# | Copy Code |
---|---|
private void designer1_Load(object sender, System.EventArgs e) { this.designer1.LayoutMode = GrapeCity.ActiveReports.Design.LayoutMode.SnapGrid; } |
VB.NET | Copy Code |
---|---|
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 |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2