Coder Social home page Coder Social logo

syncfusionexamples / create-a-roster-scheduler-view-in-wpf Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 0.0 1.22 MB

This repository contains sample to create a roster Scheduler view in WPF

C# 100.00%
scheduler calendar scheduler-view wpf roster-scheduler-view roster roster-management

create-a-roster-scheduler-view-in-wpf's Introduction

Create a Roster Scheduler View in WPF

You can create a roster schedule view using SfScheduler in WPF. A roster schedule is a schedule that provides information about a list of employees and associated information for a given time period.

Creating a roster scheduler

Step 1: Following the getting started UG documentation, create a WPF application and then add SfScheduler control in it.

Step 2: Make the following property changes in the add instance of SfScheduler:

Step 3: Customize the appearance of the appointment using AppointmentTemplate, as explained in the following code example.

Step 4: Make the following property changes in TimelineViewSettings,

        <syncfusion:SfScheduler 
            ViewType="TimelineMonth" 
            ResourceGroupType="Resource">
            <syncfusion:SfScheduler.TimelineViewSettings>
                <syncfusion:TimelineViewSettings>
                    <syncfusion:TimelineViewSettings.AppointmentTemplate>
                        <DataTemplate>
                            <Grid>
                                <Label Foreground="Black" FontWeight="Bold" Content="{Binding Subject}" Grid.Row="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Top"/>
                                <Border Background="{Binding AppointmentBackground}" CornerRadius="5" Height="10" Width="10" HorizontalAlignment="Center" VerticalAlignment="Center" />
                            </Grid>
                        </DataTemplate>
                    </syncfusion:TimelineViewSettings.AppointmentTemplate>
                </syncfusion:TimelineViewSettings>
            </syncfusion:SfScheduler.TimelineViewSettings>
        </syncfusion:SfScheduler>
            scheduler.TimelineViewSettings.ViewHeaderDateFormat = "dd";
            scheduler.TimelineViewSettings.VisibleResourceCount = 5;

Output

RosterSchedulerView

create-a-roster-scheduler-view-in-wpf's People

Contributors

ganeshamoorthy10 avatar jeyasrivijay avatar sarubala20 avatar vinothkumar-ganesan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.