[]
        
(Showing Draft Content)

C1.WPF.Schedule.AppointmentWrapPanel

AppointmentWrapPanel Class

Positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. Subsequent ordering happens sequentially from top to bottom or from right to left, depending on the value of the Orientation property. If Orientation property is Vertical this panel behaves as the base class. If Orientation property is Horizontal then AppointmentWrapPanel tries to position child elements in available space. For example, it doesn't wrap the child to the next line if the next line invisible. Instead, it shows as much as possible in the last visible line. When user clicks on the panel it tries to find and focus child element with x:Name="PART_Subject". It is used for switching appointment element into in-place editing mode.

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
[TemplatePart(Name = "PART_Subject", Type = typeof(TextBox))]
public class AppointmentWrapPanel : WrapPanel, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IWeakEventListener

Constructors

Name Description
AppointmentWrapPanel()

Creates the new instance of the AppointmentWrapPanel class.

Fields

Name Description
DockLastChildToEndProperty

Identifies the DockLastChildToEnd dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

Properties

Name Description
DockLastChildToEnd

The DockLastChildToEnd property determines whether the last child element should be docked to the bottom right corner of the AppointmentWrapPanel. The default value is False. This is a dependency property.

IsReadOnly

Gets or sets a bool value that indicates whether the AppointmentWrapPanel is read-only to a user interacting with the control. This is a dependency property.

Methods

Name Description
ArrangeOverride(Size)

Arranges the content of a AppointmentWrapPanel element.

MeasureOverride(Size)

Measures the child elements of a AppointmentWrapPanel in anticipation of arranging them during the ArrangeOverride(Size) pass.

OnKeyUp(KeyEventArgs)
OnMouseLeave(MouseEventArgs)
OnMouseLeftButtonDown(MouseButtonEventArgs)
OnToolTipOpening(ToolTipEventArgs)

If appointment text is not clipped, sets e.Handled to true in order to do not show tooltip.

ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.