CalendarView.IsGroupLabelVisible Property

Definition

Gets or sets a value that indicates whether the month name is shown with the first day of the month when the DisplayMode is Month, or whether the year name is shown with the first month of the year when the DisplayMode is Year.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.CalendarView.IsGroupLabelVisible.

public:
 property bool IsGroupLabelVisible { bool get(); void set(bool value); };
bool IsGroupLabelVisible();

void IsGroupLabelVisible(bool value);
public bool IsGroupLabelVisible { get; set; }
var boolean = calendarView.isGroupLabelVisible;
calendarView.isGroupLabelVisible = boolean;
Public Property IsGroupLabelVisible As Boolean
<CalendarView IsGroupLabelVisible="bool" .../>

Property Value

Boolean

bool

true if the month name is shown with the first day of the month; otherwise, false. The default is false.

The formatting of the group label can be set with the FirstOfMonthLabel properties (for example FirstOfMonthLabelFontSize ) and FirstOfMonthYearDecadeLabel properties (for example FirstOfYearDecadeLabelFontSize ).

Applies to