Skip to main content
A newer version of this page is available. .
Tab

GridColumnDateRangePeriodsSettings.ShowYearsSection Property

Specifies whether the section containing year periods is displayed in the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool ShowYearsSection { get; set; }

Property Value

Type Default Description
Boolean **true**

true, if the section is visible, otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowYearsSection
ASP.NET Controls and MVC Extensions TreeListColumnSettingsHeaderFilter
.DateRangePeriodsSettings .ShowYearsSection
CardViewDataColumnHeaderFilterSettings
.DateRangePeriodsSettings .ShowYearsSection
GridViewDataColumnHeaderFilterSettings
.DateRangePeriodsSettings .ShowYearsSection
VerticalGridDataRowHeaderFilterSettings
.DateRangePeriodsSettings .ShowYearsSection
ASP.NET Bootstrap Controls BootstrapCardViewDataColumnHeaderFilterSettings
.DateRangePeriodsSettings .ShowYearsSection
BootstrapGridViewDataColumnHeaderFilterSettings
.DateRangePeriodsSettings .ShowYearsSection

Remarks

Use the ShowYearsSection property to specify whether the Years section, which contains the Last Year, This Year, and Next Year items, is visible in the header filter.

DateRangeHeaderFilter_Periods

See Also