@@ -30,6 +30,15 @@ public IView GlobalHeader
3030 public static readonly BindableProperty GlobalHeaderProperty =
3131 BindableProperty . Create ( nameof ( GlobalHeader ) , typeof ( IView ) , typeof ( VirtualListView ) , default ) ;
3232
33+ public bool IsHeaderVisible
34+ {
35+ get => ( bool ) GetValue ( IsHeaderVisibleProperty ) ;
36+ set => SetValue ( IsHeaderVisibleProperty , value ) ;
37+ }
38+
39+ public static readonly BindableProperty IsHeaderVisibleProperty =
40+ BindableProperty . Create ( nameof ( IsHeaderVisible ) , typeof ( bool ) , typeof ( VirtualListView ) , true ) ;
41+
3342 public IView GlobalFooter
3443 {
3544 get => ( IView ) GetValue ( GlobalFooterProperty ) ;
@@ -40,6 +49,15 @@ public IView GlobalFooter
4049 BindableProperty . Create ( nameof ( GlobalFooter ) , typeof ( IView ) , typeof ( VirtualListView ) , default ) ;
4150
4251
52+ public bool IsFooterVisible
53+ {
54+ get => ( bool ) GetValue ( IsFooterVisibleProperty ) ;
55+ set => SetValue ( IsFooterVisibleProperty , value ) ;
56+ }
57+
58+ public static readonly BindableProperty IsFooterVisibleProperty =
59+ BindableProperty . Create ( nameof ( IsFooterVisible ) , typeof ( bool ) , typeof ( VirtualListView ) , true ) ;
60+
4361
4462 public DataTemplate ItemTemplate
4563 {
0 commit comments