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


In This Topic
    MonthMargins Property
    In This Topic
    Gets or sets the width, in pixels, of the margins surrounding each month in the calendar.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The width, in pixels, of the margins surrounding each month in the calendar.")>
    <CategoryAttribute("Appearance")>
    Public Property MonthMargins As Margins
    'Usage
     
    Dim instance As WinCalendar
    Dim value As Margins
     
    instance.MonthMargins = value
     
    value = instance.MonthMargins
    [Description("The width, in pixels, of the margins surrounding each month in the calendar.")]
    [Category("Appearance")]
    public Margins MonthMargins {get; set;}

    Property Value

    A value representing the width, in pixels, of the margins surrounding each month in the calendar. By default, DefaultMonthMargins.
    Remarks

    The spacing between the months may differ from the values of the MonthMargins property in the case where the HorizontalSpacing and VerticalSpacing properties have been set to a value other than 0 (default).

    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