The SchedulerCanvas type exposes the following members.

Constructors

  NameDescription
Public methodSchedulerCanvas
Initializes a new instance of the SchedulerCanvas class.

Methods

  NameDescription
Public methodAddHandler
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
(Inherited from UIElement.)
Public methodArrange
Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update.
(Inherited from UIElement.)
Protected methodArrangeOverride
Arranges the content of a Canvas element.
(Inherited from Canvas.)
Public methodCaptureMouse
Attempts to force capture of the mouse to this element.
(Inherited from UIElement.)
Public methodCheckAccess (Inherited from DependencyObject.)
Protected methodClearChildren
Clears the Children collection and performs some base preperations.
(Inherited from SchedulerCanvasBase.)
Public methodClearValue
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindName
Finds an element that has the provided identifier name.
(Inherited from FrameworkElement.)
Public methodGetAnimationBaseValue (Inherited from DependencyObject.)
Public methodGetBindingExpression
Returns the BindingExpression that represents the binding on the specified property.
(Inherited from FrameworkElement.)
Protected methodGetDateTime
Gets the time corresponding to a location on the canvas.
(Overrides SchedulerCanvasBase..::..GetDateTime(Double, Double, TimeEnd).)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Public methodInvalidateArrange
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout()()()().
(Inherited from UIElement.)
Public methodInvalidateMeasure
Invalidates the measurement state (layout) for the element.
(Inherited from UIElement.)
Public methodMeasure
Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update.
(Inherited from UIElement.)
Protected methodMeasureOverride
Measures the child elements of a Canvas in anticipation of arranging them during the ArrangeOverride(Size) pass.
(Inherited from Canvas.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate()()()().
(Inherited from FrameworkElement.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Inherited from UIElement.)
Protected methodOnDaysChanged
Updates the user interface in response to changes to the Days property.
(Overrides SchedulerCanvasBase..::..OnDaysChanged(DependencyPropertyChangedEventArgs).)
Protected methodOnFormatterChangedCore
Changes the style and template of all the schedule elements based on the new formatter.
(Overrides SchedulerCanvasBase..::..OnFormatterChangedCore(DependencyPropertyChangedEventArgs).)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
Public methodReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Protected methodRelayoutCreateHereButton
Performs layout of the "create here" button when a setting or selection changes.
(Inherited from SchedulerCanvasBase.)
Public methodReleaseMouseCapture
Releases the mouse capture, if this element held the capture.
(Inherited from UIElement.)
Protected methodRemoveCreateHereButton
Removes the "create here" button.
(Inherited from SchedulerCanvasBase.)
Public methodRemoveHandler
Removes the specified routed event handler from this element.
(Inherited from UIElement.)
Protected methodSelectStyle
Selects a style for the given SchedulerElement based on the given StyleSelector. If the selector is null, or if it fails to select a style, then the given default style will be returned.
(Inherited from SchedulerCanvasBase.)
Protected methodSelectTemplate
Selects a template for the given SchedulerElement based on the given DataTemplateSelector. If the selector is null, or if it fails to select a template, then the given default template will be returned.
(Inherited from SchedulerCanvasBase.)
Public methodSetBinding (Inherited from FrameworkElement.)
Public methodSetValue
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTransformToVisual (Inherited from UIElement.)
Public methodUpdateLayout
Ensures that all visual child elements of this element are properly updated for layout.
(Inherited from UIElement.)

Fields

  NameDescription
Public fieldStatic memberScheduleItemStyleProperty
Identifies the ScheduleItemStyle property.
Public fieldStatic memberScheduleItemTemplateProperty
Identifies the ScheduleItemTemplate property.
Public fieldStatic memberTimeSlotTemplateProperty
Identifies the TimeSlotTemplate property.

Properties

  NameDescription
Public propertyActualHeight
Gets the rendered height of this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyActualWidth
Gets the rendered width of this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyBackground
Gets or sets a Brush that is used to fill the area between the borders of a Panel. This is a dependency property.
(Inherited from Panel.)
Public propertyCacheMode (Inherited from UIElement.)
Public propertyChildren
Gets a UIElementCollection of child elements of this Panel.
(Inherited from Panel.)
Public propertyClip
Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Inherited from UIElement.)
Public propertyCreateHereButtonStyle
Gets or sets the style for the "create here" button that is displayed when the user hovers over the control. This is a dependency property.
(Inherited from SchedulerCanvasBase.)
Protected propertyCreateHereDayIndex
Gets the day index on which to display the "create here" button.
(Inherited from SchedulerCanvasBase.)
Public propertyCreateHereElementDuration
Gets or sets the duration in minutes for a schedule item that is added useing the "Create here" button. This is a dependency property.
(Inherited from SchedulerCanvasBase.)
Public propertyCreateHereElementStyle
Gets or sets the style for the "new appointment" element that appears when the user clicks the "create here" button. This is a dependency property.
(Inherited from SchedulerCanvasBase.)
Public propertyCreateHereHintContent
Gets or sets the content displayed on the "create here" button that is displayed when the user hovers over the control. This is a dependency property.
(Inherited from SchedulerCanvasBase.)
Protected propertyCreateHereTime
Gets the time at whose location to display the "create here" button.
(Inherited from SchedulerCanvasBase.)
Public propertyCursor
Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyDataContext
Gets or sets the data context for an element when it participates in data binding. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyDays
Gets or sets the per-day data to be represented on the canvas. This member supports the Scheduler control and is not intended for use in your code, but may be referenced in advanced styling and templating scenarios. This is a dependency property.
(Inherited from SchedulerCanvasBase.)
Public propertyDesiredSize
Gets the size that this element computed during the measure pass of the layout process.
(Inherited from UIElement.)
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyEffect
Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property.
(Inherited from UIElement.)
Public propertyFormatter
Gets or sets the Formatter used to provide information about styling various parts of a Scheduler. This is a dependency property.
(Inherited from SchedulerCanvasBase.)
Public propertyHeight
Gets or sets the suggested height of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyHourSlotHeight
Gets or sets the height of each hourly slot.
Public propertyIsHitTestVisible
Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property.
(Inherited from UIElement.)
Public propertyIsItemsHost
Gets or sets a value that indicates that this Panel is a container for user interface (UI) items that are generated by an ItemsControl. This is a dependency property. 
(Inherited from Panel.)
Protected propertyIsMouseDown
Gets whether the mouse button is down over the SchedulerCanvasBase.
(Inherited from SchedulerCanvasBase.)
Public propertyLanguage
Gets or sets localization/globalization language information that applies to an element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMargin
Gets or sets the outer margin of an element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMaxHeight
Gets or sets the maximum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMaxWidth
Gets or sets the maximum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMinHeight
Gets or sets the minimum height constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyMinWidth
Gets or sets the minimum width constraint of the element. This is a dependency property.
(Inherited from FrameworkElement.)
Protected propertyMouseWheelScrollFactor
Gets the amount to scroll the SchedulerCanvasBase in response to the mouse wheel.
(Overrides SchedulerCanvasBase..::..MouseWheelScrollFactor.)
Public propertyName
Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyOpacity
Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property.
(Inherited from UIElement.)
Public propertyOpacityMask
Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyParent
Gets the logical parent element of this element.
(Inherited from FrameworkElement.)
Public propertyProjection (Inherited from UIElement.)
Public propertyRenderSize
Gets (or sets, but see Remarks) the final render size of this element.
(Inherited from UIElement.)
Public propertyRenderTransform
Gets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyRenderTransformOrigin
Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property.
(Inherited from UIElement.)
Public propertyResources
Gets or sets the locally-defined resource dictionary.
(Inherited from FrameworkElement.)
Public propertyRightAreaBuffer
Gets or sets the width of the empty area left to the right of each SchedulerElement.
Public propertyScheduleItemStyle
Gets or sets the Style for schedule items displayed on the canvas. This is a dependency property.
Public propertyScheduleItemTemplate
Gets or sets the DataTemplate. for schedule items displayed on the canvas. This is a dependency property.
Public propertyStyle
Gets or sets the style used by this element when it is rendered. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyTag
Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyTimeSlotTemplate
Gets or sets the DataTemplate for presenting TimeSlot objects on the canvas. This is a dependency property.
Public propertyTriggers
Gets the collection of triggers established directly on this element, or in child elements.
(Inherited from FrameworkElement.)
Public propertyUseLayoutRounding (Inherited from UIElement.)
Public propertyVerticalAlignment
Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property.
(Inherited from FrameworkElement.)
Public propertyVisibility
Gets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Inherited from UIElement.)
Public propertyWidth
Gets or sets the width of the element. This is a dependency property.
(Inherited from FrameworkElement.)

Events

  NameDescription
Public eventBindingValidationError (Inherited from FrameworkElement.)
Public eventGotFocus
Occurs when this element gets logical focus.
(Inherited from UIElement.)
Public eventKeyDown
Occurs when a key is pressed while focus is on this element.
(Inherited from UIElement.)
Public eventKeyUp
Occurs when a key is released while focus is on this element.
(Inherited from UIElement.)
Public eventLayoutUpdated (Inherited from FrameworkElement.)
Public eventLoaded
Occurs when the element is laid out, rendered, and ready for interaction.
(Inherited from FrameworkElement.)
Public eventLostFocus
Occurs when this element loses logical focus.
(Inherited from UIElement.)
Public eventLostMouseCapture
Occurs when this element loses mouse capture.
(Inherited from UIElement.)
Public eventMouseEnter
Occurs when the mouse pointer enters the bounds of this element.
(Inherited from UIElement.)
Public eventMouseLeave
Occurs when the mouse pointer leaves the bounds of this element.
(Inherited from UIElement.)
Public eventMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventMouseLeftButtonPressed
Raised when the user clicks the mouse button.
Public eventMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventMouseMove
Occurs when the mouse pointer moves while over this element.
(Inherited from UIElement.)
Public eventMouseWheel
Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Inherited from UIElement.)
Public eventPropertyChanged
Occurs when a property value changes.
Public eventSizeChanged
Occurs when either the ActualHeight or the ActualWidth properties change value on this element.
(Inherited from FrameworkElement.)

See Also