Version

LeadingAndTrailingDatesVisibility Property

Returns or sets a boolean indicating whether to show days from the month before/after the first/last visible month.
Syntax
'Declaration
 
Public Property LeadingAndTrailingDatesVisibility As Visibility
public Visibility LeadingAndTrailingDatesVisibility {get; set;}
Remarks

Leading and trailing dates are those dates displayed within a group that do not belong that to that particular group. For example, when viewing a gregorian calendar that displays August 2008 with a default first day of week of Sunday, a calendar has space available to show the 27-31 of July (leading) and the 1-6 of September (trailing). By default leading and trailing dates are displayed within the first and last Infragistics.Controls.Editors.Primitives.CalendarItemGroup within the control.

Note: The default template for the CalendarBase uses a Infragistics.Controls.Editors.Primitives.CalendarItemGroupPanel that ensures that only the first and last CalendarItemGroup instances have their Infragistics.Controls.Editors.Primitives.CalendarItemGroup.ShowTrailingDates and Infragistics.Controls.Editors.Primitives.CalendarItemGroup.ShowLeadingDates initialized based on this property. If you retemplate the control to directly contain CalendarItemGroup instances you will need to control which groups use this property.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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