Determines whether the PageBreak is currently enabled.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Enabled As System.Boolean |
C# | |
---|
public System.bool Enabled {get; set;} |
Property Value
Boolean. True if the control is enabled and should create a page break at the specified position; otherwise False.
Example
C# | Copy Code |
---|
private void groupFooter1_Format(object sender, System.EventArgs eArgs)
{
this.pageBreak1.Enabled = false;
} |
Visual Basic | Copy Code |
---|
Private Sub GroupFooter1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupFooter1.Format
Me.PageBreak1.Enabled = False
End Sub |
Requirements
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
See Also