[]
        
(Showing Draft Content)

C1.WPF.Schedule.DaySlotPresenter

DaySlotPresenter Class

Represents a root element of a visual tree generated for a day slot of the C1CalendarItem.

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class DaySlotPresenter : ListBoxItem, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Remarks

A separate DaySlotPresenter element is generated for each DaySlot from the C1.WPF.Schedule.C1CalendarItem.DaySlots collection.

Constructors

Name Description
DaySlotPresenter()

Creates a new instance of DaySlotPresenter.

Fields

Name Description
DateProperty

Identifies the Date dependency property.

EmptyProperty

Identifies the Empty dependency property.

Properties

Name Description
Date

Gets a date representing by the DaySlotPresenter or a null value if the element represents an empty DaySlot.

DaySlot

Gets a DaySlot represented by the DaySlotPresenter.

Empty

Indicates whether the DaySlotPresenter represents an empty DaySlot.

Methods

Name Description
OnContentChanged(object, object)

Overrides the default behavior.

OnCreateAutomationPeer()

Gets an AutomationPeer object used for testing the control.

OnMouseLeftButtonDown(MouseButtonEventArgs)

Overrides the default behavior.