Version

PreferredSize Property (DayOrientedScheduleView)

Gets the preferred size of the DayOrientedScheduleView when it is first dropped on the design surface by default.
Syntax
'Declaration
 
Protected Overridable ReadOnly Property PreferredSize As Size
protected virtual Size PreferredSize {get;}

Property Value

A default size (height, width) as a Size structure for the element at design-time.
Remarks

This property supports the default design-time appearance of the DayOrientedScheduleView. Inheritors may override this property to return a System.Drawing.Size specifying a different preferred size.

This property is not persisted at run-time, and modifying it at run-time will have no effect on the DayOrientedScheduleView's position.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also