Rectangle.KeepTogether Property

Definition

Gets or sets a value that indicates whether the entire contents of the rectangle should be kept together on one page if possible.

public:
 property bool KeepTogether { bool get(); void set(bool value); };
[System.ComponentModel.DefaultValue(false)]
public bool KeepTogether { get; set; }
[<System.ComponentModel.DefaultValue(false)>]
member this.KeepTogether : bool with get, set
Public Property KeepTogether As Boolean

Property Value

True if the entire contents of the rectangle should be kept together; otherwise, false.

Attributes

Applies to