Class SchedulerCellBase
Represents a class which holds the information of schedule cell.
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class SchedulerCellBase : Control, ISchedulerCell, INotifyPropertyChanged, IDisposableConstructors
SchedulerCellBase()
Initializes a new instance of the SchedulerCellBase class.
Declaration
public SchedulerCellBase()Fields
IsSelectedProperty
Identifies the IsSelectedProperty dependency property.
Declaration
public static readonly DependencyProperty IsSelectedPropertyField Value
| Type | Description | 
|---|---|
| Microsoft.UI.Xaml.DependencyProperty | The identifier for IsSelectedProperty dependency property. | 
Properties
DateTime
Gets or sets the DateTime of the particular cell.
Declaration
public DateTime DateTime { get; set; }Property Value
| Type | 
|---|
| 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 | 
|---|
| 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 System.GC.SuppressFinalize(System.Object). | 
OnDragLeave(DragEventArgs)
Declaration
protected override void OnDragLeave(DragEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.UI.Xaml.DragEventArgs | e | 
OnDragOver(DragEventArgs)
Declaration
protected override void OnDragOver(DragEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.UI.Xaml.DragEventArgs | e | 
OnDrop(DragEventArgs)
Declaration
protected override void OnDrop(DragEventArgs e)Parameters
| Type | Name | Description | 
|---|---|---|
| Microsoft.UI.Xaml.DragEventArgs | e | 
OnLongPressTimerTick(Object, Object)
Raise when the element is long pressed by mouse.
Declaration
protected virtual void OnLongPressTimerTick(object sender, object e)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | sender | Represents the Microsoft.UI.Xaml.Controls.ListViewItem. | 
| System.Object | 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 PropertyChangedEvent Type
| Type | 
|---|
| System.ComponentModel.PropertyChangedEventHandler |