Class ViewDefinitionBase
Inheritance
System.Object
ViewDefinitionBase
Assembly: Telerik.WinUI.Controls.dll
Syntax
public abstract class ViewDefinitionBase : DependencyObject, INotifyPropertyChanged, ISlotConvertor
Constructors
Declaration
protected ViewDefinitionBase()
Fields
Declaration
public static readonly DependencyProperty AppointmentFilterProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty CalendarWeekRuleProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty DayEndTimeProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty DayStartTimeProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty FirstDayOfWeekProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty GroupFilterProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty LargeChangeIntervalProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty MaxTimeRulerExtentProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty MinTimeRulerExtentProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty OccurrenceFilterProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty SlotGenarationBehaviorProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty SmallChangeIntervalProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty SnapBehaviorProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty SubGroupsFilterProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Declaration
public static readonly DependencyProperty VisibleDaysProperty
Field Value
|
Microsoft.UI.Xaml.DependencyProperty
|
Properties
Declaration
public Predicate<IAppointment> AppointmentFilter { get; set; }
Property Value
Declaration
public CalendarWeekRule CalendarWeekRule { get; set; }
Property Value
|
System.Globalization.CalendarWeekRule
|
Declaration
protected virtual DateGroupDescription DateGroupDescription { get; }
Property Value
Declaration
public TimeSpan DayEndTime { get; set; }
Property Value
Declaration
public TimeSpan DayStartTime { get; set; }
Property Value
Declaration
public Nullable<DayOfWeek> FirstDayOfWeek { get; set; }
Property Value
|
System.Nullable<System.DayOfWeek>
|
Declaration
public Func<object, bool> GroupFilter { get; set; }
Property Value
|
System.Func<System.Object, System.Boolean>
|
Declaration
public DateTimeInterval LargeChangeInterval { get; set; }
Property Value
Declaration
public double MaxTimeRulerExtent { get; set; }
Property Value
Declaration
public double MinTimeRulerExtent { get; set; }
Property Value
Declaration
public Predicate<IOccurrence> OccurrenceFilter { get; set; }
Property Value
Declaration
public bool ShowTimeRuler { get; set; }
Property Value
Declaration
public SlotGenerationBehavior SlotGenarationBehavior { get; set; }
Property Value
Declaration
public DateTimeInterval SmallChangeInterval { get; set; }
Property Value
Declaration
public SnapBehavior SnapBehavior { get; set; }
Property Value
Declaration
public Func<IGroupInfo, bool> SubGroupsFilter { get; set; }
Property Value
Declaration
public string Title { get; set; }
Property Value
Declaration
public int VisibleDays { get; set; }
Property Value
Methods
Declaration
protected virtual Slot CreateRecurringSlot(IDateSpan from, IDateSpan to, DayOfWeek firstDayOfWeek)
Parameters
Returns
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
Declaration
protected virtual IEnumerable<PropertyGroupDescriptionBase> GetGroupDescriptions()
Returns
Declaration
protected abstract TickProviderBase GetMajorTickLength()
Returns
Declaration
protected virtual double GetMaxTimeRulerExtent(double defaultValue)
Parameters
|
System.Double
defaultValue
|
Returns
Declaration
protected abstract TickProviderBase GetMinorTickLength()
Returns
Declaration
protected virtual double GetMinTimeRulerExtent(double defaultValue)
Parameters
|
System.Double
defaultValue
|
Returns
Declaration
public abstract Orientation GetOrientation()
Returns
|
Microsoft.UI.Xaml.Controls.Orientation
|
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
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
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
|
System.ComponentModel.PropertyChangedEventArgs
e
|
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
|
System.String
propertyName
|
Declaration
protected virtual void OnPropertyChanged<T>(Expression<Func<T>> propertyExpression)
Parameters
|
System.Linq.Expressions.Expression<System.Func<T>>
propertyExpression
|
Type Parameters
Declaration
protected virtual void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
|
Microsoft.UI.Xaml.DependencyObject
element
|
|
System.Object
item
|
Declaration
public override string ToString()
Returns
Events
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
|
System.ComponentModel.PropertyChangedEventHandler
|
Explicit Interface Implementations
Declaration
Slot ISlotConvertor.CreateRecurringSlot(IDateSpan from, IDateSpan to, DayOfWeek firstDayOfWeek)
Parameters
Returns
Implements
Extension Methods