skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class Resource

Represents a resource that can be assigned to scheduler appointments in RadScheduler. Resources enable grouping and categorization of appointments by person, room, equipment, or any other entity.

Inheritance
System.Object
Resource
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class Resource : IResource, IDataBoundItem, INotifyPropertyChanged

Constructors

Resource()

Initializes a new instance of the Resource class with default values.

Declaration
public Resource()

Resource(Object, String)

Initializes a new instance of the Resource class with the specified identifier and name.

Declaration
public Resource(object id, string name)
Parameters
System.Object id

The unique identifier of the resource.

System.String name

The display name of the resource.

Resource(EventId, String)

Initializes a new instance of the Resource class with the specified EventId and name.

Declaration
public Resource(EventId id, string name)
Parameters
EventId id

The EventId that uniquely identifies the resource.

System.String name

The display name of the resource.

Properties

Color

Gets or sets the color associated with the resource that is used for visual identification and theming of appointments assigned to this resource.

Declaration
public Color Color { get; set; }
Property Value
System.Drawing.Color

Implements
IResource.Color

DataItem

Gets the data source object that this resource is bound to when using data binding scenarios.

Declaration
public object DataItem { get; }
Property Value
System.Object

Implements
IDataBoundItem.DataItem

Id

Gets or sets the unique identifier of the resource used for data binding and event association.

Declaration
public EventId Id { get; set; }
Property Value
EventId

Implements
IResource.Id

Image

Gets or sets the image associated with the resource that can be displayed in the scheduler interface.

Declaration
public Image Image { get; set; }
Property Value
System.Drawing.Image

Implements
IResource.Image

Name

Gets or sets the display name of the resource that will be shown in the scheduler interface.

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

Implements
IResource.Name

Visible

Gets or sets a value indicating whether this resource is visible in the scheduler interface. When set to false, the resource and its associated appointments will be hidden from view.

Declaration
public bool Visible { get; set; }
Property Value
System.Boolean

Implements
IResource.Visible

Methods

OnPropertyChanged(String)

Raises the PropertyChanged event for the specified property name.

Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String propertyName

The name of the property that changed.

Events

PropertyChanged

Occurs when a property value changes, enabling data binding scenarios.

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

Explicit Interface Implementations

IDataBoundItem.SetDataItem(Object)

Declaration
void IDataBoundItem.SetDataItem(object dataItem)
Parameters
System.Object dataItem

Implements
IDataBoundItem.SetDataItem(Object)

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.