共用方式為


KeepTogether 屬性

Gets a Boolean value that indicates whether the entire subreport should be kept together in one page if possible.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Property KeepTogether As Boolean
    Get
    Set
'用途
Dim instance As Subreport
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)

屬性值

型別:System. . :: . .Boolean
A Boolean value.