Class TimelineViewDefinition
Represents a definition of a view that shows customizable number of days as in day view mode.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public sealed class TimelineViewDefinition : MultidayViewDefinition, INotifyPropertyChanged, ISlotConvertor
Constructors
TimelineViewDefinition()
Declaration
public TimelineViewDefinition()
Fields
ApplyStartEndTimeToEachDayProperty
Identifies the ApplyStartEndTimeToEachDay dependency property.
Declaration
public static readonly DependencyProperty ApplyStartEndTimeToEachDayProperty
Field Value
System.Windows.DependencyProperty
|
GroupTickLengthProperty
Identifies the GroupTickLength dependency property.
Declaration
public static readonly DependencyProperty GroupTickLengthProperty
Field Value
System.Windows.DependencyProperty
|
StretchAppointmentsProperty
Identifies the StretchAppointments dependency property.
Declaration
public static readonly DependencyProperty StretchAppointmentsProperty
Field Value
System.Windows.DependencyProperty
|
TimerulerGroupStringFormatProperty
Identifies the TimerulerGroupStringFormat dependency property.
Declaration
public static readonly DependencyProperty TimerulerGroupStringFormatProperty
Field Value
System.Windows.DependencyProperty
The identifier for the TimerulerGroupStringFormat property. |
Properties
ApplyStartEndTimeToEachDay
Gets or sets whether the DayStartTime and DayEndTime properties should be applied to each of the days. This is a dependency property.
Declaration
public bool ApplyStartEndTimeToEachDay { get; set; }
Property Value
System.Boolean
|
DateGroupDescription
Returns null. Timeline view is not allowed to group by date. If you want to group by date use WeekViewDefinition.
Declaration
protected override DateGroupDescription DateGroupDescription { get; }
Property Value
DateGroupDescription
|
Overrides
GroupTickLength
Gets or sets the length of GroupTicks. This is a dependency property.
Declaration
public ITickProvider GroupTickLength { get; set; }
Property Value
ITickProvider
|
StretchAppointments
Gets or sets whether appointments will be stretched or not.
Declaration
public bool StretchAppointments { get; set; }
Property Value
System.Boolean
|
TimerulerGroupStringFormat
Gets or sets the format that will be applied on the time ruler of each group. This is a dependency property.
Declaration
public string TimerulerGroupStringFormat { get; set; }
Property Value
System.String
|
Methods
CreateInstanceCore()
Creates a new instance of the TimelineViewDefinition class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
System.Windows.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
System.IFormatProvider
formatInfo
The format info provider to be used for formatting. |
System.Object
groupName
The group name to format. |
Returns
System.String
The formatted group name. |
Overrides
GetGroupTickLength()
Creates new instance of FixedTickProvider if the GroupTickLength has value. Otherwise, returns the GroupTickLength object.
Declaration
protected ITickProvider GetGroupTickLength()
Returns
ITickProvider
|