Share via


CalendarView.IsGroupLabelVisible 屬性

定義

取得或設定值,指出當 DisplayMode 為 Year 時,月份名稱是否以月份的第一天顯示,或當 DisplayMode 為 Year 時,年份名稱是否以年份的第一個月顯示。

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" .../>

屬性值

Boolean

bool

如果月份名稱以月份的第一天顯示,則為 true;否則為 false。 預設值為 false

群組卷標的格式可以設定為 FirstOfMonthLabel 屬性 (例如 FirstOfMonthLabelFontSize) 和 FirstOfMonthYearDecadeLabel 属性 (例如 FirstOfYearDecadeLabelFontSize) 。

適用於