This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Possibility to export a MudDataGrid or a RadzenDataGrid to CSV or Excel. | |
In my project both DataGrid Types are used, but also only one of it could be used by removing the other. | |
Usage MudDataGrid: var data = Exporter.GetTableData(grid.RenderedColumns, grid.FilteredItems); | |
Usage RadzenDataGrid: var data = Exporter.GetTableData(grid.ColumnsCollection, grid.View); | |
Followed by: var fileContentAsByteArray = Exporter.GenerateCSV(data); // or Exporter.GenerateExcel(data); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<UserControl x:Class="Controls.DateTimePicker" | |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:sys="clr-namespace:System;assembly=mscorlib" | |
mc:Ignorable="d"> | |
<UserControl.Resources> | |
<ResourceDictionary> | |
<controls:InvertBoolConverter x:Key="InvertBoolConverter" /> |