Skip to content

Commit

Permalink
Added FooterTextColor property and use in labels on DataGrid footer (…
Browse files Browse the repository at this point in the history
…Pagination control) (#210)
  • Loading branch information
jldearmas authored Nov 19, 2024
1 parent f66ee18 commit 344ae22
Show file tree
Hide file tree
Showing 7 changed files with 4,330 additions and 1,614 deletions.
2 changes: 1 addition & 1 deletion Maui.DataGrid.Sample/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
BorderColor="{StaticResource GridBorderColor}" BorderThickness="{Binding BorderThickness}"
HeaderBackground="{StaticResource GridHeaderBgColor}" HeaderBordersVisible="{Binding HeaderBordersVisible}"
BackgroundColor="{StaticResource GridBgColor}" ActiveRowColor="{StaticResource ActiveRowColor}"
FooterBackground="{StaticResource GridFooterBgColor}" SortedColumnIndex="1"
FooterBackground="{StaticResource GridFooterBgColor}" FooterTextColor="{StaticResource GridFooterTextColor}" SortedColumnIndex="1"
PaginationEnabled="{Binding PaginationEnabled}" PageSize="{Binding PageSize}" PageText="{Binding PaginationText}" PerPageText="{Binding PerPageText}"
PullToRefreshCommand="{Binding Commands[Refresh]}" IsRefreshing="{Binding IsRefreshing}"
RowHeight="70" HeaderHeight="75" x:Name="_dataGrid1"
Expand Down
1 change: 1 addition & 0 deletions Maui.DataGrid.Sample/Resources/Styles/Colors.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<Color x:Key="ActiveRowColor">#8899AA</Color>
<Color x:Key="GridHeaderBgColor">#E0E6F8</Color>
<Color x:Key="GridFooterBgColor">#E0E6F8</Color>
<Color x:Key="GridFooterTextColor">#404040</Color>
<Color x:Key="GridBorderColor">#CCCCCC</Color>
<Color x:Key="GridBgColor">#CCCCCC</Color>
</ResourceDictionary>
Loading

0 comments on commit 344ae22

Please sign in to comment.