Class
DecorationBlock

A class that represents the data context of a highlight item.

Definition

Namespace:Telerik.UI.Xaml.Controls.Scheduler

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class DecorationBlock : DateSpan, INotifyPropertyChanged, IDecorationBlock, IDateSpan

Inheritance: objectViewModelBaseDateSpanDecorationBlock

Derived Classes: DragDropDecorationBlockResizeDecorationBlock

Implements: IDateSpanIDecorationBlockINotifyPropertyChanged

Inherited Members DateSpan.ToString()DateSpan.StartDateSpan.EndViewModelBase.VerifyPropertyName(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.PropertyChanged

Properties

ActualEnd

Gets the end time according to the current time zone.

Declaration

cs-api-definition
public DateTime ActualEnd { get; }

Property Value

DateTime

ActualStart

Gets the start time according to the current time zone.

Declaration

cs-api-definition
public DateTime ActualStart { get; }

Property Value

DateTime

Appointment

Gets or sets the appointment.

Declaration

cs-api-definition
public IAppointment Appointment { get; set; }

Property Value

IAppointment

Implements IDecorationBlock.Appointment

GroupItemInfo

Gets or sets the group item info.

Declaration

cs-api-definition
public IGroupItemInfo GroupItemInfo { get; set; }

Property Value

IGroupItemInfo

Implements IDecorationBlock.GroupItemInfo

Occurrence

Gets or sets the occurrence.

Declaration

cs-api-definition
public DateSpan Occurrence { get; set; }

Property Value

DateSpan

Implements IDecorationBlock.Occurrence

Slot

Gets or sets the slot.

Declaration

cs-api-definition
public Slot Slot { get; set; }

Property Value

Slot

Implements IDecorationBlock.Slot

Methods

Equals(object)

Determines whether the specified object is equal to this instance.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides DateSpan.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current System.Object.

Overrides DateSpan.GetHashCode()

PropertyChangedOverride(string)

Raises this object's ViewModelBase.PropertyChanged event.

Declaration

cs-api-definition
protected override void PropertyChangedOverride(string propertyName)

Parameters

propertyName

string

The property that has a new value.

Overrides ViewModelBase.PropertyChangedOverride(string)