Share via


DataRegion.KeepTogether Property

Gets or sets a value that indicates whether all sections of the data region are kept together on one page, if possible.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Property KeepTogether As Boolean 
    Get 
    Set
'Usage
Dim instance As DataRegion 
Dim value As Boolean 

value = instance.KeepTogether

instance.KeepTogether = value
public bool KeepTogether { get; set; }
public:
property bool KeepTogether {
    bool get ();
    void set (bool value);
}
member KeepTogether : bool with get, set
function get KeepTogether () : boolean 
function set KeepTogether (value : boolean)

Property Value

Type: System.Boolean
true if all sections of the data region are kept together on one page; otherwise, false.

See Also

Reference

DataRegion Class

Microsoft.ReportingServices.RdlObjectModel Namespace