ClassAgendaViewDefinition
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class AgendaViewDefinition : ViewDefinitionBase, INotifyPropertyChanged, ISlotConvertor
Inheritance: objectViewDefinitionBaseAgendaViewDefinition
Implements:
Inherited Members
Constructors
AgendaViewDefinition()
Declaration
public AgendaViewDefinition()
Fields
GroupHeaderDateStringFormatProperty
Identifies the GroupHeaderDateStringFormat property.
Declaration
public static readonly DependencyProperty GroupHeaderDateStringFormatProperty
Field Value
DependencyProperty
The identifier for the GroupHeaderDateStringFormat property.
ShowEmptyDaysProperty
Identifies the ShowEmptyDaysInAgendaView dependency property.
Declaration
public static readonly DependencyProperty ShowEmptyDaysProperty
Field Value
DependencyProperty
Properties
DateGroupDescription
Gets the Date group descriptor for AgendaViewDefinition.
Declaration
protected override DateGroupDescription DateGroupDescription { get; }
Property Value
Overrides
GroupHeaderDateStringFormat
Gets or sets the format that will be applied on GroupHeader control for date time.
Declaration
public string GroupHeaderDateStringFormat { get; set; }
Property Value
ShowEmptyDays
Gets a value that indicates whether days with no appointments are displayed.
Methods
CreateInstanceCore()
Creates a new instance of the AgendaViewDefinition class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
FormatGroupHeaderName(IFormatProvider, object)
If group name is DateTime this method formats the group name using the GroupHeaderDateStringFormat.
Declaration
protected override string FormatGroupHeaderName(IFormatProvider formatInfo, object groupName)
Parameters
formatInfo
The format info provider to be used for formatting.
groupName
The group name to format.
Returns
The formatted group name.
Overrides
GetMajorTickLength()
Gets the length of the major ticks. This value is a provider object that might be auto tick length provider, constant tick length provider or a custom tick length provider.
Declaration
protected override ITickProvider GetMajorTickLength()
Returns
The length of the major ticks.
Overrides
GetMinorTickLength()
Gets the length of the minor ticks. This value is a provider object that might be auto tick length provider, constant tick length provider or a custom tick length provider.
Declaration
protected override ITickProvider GetMinorTickLength()
Returns
The length of the minor ticks. The default value is 1 day.
Overrides
GetOrientation()
Gets the Orientation of the ViewDefinition.
Declaration
public override Orientation GetOrientation()
Returns
Orientation
Horizontal Orientation only.
Overrides
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
element
DependencyObject
Element used to display the specified item.
item
Specified item.
Overrides