skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DayViewDefinition

Represents a definition of a view that shows a single day in day view mode.

Inheritance
System.Object
ViewDefinitionBase
MultidayViewDefinition
DayViewDefinition
WeekViewDefinition
Inherited Members
MultidayViewDefinition.GroupHeaderDateStringFormatProperty
MultidayViewDefinition.OrientationProperty
MultidayViewDefinition.MinorTickLengthProperty
MultidayViewDefinition.MajorTickLengthProperty
MultidayViewDefinition.TimerulerMinorTickStringFormatProperty
MultidayViewDefinition.GetOrientation()
MultidayViewDefinition.GetMinorTickLength()
MultidayViewDefinition.GetMajorTickLength()
MultidayViewDefinition.FormatGroupHeaderName(IFormatProvider, Object)
MultidayViewDefinition.GroupHeaderDateStringFormat
MultidayViewDefinition.Orientation
MultidayViewDefinition.MinorTickLength
MultidayViewDefinition.MajorTickLength
MultidayViewDefinition.TimerulerMinorTickStringFormat
MultidayViewDefinition.DateGroupDescription
ViewDefinitionBase.CalendarWeekRuleProperty
ViewDefinitionBase.StretchGroupHeadersProperty
ViewDefinitionBase.TitleProperty
ViewDefinitionBase.LargeChangeIntervalProperty
ViewDefinitionBase.SmallChangeIntervalProperty
ViewDefinitionBase.DayEndTimeProperty
ViewDefinitionBase.DayStartTimeProperty
ViewDefinitionBase.VisibleDaysProperty
ViewDefinitionBase.FirstDayOfWeekProperty
ViewDefinitionBase.MinTimeRulerExtentProperty
ViewDefinitionBase.MaxTimeRulerExtentProperty
ViewDefinitionBase.SubGroupsFilterProperty
ViewDefinitionBase.GroupFilterProperty
ViewDefinitionBase.AppointmentFilterProperty
ViewDefinitionBase.OccurrenceFilterProperty
ViewDefinitionBase.TimerulerMajorTickStringFormatProperty
ViewDefinitionBase.SlotGenarationBehaviorProperty
ViewDefinitionBase.SnapBehaviorProperty
ViewDefinitionBase.ToString()
ViewDefinitionBase.ISlotConvertor.CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)
ViewDefinitionBase.GetMinTimeRulerExtent(Double)
ViewDefinitionBase.GetMaxTimeRulerExtent(Double)
ViewDefinitionBase.PrepareContainerForItemOverride(DependencyObject, Object)
ViewDefinitionBase.GetVisibleRangeStart(DateTime, CultureInfo, Nullable<DayOfWeek>)
ViewDefinitionBase.GetVisibleRangeEnd(DateTime, CultureInfo, Nullable<DayOfWeek>)
ViewDefinitionBase.GetGroupDescriptions()
ViewDefinitionBase.OnPropertyChanged(String)
ViewDefinitionBase.OnPropertyChanged<T>(Expression<Func<T>>)
ViewDefinitionBase.OnPropertyChanged(PropertyChangedEventArgs)
ViewDefinitionBase.CalendarWeekRule
ViewDefinitionBase.StretchGroupHeaders
ViewDefinitionBase.Title
ViewDefinitionBase.LargeChangeInterval
ViewDefinitionBase.SmallChangeInterval
ViewDefinitionBase.FirstDayOfWeek
ViewDefinitionBase.VisibleDays
ViewDefinitionBase.DayEndTime
ViewDefinitionBase.DayStartTime
ViewDefinitionBase.MinTimeRulerExtent
ViewDefinitionBase.MaxTimeRulerExtent
ViewDefinitionBase.SubGroupsFilter
ViewDefinitionBase.GroupFilter
ViewDefinitionBase.AppointmentFilter
ViewDefinitionBase.OccurrenceFilter
ViewDefinitionBase.TimerulerMajorTickStringFormat
ViewDefinitionBase.SlotGenarationBehavior
ViewDefinitionBase.SnapBehavior
ViewDefinitionBase.ShowTimeRuler
ViewDefinitionBase.PropertyChanged
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll

Syntax

public class DayViewDefinition : MultidayViewDefinition, INotifyPropertyChanged, ISlotConvertor

Constructors

DayViewDefinition()

Declaration
public DayViewDefinition()

Fields

EnableSmallAppointmentRenderingProperty

Identifies the EnableSmallAppointmentRendering dependency property.

Declaration
public static readonly DependencyProperty EnableSmallAppointmentRenderingProperty
Field Value
System.Windows.DependencyProperty

ShowAllDayAreaProperty

Identifies the ShowAllDayArea dependency property.

Declaration
public static readonly DependencyProperty ShowAllDayAreaProperty
Field Value
System.Windows.DependencyProperty

ShowWeekGroupHeadersProperty

Identifies the ShowWeekGroupHeaders dependency property.

Declaration
public static readonly DependencyProperty ShowWeekGroupHeadersProperty
Field Value
System.Windows.DependencyProperty

WeekGroupHeaderStringFormatProperty

Identifies the ShowWeekGroupHeaders dependency property.

Declaration
public static readonly DependencyProperty WeekGroupHeaderStringFormatProperty
Field Value
System.Windows.DependencyProperty

Properties

EnableSmallAppointmentRendering

Gets or sets whether appointments with duration smaller than MinorTickLength will be rounded to MinorTickLength.

Declaration
public bool EnableSmallAppointmentRendering { get; set; }
Property Value
System.Boolean

ShowAllDayArea

Gets or sets a value indicating whether the AllDayArea is visible or not.

Declaration
public bool ShowAllDayArea { get; set; }
Property Value
System.Boolean

True if the AllDayArea is visible; false otherwise.

ShowWeekGroupHeaders

Gets or sets a value indicating whether WeekHeader should be visible.

Declaration
public bool ShowWeekGroupHeaders { get; set; }
Property Value
System.Boolean

True if the WeekHeader are visible; false otherwise.

WeekGroupHeaderStringFormat

Gets or sets the format that will be applied on the WeekHeaders.

Declaration
public string WeekGroupHeaderStringFormat { get; set; }
Property Value
System.String

Methods

CreateInstanceCore()

Creates a new instance of the DayViewDefinition class.

Declaration
protected override Freezable CreateInstanceCore()
Returns
System.Windows.Freezable

The new instance.

CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)

Creates the recurring slot for DayViewDefinition.

Declaration
protected override Slot CreateRecurringSlot(IDateSpan from, IDateSpan to, DayOfWeek firstDayOfWeek)
Parameters
IDateSpan from

From.

IDateSpan to

To.

System.DayOfWeek firstDayOfWeek

The first day of week.

Returns
Slot

The recurring slot.

Overrides
ViewDefinitionBase.CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)

FormatVisibleRangeText(IFormatProvider, DateTime, DateTime, DateTime)

Formats the string that represents the current visible range.

Declaration
protected override string FormatVisibleRangeText(IFormatProvider formatInfo, DateTime rangeStart, DateTime rangeEnd, DateTime currentDate)
Parameters
System.IFormatProvider formatInfo

The format info provider to be used for formatting.

System.DateTime rangeStart

The start of the visible range.

System.DateTime rangeEnd

The end of the visible range.

System.DateTime currentDate

The current date.

Returns
System.String

The formatted string to be displayed as current visible range.

Overrides
ViewDefinitionBase.FormatVisibleRangeText(IFormatProvider, DateTime, DateTime, DateTime)

FormatWeekGroupHeaderName(IFormatProvider, IList<DateTime>, Int32)

When overridden in a derived class, this method formats the week group name.

Declaration
protected override string FormatWeekGroupHeaderName(IFormatProvider formatInfo, IList<DateTime> dates, int weekNumber)
Parameters
System.IFormatProvider formatInfo

The format info provider to be used for formatting.

System.Collections.Generic.IList<System.DateTime> dates

System.Int32 weekNumber

Returns
System.String

The formatted group name.

Overrides
ViewDefinitionBase.FormatWeekGroupHeaderName(IFormatProvider, IList<DateTime>, Int32)

GetShowWeekGroupHeaders()

This method specify whether WeekHeader should be displayed or not.

Declaration
protected override bool GetShowWeekGroupHeaders()
Returns
System.Boolean

True if ShowWeekGroupHeaders is true, otherwise false.

Overrides
ViewDefinitionBase.GetShowWeekGroupHeaders()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.