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

Represents definition of a view that shows multiple days as in day view mode.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public abstract class MultidayViewDefinition : ViewDefinitionBase, INotifyPropertyChanged, ISlotConvertor

Inheritance: objectViewDefinitionBaseMultidayViewDefinition

Derived Classes: CustomViewDefinitionDayViewDefinitionTimelineViewDefinition

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.PrepareContainerForItemOverride(DependencyObject, object)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#
protected MultidayViewDefinition()

Fields

Identifies the GroupHeaderDateStringFormat property.

C#
public static readonly DependencyProperty GroupHeaderDateStringFormatProperty
Field Value:

The identifier for the GroupHeaderDateStringFormat property.

MajorTickLengthProperty

DependencyProperty

Identifies the MajorTickLength property.

C#
public static readonly DependencyProperty MajorTickLengthProperty
Field Value:

The identifier for the MajorTickLength property.

MinorTickLengthProperty

DependencyProperty

Identifies the MinorTickLength property.

C#
public static readonly DependencyProperty MinorTickLengthProperty
Field Value:

The identifier for the MinorTickLength property.

OrientationProperty

DependencyProperty

Identifies the Orientation property.

C#
public static readonly DependencyProperty OrientationProperty
Field Value:

The identifier for the Orientation property.

Identifies the TimerulerMinorTickStringFormat property.

C#
public static readonly DependencyProperty TimerulerMinorTickStringFormatProperty
Field Value:

The identifier for the TimerulerMinorTickStringFormat property.

Properties

Gets the Date group description if any. If null is returned, this property is ignored.

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 or sets the major tick length provider.

C#
public ITickProvider MajorTickLength { get; set; }

Gets or sets the minor tick length provider.

C#
public ITickProvider MinorTickLength { get; set; }

Orientation

Orientation

Gets or sets the Orientation property. This is a dependency property.

C#
public Orientation Orientation { get; set; }
Property Value:

Orientation for this view.

Gets or sets the format that will be applied on time ruler Minor Tick.

C#
public string TimerulerMinorTickStringFormat { get; set; }

Methods

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.

Overrides: ViewDefinitionBase.GetMinorTickLength()

GetOrientation()

Orientation

Gets the Orientation of the ViewDefinition (horizontal or vertical).

C#
public override Orientation GetOrientation()
Returns:

Orientation

The Orientation of the ViewDefinition (horizontal or vertical).

Overrides: ViewDefinitionBase.GetOrientation()