Click or drag to resize
WeekViewDefinition Class
Represents a definition of a view that shows all seven week days as in day view mode.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView (in Telerik.Windows.Controls.ScheduleView.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class WeekViewDefinition : DayViewDefinition

The WeekViewDefinition type exposes the following members.

Constructors
  NameDescription
Public methodWeekViewDefinition
Top
Methods
  NameDescription
Protected methodCreateInstanceCore
Creates a new instance of the WeekViewDefinition class.
(Overrides DayViewDefinitionCreateInstanceCore.)
Protected methodCreateRecurringSlot
Creates the recurring slot for DayViewDefinition.
(Inherited from DayViewDefinition.)
Protected methodFormatGroupHeaderName
If group name is DateTime this method formats the group name using the GroupHeaderDateStringFormat.
(Inherited from MultidayViewDefinition.)
Protected methodFormatVisibleRangeText
When overridden in a derived class, this method formats the string that represents the current visible range.
(Overrides DayViewDefinitionFormatVisibleRangeText(IFormatProvider, DateTime, DateTime, DateTime).)
Protected methodFormatWeekGroupHeaderName
When overridden in a derived class, this method formats the week group name.
(Inherited from DayViewDefinition.)
Protected methodGetGroupDescriptions
Gets the group descriptions.
(Inherited from ViewDefinitionBase.)
Protected methodGetMajorTickLength
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.
(Inherited from MultidayViewDefinition.)
Protected methodGetMaxTimeRulerExtent
Gets the maximum size of the time ruler in pixels.
(Inherited from ViewDefinitionBase.)
Protected methodGetMinorTickLength
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.
(Inherited from MultidayViewDefinition.)
Protected methodGetMinTimeRulerExtent
Gets the minimum size of the time ruler in pixels.
(Inherited from ViewDefinitionBase.)
Public methodGetOrientation
Gets the Orientation of the ViewDefinition (horizontal or vertical).
(Inherited from MultidayViewDefinition.)
Protected methodGetShowWeekGroupHeaders
This method specify whether WeekHeader should be displayed or not.
(Inherited from DayViewDefinition.)
Protected methodGetVisibleRangeEnd
When overridden in the derived class, this method calculated the visible range end using the current date (passed as parameter), a culture and if provided, a specific first day of week.
(Inherited from ViewDefinitionBase.)
Protected methodGetVisibleRangeStart
Calculated the visible range start using the current date (passed as parameter), a culture and if provided, a specific first day of week.
(Overrides ViewDefinitionBaseGetVisibleRangeStart(DateTime, CultureInfo, NullableDayOfWeek).)
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises this object's PropertyChanged event.
(Inherited from ViewDefinitionBase.)
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
(Inherited from ViewDefinitionBase.)
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
(Inherited from ViewDefinitionBase.)
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
(Overrides ViewDefinitionBasePrepareContainerForItemOverride(DependencyObject, Object).)
Public methodToString
Overrides the ToString method.
(Inherited from ViewDefinitionBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
Properties
  NameDescription
Public propertyAppointmentFilter
Gets or sets the filter to be used to filter the appointments.
(Inherited from ViewDefinitionBase.)
Public propertyCalendarWeekRule
Gets or sets the CalendarWeekRule. This property is used in Week number calculation.
(Inherited from ViewDefinitionBase.)
Protected propertyDateGroupDescription
Gets the Date group description if any. If null is returned, this property is ignored.
(Inherited from MultidayViewDefinition.)
Public propertyDayEndTime
Gets or sets the time used to indicate the end of the day. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertyDayStartTime
Gets or sets the time used to indicate the start of the day. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertyEnableSmallAppointmentRendering
Gets or sets whether appointments with duration smaller than MinorTickLength will be rounded to MinorTickLength.
(Inherited from DayViewDefinition.)
Public propertyFirstDayOfWeek
Gets or sets a value indicating the First day of week depending on the view definition. If this value is set, it overrides the FirstDayOfWeek property of the ScheduleView and the one, that comes from the culture.
(Inherited from ViewDefinitionBase.)
Public propertyGroupFilter
Gets or sets the filter function (predicate) to be used when filtering the group headers of the ScheduleView.
(Inherited from ViewDefinitionBase.)
Public propertyGroupHeaderDateStringFormat
Gets or sets the format that will be applied on GroupHeader control for date time.
(Inherited from MultidayViewDefinition.)
Public propertyLargeChangeInterval
Gets or sets large change interval. It indicates date time interval with which current view will be increased or decreased. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertyMajorTickLength
Gets or sets the major tick length provider.
(Inherited from MultidayViewDefinition.)
Public propertyMaxTimeRulerExtent
Gets or sets the maximum size of the time ruler in pixels. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertyMinorTickLength
Gets or sets the minor tick length provider.
(Inherited from MultidayViewDefinition.)
Public propertyMinTimeRulerExtent
Gets or sets the minimum size of the time ruler in pixels. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertyOccurrenceFilter
Gets or sets the filter to be used to filter the occurrences.
(Inherited from ViewDefinitionBase.)
Public propertyOrientation
Gets or sets the Orientation property. This is a dependency property.
(Inherited from MultidayViewDefinition.)
Public propertyShowAllDayArea
Gets or sets a value indicating whether the AllDayArea is visible or not.
(Inherited from DayViewDefinition.)
Public propertyShowTimeRuler
Gets or sets a value indicating whether time ruler should be displayed.
(Inherited from ViewDefinitionBase.)
Public propertyShowWeekGroupHeaders
Gets or sets a value indicating whether WeekHeader should be visible.
(Inherited from DayViewDefinition.)
Public propertySlotGenarationBehavior
Gets or sets the SlotGenarationBehavior. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertySmallChangeInterval
Gets or sets small change interval. It indicates date time interval with which current view will be increased or decreased. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertySnapBehavior
Gets or sets the snap behavior.
(Inherited from ViewDefinitionBase.)
Public propertyStretchGroupHeaders
Gets or sets whether GroupHeaders will stretch if there is more space available.
(Inherited from ViewDefinitionBase.)
Public propertySubGroupsFilter
Gets or sets the function (predicate) to be used to filter the already created groups of the ScheduleView.
(Inherited from ViewDefinitionBase.)
Public propertyTimerulerMajorTickStringFormat
Gets or sets the format that will be applied on time ruler Major Tick.
(Inherited from ViewDefinitionBase.)
Public propertyTimerulerMinorTickStringFormat
Gets or sets the format that will be applied on time ruler Minor Tick.
(Inherited from MultidayViewDefinition.)
Public propertyTitle
Gets or sets the Title of the view definition.
(Inherited from ViewDefinitionBase.)
Public propertyVisibleDays
Gets or sets visible days count for this view. It indicates how many dates this view will display. This is a dependency property.
(Inherited from ViewDefinitionBase.)
Public propertyWeekGroupHeaderStringFormat
Gets or sets the format that will be applied on the WeekHeaders.
(Inherited from DayViewDefinition.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
(Inherited from ViewDefinitionBase.)
Top
See Also