skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ViewDefinitionBase

Inheritance
System.Object
ViewDefinitionBase
AgendaViewDefinition
MonthViewDefinition
MultidayViewDefinition
Namespace: Telerik.UI.Xaml.Controls
Assembly: Telerik.WinUI.Controls.dll

Syntax

public abstract class ViewDefinitionBase : DependencyObject, INotifyPropertyChanged, ISlotConvertor

Constructors

ViewDefinitionBase()

Declaration
protected ViewDefinitionBase()

Fields

AppointmentFilterProperty

Declaration
public static readonly DependencyProperty AppointmentFilterProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

CalendarWeekRuleProperty

Declaration
public static readonly DependencyProperty CalendarWeekRuleProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DayEndTimeProperty

Declaration
public static readonly DependencyProperty DayEndTimeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

DayStartTimeProperty

Declaration
public static readonly DependencyProperty DayStartTimeProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

FirstDayOfWeekProperty

Declaration
public static readonly DependencyProperty FirstDayOfWeekProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

GroupFilterProperty

Declaration
public static readonly DependencyProperty GroupFilterProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

LargeChangeIntervalProperty

Declaration
public static readonly DependencyProperty LargeChangeIntervalProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

MaxTimeRulerExtentProperty

Declaration
public static readonly DependencyProperty MaxTimeRulerExtentProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

MinTimeRulerExtentProperty

Declaration
public static readonly DependencyProperty MinTimeRulerExtentProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

OccurrenceFilterProperty

Declaration
public static readonly DependencyProperty OccurrenceFilterProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SlotGenarationBehaviorProperty

Declaration
public static readonly DependencyProperty SlotGenarationBehaviorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SmallChangeIntervalProperty

Declaration
public static readonly DependencyProperty SmallChangeIntervalProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SnapBehaviorProperty

Declaration
public static readonly DependencyProperty SnapBehaviorProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

StretchGroupHeadersProperty

Declaration
public static readonly DependencyProperty StretchGroupHeadersProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

SubGroupsFilterProperty

Declaration
public static readonly DependencyProperty SubGroupsFilterProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

TimerulerMajorTickStringFormatProperty

Declaration
public static readonly DependencyProperty TimerulerMajorTickStringFormatProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

TitleProperty

Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

VisibleDaysProperty

Declaration
public static readonly DependencyProperty VisibleDaysProperty
Field Value
Microsoft.UI.Xaml.DependencyProperty

Properties

AppointmentFilter

Declaration
public Predicate<IAppointment> AppointmentFilter { get; set; }
Property Value
System.Predicate<IAppointment>

CalendarWeekRule

Declaration
public CalendarWeekRule CalendarWeekRule { get; set; }
Property Value
System.Globalization.CalendarWeekRule

DateGroupDescription

Declaration
protected virtual DateGroupDescription DateGroupDescription { get; }
Property Value
DateGroupDescription

DayEndTime

Declaration
public TimeSpan DayEndTime { get; set; }
Property Value
System.TimeSpan

DayStartTime

Declaration
public TimeSpan DayStartTime { get; set; }
Property Value
System.TimeSpan

FirstDayOfWeek

Declaration
public Nullable<DayOfWeek> FirstDayOfWeek { get; set; }
Property Value
System.Nullable<System.DayOfWeek>

GroupFilter

Declaration
public Func<object, bool> GroupFilter { get; set; }
Property Value
System.Func<System.Object, System.Boolean>

LargeChangeInterval

Declaration
public DateTimeInterval LargeChangeInterval { get; set; }
Property Value
DateTimeInterval

MaxTimeRulerExtent

Declaration
public double MaxTimeRulerExtent { get; set; }
Property Value
System.Double

MinTimeRulerExtent

Declaration
public double MinTimeRulerExtent { get; set; }
Property Value
System.Double

OccurrenceFilter

Declaration
public Predicate<IOccurrence> OccurrenceFilter { get; set; }
Property Value
System.Predicate<IOccurrence>

ShowTimeRuler

Declaration
public bool ShowTimeRuler { get; set; }
Property Value
System.Boolean

SlotGenarationBehavior

Declaration
public SlotGenerationBehavior SlotGenarationBehavior { get; set; }
Property Value
SlotGenerationBehavior

SmallChangeInterval

Declaration
public DateTimeInterval SmallChangeInterval { get; set; }
Property Value
DateTimeInterval

SnapBehavior

Declaration
public SnapBehavior SnapBehavior { get; set; }
Property Value
SnapBehavior

StretchGroupHeaders

Declaration
public bool StretchGroupHeaders { get; set; }
Property Value
System.Boolean

SubGroupsFilter

Declaration
public Func<IGroupInfo, bool> SubGroupsFilter { get; set; }
Property Value
System.Func<IGroupInfo, System.Boolean>

TimerulerMajorTickStringFormat

Declaration
public string TimerulerMajorTickStringFormat { get; set; }
Property Value
System.String

Title

Declaration
public string Title { get; set; }
Property Value
System.String

VisibleDays

Declaration
public int VisibleDays { get; set; }
Property Value
System.Int32

Methods

CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)

Declaration
protected virtual Slot CreateRecurringSlot(IDateSpan from, IDateSpan to, DayOfWeek firstDayOfWeek)
Parameters
IDateSpan from

IDateSpan to

System.DayOfWeek firstDayOfWeek

Returns
Slot

FormatGroupHeaderName(IFormatProvider, Object)

Declaration
protected virtual string FormatGroupHeaderName(IFormatProvider formatInfo, object groupName)
Parameters
System.IFormatProvider formatInfo

System.Object groupName

Returns
System.String

FormatVisibleRangeText(IFormatProvider, DateTime, DateTime, DateTime)

Declaration
protected virtual string FormatVisibleRangeText(IFormatProvider formatInfo, DateTime rangeStart, DateTime rangeEnd, DateTime currentDate)
Parameters
System.IFormatProvider formatInfo

System.DateTime rangeStart

System.DateTime rangeEnd

System.DateTime currentDate

Returns
System.String

FormatWeekGroupHeaderName(IFormatProvider, IList<DateTime>, Int32)

Declaration
protected virtual string FormatWeekGroupHeaderName(IFormatProvider formatInfo, IList<DateTime> dates, int weekNumber)
Parameters
System.IFormatProvider formatInfo

System.Collections.Generic.IList<System.DateTime> dates

System.Int32 weekNumber

Returns
System.String

GetGroupDescriptions()

Declaration
protected virtual IEnumerable<PropertyGroupDescriptionBase> GetGroupDescriptions()
Returns
System.Collections.Generic.IEnumerable<PropertyGroupDescriptionBase>

GetMajorTickLength()

Declaration
protected abstract TickProviderBase GetMajorTickLength()
Returns
TickProviderBase

GetMaxTimeRulerExtent(Double)

Declaration
protected virtual double GetMaxTimeRulerExtent(double defaultValue)
Parameters
System.Double defaultValue

Returns
System.Double

GetMinorTickLength()

Declaration
protected abstract TickProviderBase GetMinorTickLength()
Returns
TickProviderBase

GetMinTimeRulerExtent(Double)

Declaration
protected virtual double GetMinTimeRulerExtent(double defaultValue)
Parameters
System.Double defaultValue

Returns
System.Double

GetOrientation()

Declaration
public abstract Orientation GetOrientation()
Returns
Microsoft.UI.Xaml.Controls.Orientation

GetShowWeekGroupHeaders()

Declaration
protected virtual bool GetShowWeekGroupHeaders()
Returns
System.Boolean

GetVisibleRangeEnd(DateTime, CultureInfo, Nullable<DayOfWeek>)

Declaration
protected virtual DateTime GetVisibleRangeEnd(DateTime currentDate, CultureInfo culture, Nullable<DayOfWeek> firstDayOfWeek)
Parameters
System.DateTime currentDate

System.Globalization.CultureInfo culture

System.Nullable<System.DayOfWeek> firstDayOfWeek

Returns
System.DateTime

GetVisibleRangeStart(DateTime, CultureInfo, Nullable<DayOfWeek>)

Declaration
protected virtual DateTime GetVisibleRangeStart(DateTime currentDate, CultureInfo culture, Nullable<DayOfWeek> firstDayOfWeek)
Parameters
System.DateTime currentDate

System.Globalization.CultureInfo culture

System.Nullable<System.DayOfWeek> firstDayOfWeek

Returns
System.DateTime

OnPropertyChanged(PropertyChangedEventArgs)

Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs e

OnPropertyChanged(String)

Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String propertyName

OnPropertyChanged<T>(Expression<Func<T>>)

Declaration
protected virtual void OnPropertyChanged<T>(Expression<Func<T>> propertyExpression)
Parameters
System.Linq.Expressions.Expression<System.Func<T>> propertyExpression

Type Parameters
T

PrepareContainerForItemOverride(DependencyObject, Object)

Declaration
protected virtual void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Microsoft.UI.Xaml.DependencyObject element

System.Object item

ToString()

Declaration
public override string ToString()
Returns
System.String

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Explicit Interface Implementations

ISlotConvertor.CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)

Declaration
Slot ISlotConvertor.CreateRecurringSlot(IDateSpan from, IDateSpan to, DayOfWeek firstDayOfWeek)
Parameters
IDateSpan from

IDateSpan to

System.DayOfWeek firstDayOfWeek

Returns
Slot

Implements
ISlotConvertor.CreateRecurringSlot(IDateSpan, IDateSpan, DayOfWeek)

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
Support Resources
  • Knowledge Base
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.