Scheduler for WPF and Silverlight | ComponentOne
C1.WPF.Schedule Namespace / AppointmentWrapPanel Class

In This Topic
    AppointmentWrapPanel Class
    In This Topic
    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 System.Windows.Controls.Orientation property. If System.Windows.Controls.Orientation property is System.Windows.Controls.Orientation.Vertical this panel behaves as the base class. If System.Windows.Controls.Orientation property is System.Windows.Controls.Orientation.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.
    Object Model
    AppointmentWrapPanel Class
    Public Class AppointmentWrapPanel 
       Inherits System.Windows.Controls.WrapPanel
    public class AppointmentWrapPanel : System.Windows.Controls.WrapPanel 
    Inheritance Hierarchy


    See Also