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