menu

WPF

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

    Show / Hide Table of Contents

    Class DayViewControl

    Represents a class which contains the day cells to be displayed in day view.

    Inheritance
    System.Object
    ViewControlBase
    DayViewControl
    Implements
    System.IDisposable
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ViewControlBase.Dispose()
    ViewControlBase.PropertyChanged
    Namespace: Syncfusion.UI.Xaml.Scheduler
    Assembly: Syncfusion.SfScheduler.WPF.dll
    Syntax
    public class DayViewControl : ViewControlBase, IDisposable, INotifyPropertyChanged

    Constructors

    DayViewControl()

    Initializes a new instance of the DayViewControl class.

    Declaration
    public DayViewControl()

    Properties

    AllDayPanelHeight

    Gets or sets the all day panel height.

    Declaration
    public double AllDayPanelHeight { get; set; }
    Property Value
    Type
    System.Double

    Methods

    ArrangeOverride(Size)

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize
    Returns
    Type
    System.Windows.Size

    Dispose(Boolean)

    Disposes all the resources used by the DayViewControl 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
    ViewControlBase.Dispose(Boolean)

    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
    System.Windows.Size availableSize

    The available size.

    Returns
    Type Description
    System.Windows.Size

    The size.

    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()

    Implements

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