Class MonthViewControl
Represents a class which contains the months cells to be displayed in month view.
Implements
Namespace: Syncfusion.UI.Xaml.Scheduler
Assembly: Syncfusion.Scheduler.WinUI.dll
Syntax
public class MonthViewControl : ViewControlBase, IDisposable, INotifyPropertyChanged
Constructors
MonthViewControl()
Initializes a new instance of the MonthViewControl class.
Declaration
public MonthViewControl()
Properties
HeaderControl
Gets or sets the header row control.
Declaration
public ViewHeaderControl HeaderControl { get; set; }
Property Value
Type |
---|
ViewHeaderControl |
WeekNumberColumnWidth
Gets or sets the week number column width.
Declaration
public double WeekNumberColumnWidth { get; set; }
Property Value
Type |
---|
System.Double |
Methods
Dispose(Boolean)
Disposes all the resources used by the MonthViewControl 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
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | The available size. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | The size. |
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()
OnPointerWheelChanged(PointerRoutedEventArgs)
Scrolling the month view on PointerWheelChanged.
Declaration
protected override void OnPointerWheelChanged(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | Pointer events arguments. |