menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ViewChangingEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ViewChangingEventArgs

    Provides data for the ViewChanging event of the SfCalendar control.

    Inheritance
    System.Object
    ViewChangingEventArgs
    Namespace: Syncfusion.WinForms.Input.Events
    Assembly: Syncfusion.SfInput.WinForms.dll
    Syntax
    public class ViewChangingEventArgs : CancelEventArgs

    Constructors

    ViewChangingEventArgs(CalendarViewType, CalendarViewType)

    Initializes a new instance of the ViewChangingEventArgs class.

    Declaration
    public ViewChangingEventArgs(CalendarViewType oldViewType, CalendarViewType newViewType)
    Parameters
    Type Name Description
    CalendarViewType oldViewType

    Current CalendarViewType of SfCalendar

    CalendarViewType newViewType

    New CalendarViewType of SfCalendar.

    Properties

    NewViewType

    Gets or sets a value indicating whether the new CalendarViewType for SfCalendar on ViewChanging.

    Declaration
    public CalendarViewType NewViewType { get; set; }
    Property Value
    Type
    CalendarViewType

    OldViewType

    Gets the old CalendarViewType for SfCalendar on ViewChanging.

    Declaration
    public CalendarViewType OldViewType { get; }
    Property Value
    Type
    CalendarViewType
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved