menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TimeSlotCell - API Reference

    Show / Hide Table of Contents

    Class TimeSlotCell

    Represents a class which holds the information of a time slot cell.

    Inheritance
    System.Object
    SchedulerCellBase
    TimeSlotCell
    Implements
    ISchedulerCell
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Inherited Members
    SchedulerCellBase.IsSelectedProperty
    SchedulerCellBase.UpdateSelectionVisualState(Boolean)
    SchedulerCellBase.Dispose()
    SchedulerCellBase.OnDragOver(DragEventArgs)
    SchedulerCellBase.OnDrop(DragEventArgs)
    SchedulerCellBase.OnMouseEnter(MouseEventArgs)
    SchedulerCellBase.OnMouseLeave(MouseEventArgs)
    SchedulerCellBase.DateTime
    SchedulerCellBase.IsSelected
    SchedulerCellBase.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.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
    SchedulerCellBase.Dispose(Boolean)

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnContextMenuOpening(ContextMenuEventArgs)

    Occurs when context menu on the element is opened.

    Declaration
    protected override void OnContextMenuOpening(ContextMenuEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Controls.ContextMenuEventArgs e

    Context menu event arguments.

    OnCreateAutomationPeer()

    Methods to create automation peer for TimeSlotCell class.

    Declaration
    protected override AutomationPeer OnCreateAutomationPeer()
    Returns
    Type Description
    System.Windows.Automation.Peers.AutomationPeer

    Time Slot cell automation peer.

    OnKeyDown(KeyEventArgs)

    Occurs on key down.

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e

    The key event args.

    OnLongPressTimerTick(Object, EventArgs)

    Raise when the element is long pressed by mouse.

    Declaration
    protected override 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.

    Overrides
    SchedulerCellBase.OnLongPressTimerTick(Object, EventArgs)

    OnMouseDoubleClick(MouseButtonEventArgs)

    Occurs on mouse double click.

    Declaration
    protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event args.

    OnMouseLeftButtonUp(MouseButtonEventArgs)

    Occurs on mouse left button up.

    Declaration
    protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event args.

    OnMouseRightButtonUp(MouseButtonEventArgs)

    Occurs when the mouse right button is released.

    Declaration
    protected override void OnMouseRightButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Mouse button event args.

    OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

    Occurs on preview mouse left button down.

    Declaration
    protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event args.

    OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

    Occurs on preview mouse left button up.

    Declaration
    protected override void OnPreviewMouseLeftButtonUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event args.

    OnPreviewStylusDown(StylusDownEventArgs)

    Occurs on preview stylus down.

    Declaration
    protected override void OnPreviewStylusDown(StylusDownEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.StylusDownEventArgs e

    The stylus down event args.

    OnPreviewStylusUp(StylusEventArgs)

    Occurs on preview stylus up.

    Declaration
    protected override void OnPreviewStylusUp(StylusEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.StylusEventArgs e

    The stylus down event args.

    OnTouchDown(TouchEventArgs)

    Occurs when a finger touches the cell while the finger is over this element.

    Declaration
    protected override void OnTouchDown(TouchEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.TouchEventArgs e

    The touch down event args.

    Implements

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