diff --git a/BeWo/View/Detail/Accounting/InvoiceOverview.xaml b/BeWo/View/Detail/Accounting/InvoiceOverview.xaml index 62f2b2b70..70ed3fd0b 100644 --- a/BeWo/View/Detail/Accounting/InvoiceOverview.xaml +++ b/BeWo/View/Detail/Accounting/InvoiceOverview.xaml @@ -70,7 +70,11 @@ - + diff --git a/BeWo/View/Detail/Accounting/InvoiceOverview.xaml.cs b/BeWo/View/Detail/Accounting/InvoiceOverview.xaml.cs index f370be0aa..a81149a9f 100644 --- a/BeWo/View/Detail/Accounting/InvoiceOverview.xaml.cs +++ b/BeWo/View/Detail/Accounting/InvoiceOverview.xaml.cs @@ -354,6 +354,23 @@ namespace BeWo.View.Detail.Accounting } } } + + private void TableView_OnCustomRowAppearance(object sender, CustomRowAppearanceEventArgs e) + { + if (e.Property != null && e.Property.Name == "Background") + { + var ib = datagrid_invoices.GetRow(e.RowHandle) as InvoiceBaseVM; + if (ib != null && !String.IsNullOrEmpty(ib.BackgroundColor)) + { + e.Result = new SolidColorBrush((Color)ColorConverter.ConvertFromString(ib.BackgroundColor)); + e.Handled = true; + } + + + } + + //var data = srGridControl.rowhan + } } } \ No newline at end of file diff --git a/BeWo/View/Detail/UserView.xaml b/BeWo/View/Detail/UserView.xaml index d35f59f2e..f8eea7b56 100644 --- a/BeWo/View/Detail/UserView.xaml +++ b/BeWo/View/Detail/UserView.xaml @@ -44,6 +44,10 @@ + + + +