ClassDayViewDefinition
Represents a definition of a view that shows a single day in day view mode.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class DayViewDefinition : MultidayViewDefinition, INotifyPropertyChanged, ISlotConvertor
Inheritance: objectViewDefinitionBaseMultidayViewDefinitionDayViewDefinition
Derived Classes:
Implements:
Inherited Members
Constructors
DayViewDefinition()
Declaration
public DayViewDefinition()
Fields
EnableSmallAppointmentRenderingProperty
Identifies the EnableSmallAppointmentRendering dependency property.
Declaration
public static readonly DependencyProperty EnableSmallAppointmentRenderingProperty
Field Value
DependencyProperty
ShowAllDayAreaProperty
Identifies the ShowAllDayArea dependency property.
Declaration
public static readonly DependencyProperty ShowAllDayAreaProperty
Field Value
DependencyProperty
ShowWeekGroupHeadersProperty
Identifies the ShowWeekGroupHeaders dependency property.
Declaration
public static readonly DependencyProperty ShowWeekGroupHeadersProperty
Field Value
DependencyProperty
WeekGroupHeaderStringFormatProperty
Identifies the ShowWeekGroupHeaders dependency property.
Declaration
public static readonly DependencyProperty WeekGroupHeaderStringFormatProperty
Field Value
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
ShowAllDayArea
Gets or sets a value indicating whether the AllDayArea is visible or not.
Declaration
public bool ShowAllDayArea { get; set; }
Property Value
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
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
Methods
CreateInstanceCore()
Creates a new instance of the DayViewDefinition class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)
Creates the recurring slot for DayViewDefinition.
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
formatInfo
The format info provider to be used for formatting.
rangeStart
The start of the visible range.
rangeEnd
The end of the visible range.
currentDate
The current date.
Returns
The formatted string to be displayed as current visible range.
Overrides
FormatWeekGroupHeaderName(IFormatProvider, IList<DateTime>, int)
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
formatInfo
The format info provider to be used for formatting.
dates
weekNumber
Returns
The formatted group name.
Overrides
GetShowWeekGroupHeaders()
This method specify whether WeekHeader should be displayed or not.
Declaration
protected override bool GetShowWeekGroupHeaders()
Returns
True if ShowWeekGroupHeaders is true, otherwise false.
Overrides