Imports System.ComponentModel
Imports DevExpress.ExpressApp.Editors
Imports DevExpress.ExpressApp

Public Interface IModelListViewExtender
    <DefaultValue(True)> Property IsGroupFooterVisible() As Boolean
    <CriteriaOptionsAttribute("ModelClass.TypeInfo"), Editor("DevExpress.ExpressApp.Win.Core.ModelEditor.CriteriaModelEditorControl, DevExpress.ExpressApp.Win" & XafApplication.CurrentVersion, GetType(System.Drawing.Design.UITypeEditor))> Property AdditionalCriteria As String
    <DefaultValue(False)> Property RequireCriteriaBeforeView As Boolean
    <DefaultValue("Filter for the {0} ListView")> Property RequireCriteriaBeforeViewCaption As String
    <CriteriaOptionsAttribute("ModelClass.TypeInfo"), Editor("DevExpress.ExpressApp.Win.Core.ModelEditor.CriteriaModelEditorControl, DevExpress.ExpressApp.Win" & XafApplication.CurrentVersion, GetType(System.Drawing.Design.UITypeEditor))> Property RequireCriteriaBeforeViewCriteria As String
    <DefaultValue("{0}: [#image]{1} {2}")> Property GridViewGroupFormat As String
    <DefaultValue(False), Category("Misc")> Property IsCentralListView As Boolean
    <DefaultValue(True), Category("TreeList")> Property TreeListEnableFiltering As Boolean
    <Category("DateYearInFilter"), DefaultValue(False)> Property DefaultDateYearInFilter As Boolean 'Az a képesség, hogy ListView esetén van-e automatikusan adott évre filter szűrő
    <Category("DateYearInFilter")> Property DefaultDateYearInFilterProperty As String 'Az a képesség, hogy ListView esetén van-e automatikusan adott évre szűrő és melyik a dátum szűrése !
    <DefaultValue(True)> Overloads Property IsFooterVisible As Boolean
    <DefaultValue("")> Property Hints As String

    '// Grid nyomtatáshoz
    '// {0} CustomersFrom.FullName alapértelmezettből !
    <Category("GridPrint"), DefaultValue(""), Localizable(True)> Property HeaderLeft As String
    <Category("GridPrint"), DefaultValue(""), Localizable(True)> Property HeaderCenter As String
    <Category("GridPrint"), DefaultValue(""), Localizable(True)> Property HeaderRight As String
    <Category("GridPrint"), DefaultValue(""), Localizable(True)> Property FooterLeft As String
    <Category("GridPrint"), DefaultValue(""), Localizable(True)> Property FooterCenter As String
    <Category("GridPrint"), DefaultValue(""), Localizable(True)> Property FooterRight As String
End Interface
