WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SchedulerCellBase - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SchedulerCellBase

    Represents a class which holds the information of schedule cell.

    Inheritance
    System.Object
    SchedulerCellBase
    MonthCell
    TimeSlotCell
    Implements
    ISchedulerCell
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.dll
    Syntax
    public class SchedulerCellBase : Control, ISchedulerCell, INotifyPropertyChanged, IDisposable

    Constructors

    SchedulerCellBase()

    Initializes a new instance of the SchedulerCellBase class.

    Declaration
    public SchedulerCellBase()

    Fields

    IsSelectedProperty

    Using a DependencyProperty as the backing store for IsSelectedProperty. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty IsSelectedProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    DateTime

    Gets or sets the DateTime of the particular cell.

    Declaration
    public DateTime DateTime { get; set; }
    Property Value
    Type Description
    System.DateTime

    IsSelected

    Gets or sets a value indicating whether specific cell is selected or not.

    Declaration
    public bool IsSelected { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Dispose()

    Disposes all the resources used by TimeSlotCell class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the resources used by TimeSlotCell class.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Indicates whether the call is from Dispose method or from a finalizer.

    OnDragOver(DragEventArgs)

    Declaration
    protected override void OnDragOver(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DragEventArgs e

    OnDrop(DragEventArgs)

    Declaration
    protected override void OnDrop(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DragEventArgs e

    OnLongPressTimerTick(Object, EventArgs)

    Raise when the element is long pressed by mouse.

    Declaration
    protected virtual void OnLongPressTimerTick(object sender, EventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    Represents the System.Windows.Controls.ListViewItem.

    System.EventArgs e

    Contains all the information of event.

    UpdateSelectionVisualState(Boolean)

    Update the visual state for TimeSlotCell.

    Declaration
    public void UpdateSelectionVisualState(bool isSelected = true)
    Parameters
    Type Name Description
    System.Boolean isSelected

    Is Selected.

    Events

    PropertyChanged

    Represents the method that will handle the PropertyChanged event raised when a property is changed on a component.

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

    Implements

    ISchedulerCell
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved