Share via


Rectangle.KeepTogether Property

Gets or sets a value that indicates whether the entire contents of the rectangle should be 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 Rectangle 
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 the entire contents of the rectangle should be kept together; otherwise, false.

See Also

Reference

Rectangle Class

Microsoft.ReportingServices.RdlObjectModel Namespace