Skip to main content

SchedulerPrintStyle.Clone(Boolean) Method

Creates a copy of the current SchedulerPrintStyle object, and if specified, preserves the option that indicates if this is a base style or not.

Namespace: DevExpress.XtraScheduler.Printing

Assembly: DevExpress.XtraScheduler.v24.2.dll

Declaration

public SchedulerPrintStyle Clone(
    bool keepBase
)

Parameters

Name Type Description
keepBase Boolean

true to preserve the SchedulerPrintStyle.BaseStyle property value in the new print style object; otherwise, false.

Returns

Type Description
SchedulerPrintStyle

A SchedulerPrintStyle object which is a copy of the current object.

Remarks

This method creates a new instance of the SchedulerPrintStyle class and copies all the values of the current SchedulerPrintStyle‘s properties to it.

See Also