Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerSmartSyncOptions Class

Contains options specific to the SmartSync Printing feature.

Namespace: DevExpress.Xpf.Scheduler.Reporting

Assembly: DevExpress.Xpf.Scheduler.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

#Declaration

public class SchedulerSmartSyncOptions :
    DependencyObject,
    ISmartSyncOptions,
    INotifyPropertyChanged

#Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

An instance of the SchedulerSmartSyncOptions class is accessed via DXSchedulerPrintAdapter.SmartSyncOptions property. Use the SchedulerSmartSyncOptions.GroupType property to specify the type of grouping data iterations in tri-fold scheduler reports.

See the DXSchedulerPrintAdapter.EnableSmartSync property for more information.

#Example

This example demonstrates how to enable the SmartSync feature for scheduler tri-fold reports (for example, the TrifoldResource.schrepx report that is, by default, placed in C:\Users\Public\Documents\DevExpress Demos 24.2\Components\Data\SchedulerReportTemplates\). Use the DXSchedulerPrintAdapter.EnableSmartSync and DXSchedulerPrintAdapter.SmartSyncOptions properties.

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:dxsch="http://schemas.devexpress.com/winfx/2008/xaml/scheduler"
        Title="MainWindow" Height="491" Width="691" >
    <Grid>
        <!-- ... -->
        <dxsch:SchedulerControl x:Name="scheduler" >
            <!-- ... -->
        </dxsch:SchedulerControl>
        <dxsch:DXSchedulerControlPrintAdapter x:Name="printAdapter" 
                                              SchedulerControl="{Binding ElementName=scheduler}"
                                              EnableSmartSync="True">
            <dxsch:DXSchedulerControlPrintAdapter.SmartSyncOptions>
                <dxsch:SchedulerSmartSyncOptions GroupType="Resource"/>
            </dxsch:DXSchedulerControlPrintAdapter.SmartSyncOptions>
        </dxsch:DXSchedulerControlPrintAdapter>
    </Grid>
</Window>

#Inheritance

See Also