Click or drag to resize
ViewDefinitionBase Class
Serves as a base class for all view definitions. Contains common properties for all views.
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 abstract class ViewDefinitionBase : Freezable, 
	INotifyPropertyChanged, ISlotConvertor

The ViewDefinitionBase type exposes the following members.

Constructors
  NameDescription
Protected methodViewDefinitionBase
Top
Methods
  NameDescription
Protected methodCreateRecurringSlot
Creates the recurring slot for base ViewDefinition.
Protected methodFormatGroupHeaderName
When overridden in a derived class, this method formats the group name.
Protected methodFormatVisibleRangeText
When overridden in a derived class, this method formats the string that represents the current visible range.
Protected methodFormatWeekGroupHeaderName
When overridden in a derived class, this method formats the week group name.
Protected methodGetGroupDescriptions
Gets the group descriptions.
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.
Protected methodGetMaxTimeRulerExtent
Gets the maximum size of the time ruler in pixels.
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.
Protected methodGetMinTimeRulerExtent
Gets the minimum size of the time ruler in pixels.
Public methodGetOrientation
Gets the Orientation of the ViewDefinition (horizontal or vertical).
Protected methodGetShowWeekGroupHeaders
When overridden in a derived class, this method specify whether WeekHeader should be displayed or not.
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.
Protected methodGetVisibleRangeStart
When overridden in the derived class, this method calculated the visible range start using the current date (passed as parameter), a culture and if provided, a specific first day of week.
Protected methodOnPropertyChanged(PropertyChangedEventArgs)
Raises this object's PropertyChanged event.
Protected methodOnPropertyChanged(String)
Raises this object's PropertyChanged event.
Protected methodOnPropertyChangedT(ExpressionFuncT)
Raises this object's PropertyChanged event.
Protected methodPrepareContainerForItemOverride
Prepares the specified element to display the specified item.
Public methodToString
Overrides the ToString method.
(Overrides ObjectToString.)
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
Fields
  NameDescription
Public fieldStatic memberAppointmentFilterProperty
Identifies the AppointmentFilter property.
Public fieldStatic memberCalendarWeekRuleProperty
Identifies the CalendarWeekRule dependency property.
Public fieldStatic memberDayEndTimeProperty
Identifies the DayEndTime property.
Public fieldStatic memberDayStartTimeProperty
Identifies the DayStartTime property.
Public fieldStatic memberFirstDayOfWeekProperty
Identifies the FirstDayOfWeek property.
Public fieldStatic memberGroupFilterProperty
Identifies the GroupFilter property.
Public fieldStatic memberLargeChangeIntervalProperty
Identifies the LargeChangeInterval property.
Public fieldStatic memberMaxTimeRulerExtentProperty
Identifies the MaxTimeRulerExtent property.
Public fieldStatic memberMinTimeRulerExtentProperty
Identifies the MinTimeRulerExtent property.
Public fieldStatic memberOccurrenceFilterProperty
Identifies the OccurrenceFilter dependency property.
Public fieldStatic memberSlotGenarationBehaviorProperty
Identifies the SlotGenarationBehavior dependency property.
Public fieldStatic memberSmallChangeIntervalProperty
Identifies the SmallChangeInterval property.
Public fieldStatic memberSnapBehaviorProperty
Identifies the SnapBehavior property.
Public fieldStatic memberStretchGroupHeadersProperty
Identifies the StretchGroupHeaders dependency property.
Public fieldStatic memberSubGroupsFilterProperty
Identifies the SubGroupsFilter property.
Public fieldStatic memberTimerulerMajorTickStringFormatProperty
Identifies the TimerulerMajorTickStringFormat dependency property.
Public fieldStatic memberTitleProperty
Identifies the Title dependency property.
Public fieldStatic memberVisibleDaysProperty
Identifies the VisibleDays property.
Top
Properties
  NameDescription
Public propertyAppointmentFilter
Gets or sets the filter to be used to filter the appointments.
Public propertyCalendarWeekRule
Gets or sets the CalendarWeekRule. This property is used in Week number calculation.
Protected propertyDateGroupDescription
Gets the Date group description if any. If null is returned, this property is ignored.
Public propertyDayEndTime
Gets or sets the time used to indicate the end of the day. This is a dependency property.
Public propertyDayStartTime
Gets or sets the time used to indicate the start of the day. This is a dependency property.
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.
Public propertyGroupFilter
Gets or sets the filter function (predicate) to be used when filtering the group headers of the ScheduleView.
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.
Public propertyMaxTimeRulerExtent
Gets or sets the maximum size of the time ruler in pixels. This is a dependency property.
Public propertyMinTimeRulerExtent
Gets or sets the minimum size of the time ruler in pixels. This is a dependency property.
Public propertyOccurrenceFilter
Gets or sets the filter to be used to filter the occurrences.
Public propertyShowTimeRuler
Gets or sets a value indicating whether time ruler should be displayed.
Public propertySlotGenarationBehavior
Gets or sets the SlotGenarationBehavior. This is a dependency property.
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.
Public propertySnapBehavior
Gets or sets the snap behavior.
Public propertyStretchGroupHeaders
Gets or sets whether GroupHeaders will stretch if there is more space available.
Public propertySubGroupsFilter
Gets or sets the function (predicate) to be used to filter the already created groups of the ScheduleView.
Public propertyTimerulerMajorTickStringFormat
Gets or sets the format that will be applied on time ruler Major Tick.
Public propertyTitle
Gets or sets the Title of the view definition.
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.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also