Click or drag to resize
WeekViewDefinition Methods

The WeekViewDefinition type exposes the following members.

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
See Also