Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalendar Class / VerticalSpacing Property


In This Topic
    VerticalSpacing Property
    In This Topic
    Gets or sets, in pixels, the vertical spacing between months.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The vertical spacing between months, in pixels.")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(0)>
    Public Property VerticalSpacing As Integer
    'Usage
     
    Dim instance As WinCalendar
    Dim value As Integer
     
    instance.VerticalSpacing = value
     
    value = instance.VerticalSpacing
    [Description("The vertical spacing between months, in pixels.")]
    [Category("Appearance")]
    [DefaultValue(0)]
    public int VerticalSpacing {get; set;}

    Property Value

    A value representing, in pixels, the vertical spacing between months. By default, 0.
    Remarks

    The space between the months in the calendar may appear to be greater than the value assigned to the VerticalSpacing in the case where the MonthMargins property is modified from its default value.

    The value of the VerticalSpacing property is not taken into consideration if EnableMultipleMonths is set to false.

    Requirements

    Target Platforms: 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