WPF

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

    Show / Hide Table of Contents

    Class MonthCell

    Represents a class which holds the information of cell in month view.

    Inheritance
    System.Object
    SchedulerCellBase
    MonthCell
    Implements
    ISchedulerCell
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Inherited Members
    SchedulerCellBase.IsSelectedProperty
    SchedulerCellBase.UpdateSelectionVisualState(Boolean)
    SchedulerCellBase.Dispose()
    SchedulerCellBase.OnDragOver(DragEventArgs)
    SchedulerCellBase.OnDrop(DragEventArgs)
    SchedulerCellBase.DateTime
    SchedulerCellBase.IsSelected
    SchedulerCellBase.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.dll
    Syntax
    public class MonthCell : SchedulerCellBase, ISchedulerCell, INotifyPropertyChanged, IDisposable

    Constructors

    MonthCell()

    Initializes a new instance of the MonthCell class.

    Declaration
    public MonthCell()

    Fields

    ContentTemplateProperty

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

    ContentTemplateSelectorProperty

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

    DayTypeProperty

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

    Properties

    Appointments

    Gets the appointments in MonthCell.

    Declaration
    public List<ScheduleAppointment> Appointments { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<ScheduleAppointment>

    ContentTemplate

    Gets or sets the System.Windows.DataTemplate that defines the visual representation of the month cell.

    Declaration
    public DataTemplate ContentTemplate { get; set; }
    Property Value
    Type Description
    System.Windows.DataTemplate

    The object that defines the visual representation of the resource header view. The registered default is null.

    ContentTemplateSelector

    Gets or sets the template selector for choosing a template based on month cell.

    Declaration
    public DataTemplateSelector ContentTemplateSelector { get; set; }
    Property Value
    Type Description
    System.Windows.Controls.DataTemplateSelector

    A custom System.Windows.Controls.DataTemplateSelector object that chooses the System.Windows.DataTemplate based on the resource and returns a System.Windows.DataTemplate. The default value is null.

    DateText

    Declaration
    public string DateText { get; set; }
    Property Value
    Type Description
    System.String

    DayType

    Gets or sets a value that specifies the type of the month day type. This is a bindable property.

    Declaration
    public MonthDayType DayType { get; set; }
    Property Value
    Type Description
    MonthDayType

    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 finalizer.

    Overrides
    SchedulerCellBase.Dispose(Boolean)

    OnApplyTemplate()

    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

    OnKeyDown(KeyEventArgs)

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

    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)

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

    OnMouseLeftButtonUp(MouseButtonEventArgs)

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

    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

    OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

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

    OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

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

    OnPreviewStylusDown(StylusDownEventArgs)

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

    OnPreviewStylusUp(StylusEventArgs)

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

    Implements

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