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


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

    Property Value

    A value representing, in pixels, the horizontal 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 HorizontalSpacing in the case where the MonthMargins property is modified from its default value.

    The value of the HorizontalSpacing 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