New to Telerik UI for WPFStart a free 30-day trial

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class AgendaViewDefinition : ViewDefinitionBase, INotifyPropertyChanged, ISlotConvertor

Inheritance: objectViewDefinitionBaseAgendaViewDefinition

Implements: INotifyPropertyChangedISlotConvertor

Inherited Members ViewDefinitionBase.CalendarWeekRulePropertyViewDefinitionBase.StretchGroupHeadersPropertyViewDefinitionBase.TitlePropertyViewDefinitionBase.LargeChangeIntervalPropertyViewDefinitionBase.SmallChangeIntervalPropertyViewDefinitionBase.DayEndTimePropertyViewDefinitionBase.DayStartTimePropertyViewDefinitionBase.VisibleDaysPropertyViewDefinitionBase.FirstDayOfWeekPropertyViewDefinitionBase.MinTimeRulerExtentPropertyViewDefinitionBase.MaxTimeRulerExtentPropertyViewDefinitionBase.SubGroupsFilterPropertyViewDefinitionBase.GroupFilterPropertyViewDefinitionBase.AppointmentFilterPropertyViewDefinitionBase.OccurrenceFilterPropertyViewDefinitionBase.TimerulerMajorTickStringFormatPropertyViewDefinitionBase.SlotGenarationBehaviorPropertyViewDefinitionBase.SnapBehaviorPropertyViewDefinitionBase.ToString()ViewDefinitionBase.GetMinTimeRulerExtent(double)ViewDefinitionBase.GetMaxTimeRulerExtent(double)ViewDefinitionBase.FormatVisibleRangeText(IFormatProvider, DateTime, DateTime, DateTime)ViewDefinitionBase.FormatWeekGroupHeaderName(IFormatProvider, IList<DateTime>, int)ViewDefinitionBase.GetShowWeekGroupHeaders()ViewDefinitionBase.CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)ViewDefinitionBase.GetVisibleRangeStart(DateTime, CultureInfo, DayOfWeek?)ViewDefinitionBase.GetVisibleRangeEnd(DateTime, CultureInfo, DayOfWeek?)ViewDefinitionBase.GetGroupDescriptions()ViewDefinitionBase.OnPropertyChanged(string)ViewDefinitionBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewDefinitionBase.OnPropertyChanged(PropertyChangedEventArgs)ViewDefinitionBase.CalendarWeekRuleViewDefinitionBase.StretchGroupHeadersViewDefinitionBase.TitleViewDefinitionBase.LargeChangeIntervalViewDefinitionBase.SmallChangeIntervalViewDefinitionBase.FirstDayOfWeekViewDefinitionBase.VisibleDaysViewDefinitionBase.DayEndTimeViewDefinitionBase.DayStartTimeViewDefinitionBase.MinTimeRulerExtentViewDefinitionBase.MaxTimeRulerExtentViewDefinitionBase.SubGroupsFilterViewDefinitionBase.GroupFilterViewDefinitionBase.AppointmentFilterViewDefinitionBase.OccurrenceFilterViewDefinitionBase.TimerulerMajorTickStringFormatViewDefinitionBase.SlotGenarationBehaviorViewDefinitionBase.SnapBehaviorViewDefinitionBase.ShowTimeRulerViewDefinitionBase.PropertyChanged...

Constructors

C#
public AgendaViewDefinition()

Fields

Identifies the GroupHeaderDateStringFormat property.

C#
public static readonly DependencyProperty GroupHeaderDateStringFormatProperty
Field Value:

The identifier for the GroupHeaderDateStringFormat property.

ShowEmptyDaysProperty

DependencyProperty

Identifies the ShowEmptyDaysInAgendaView dependency property.

C#
public static readonly DependencyProperty ShowEmptyDaysProperty

Properties

Gets the Date group descriptor for AgendaViewDefinition.

C#
protected override DateGroupDescription DateGroupDescription { get; }

Overrides: ViewDefinitionBase.DateGroupDescription

Gets or sets the format that will be applied on GroupHeader control for date time.

C#
public string GroupHeaderDateStringFormat { get; set; }

Gets a value that indicates whether days with no appointments are displayed.

C#
public bool ShowEmptyDays { get; set; }

Methods

Creates a new instance of the AgendaViewDefinition class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

The new instance.

If group name is DateTime this method formats the group name using the GroupHeaderDateStringFormat.

C#
protected override string FormatGroupHeaderName(IFormatProvider formatInfo, object groupName)
Parameters:formatInfoIFormatProvider

The format info provider to be used for formatting.

groupNameobject

The group name to format.

Returns:

string

The formatted group name.

Overrides: ViewDefinitionBase.FormatGroupHeaderName(IFormatProvider, object)

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.

C#
protected override ITickProvider GetMajorTickLength()
Returns:

ITickProvider

The length of the major ticks.

Overrides: ViewDefinitionBase.GetMajorTickLength()

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.

C#
protected override ITickProvider GetMinorTickLength()
Returns:

ITickProvider

The length of the minor ticks. The default value is 1 day.

Overrides: ViewDefinitionBase.GetMinorTickLength()

GetOrientation()

Orientation

Gets the Orientation of the ViewDefinition.

C#
public override Orientation GetOrientation()
Returns:

Orientation

Horizontal Orientation only.

Overrides: ViewDefinitionBase.GetOrientation()

Prepares the specified element to display the specified item.

C#
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObject

Element used to display the specified item.

itemobject

Specified item.

Overrides: ViewDefinitionBase.PrepareContainerForItemOverride(DependencyObject, object)