WinUI

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SchedulerResource

    Show / Hide Table of Contents

    Class SchedulerResource

    The class that provides the information to group the appointments in scheduler.

    Inheritance
    System.Object
    SchedulerResource
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.Scheduler.WinUI.dll
    Syntax
    public class SchedulerResource : Object, INotifyPropertyChanged

    Constructors

    SchedulerResource()

    Declaration
    public SchedulerResource()

    Properties

    Background

    Gets or sets the background of resource view header.

    Declaration
    public Brush Background { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.Brush

    Data

    Gets the data object associated with SchedulerResource.

    Declaration
    public object Data { get; }
    Property Value
    Type Description
    System.Object
    Remarks

    When SchedulerResource is created using ResourceMapping, then the data object used to created SchedulerResource assigned to Data property.

    Foreground

    Gets or sets the foreground for resource view header.

    Declaration
    public Brush Foreground { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.Brush

    Id

    Gets or sets the id property to the resource which used to map the resource with appointment using ResourceIdCollection.

    Declaration
    public object Id { get; set; }
    Property Value
    Type Description
    System.Object

    Name

    Gets or sets the name of the resource. The name id displayed in the resource header.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Events

    PropertyChanged

    Property changed event

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged

    See Also

    ResourceIdCollection
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved