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


In This Topic
    DefaultMonthMargins Property
    In This Topic
    Gets the default value of the MonthMargins property.
    Syntax
    'Declaration
     
    Protected Friend Overridable ReadOnly Property DefaultMonthMargins As Margins
    'Usage
     
    Dim instance As WinCalendar
    Dim value As Margins
     
    value = instance.DefaultMonthMargins
    protected internal virtual Margins DefaultMonthMargins {get;}

    Property Value

    A Margins value representing the default value of the MonthMargins property. Unless overridden, 2 pixels for the left and riht margins, 0 pixels for the top margin, and 4 pixels for the bottom margin.
    Remarks

    When overriding DefaultMonthMargins in a derived class, the value returned by your implementation should not be dynamic.

    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