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


In This Topic
    IntegralWidth Property (WinCalendar)
    In This Topic
    Gets or sets a boolean value indicating if the width of the control should be adjusted to completely display the visible items.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the width of the control should be adjusted to completely display the visible items.")>
    <CategoryAttribute("Behavior")>
    <DefaultValueAttribute(True)>
    Public Property IntegralWidth As Boolean
    'Usage
     
    Dim instance As WinCalendar
    Dim value As Boolean
     
    instance.IntegralWidth = value
     
    value = instance.IntegralWidth
    [Description("Indicates if the width of the control should be adjusted to completely display the visible items.")]
    [Category("Behavior")]
    [DefaultValue(true)]
    public bool IntegralWidth {get; set;}

    Property Value

    true if the height of the control should be adjusted to completely display the visible items; false if the visible items can be partially displayed. By default, true.
    Remarks

    The IntegralWidth property can also be considered as a "horizontal resizing step ratio". For example, if set to true, when the calendar is horizontally resized, the step will be the width of the individual child items resulting in the visible items always being completely displayed. If set to false, the width of the calendar will be adjusted pixel by pixel thus allow for the visibles item to be partially displayed.

    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