Class SchedulerCellBase
Represents a class which holds the information of schedule cell.
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
Identifies the IsSelectedProperty dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
Type | Description |
---|---|
System.Windows.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 |
---|---|---|
System.Windows.DragEventArgs | e |
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. |
OnMouseEnter(MouseEventArgs)
Occurs when the mouse pointer enters the cell.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The Mouse event arguments. |
OnMouseLeave(MouseEventArgs)
Occurs when the mouse pointer leaves the cell.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | The Mouse event arguments. |
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 |
---|
System.ComponentModel.PropertyChangedEventHandler |