Class TimeSlotCell
Represents a class which holds the information of a time slot cell.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class TimeSlotCell : SchedulerCellBase, ISchedulerCell, INotifyPropertyChanged, IDisposable
Constructors
TimeSlotCell()
Initializes a new instance of the TimeSlotCell class.
Declaration
public TimeSlotCell()
Methods
Dispose(Boolean)
Disposes all the resources used by TimeSlotCell class.
Declaration
protected override 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). |
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
protected override void OnApplyTemplate()
OnCreateAutomationPeer()
Methods to create automation peer for TimeSlotCell class.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
| Type | Description |
|---|---|
| Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | Time Slot cell automation peer. |
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Occurs on mouse double click.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e | The mouse button event args. |
OnHolding(HoldingRoutedEventArgs)
Declaration
protected override void OnHolding(HoldingRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.HoldingRoutedEventArgs | e |
OnKeyDown(KeyRoutedEventArgs)
Occurs on key down.
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.KeyRoutedEventArgs | e | The key event args. |
OnLongPressTimerTick(Object, Object)
Raise when the element is long pressed by mouse.
Declaration
protected override 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. |
Overrides
OnPointerEntered(PointerRoutedEventArgs)
Invokes on pointer entered into scheduler cell.
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer routed event arguments. |
OnPointerExited(PointerRoutedEventArgs)
Invokes on pointer exited from scheduler cell.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer routed event arguments. |
OnPointerPressed(PointerRoutedEventArgs)
Occurs on preview mouse left button down.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The mouse button event args. |
OnPointerReleased(PointerRoutedEventArgs)
Occurs on preview mouse left button up.
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The mouse button event args. |
OnRightTapped(RightTappedRoutedEventArgs)
Occurs when the mouse right button is released.
Declaration
protected override void OnRightTapped(RightTappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.RightTappedRoutedEventArgs | e | Mouse button event args. |
OnTapped(TappedRoutedEventArgs)
Occurs on mouse left button up.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.TappedRoutedEventArgs | e | The mouse button event args. |