From 89df89db11044be47880ff438fdc985cb0ff1371 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Sat, 19 Oct 2019 17:54:32 -0500 Subject: [PATCH] HyperlinkColumn should bind to HorizontalContentAlignment prop (not HorizontalAlignment) --- .../Columns/FrameworkElementColumns/HyperlinkColumn.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/client/spark/view/Controls/DIYGrid/Columns/FrameworkElementColumns/HyperlinkColumn.cs b/src/client/spark/view/Controls/DIYGrid/Columns/FrameworkElementColumns/HyperlinkColumn.cs index 2b6b62bf0..d6f70b2bb 100644 --- a/src/client/spark/view/Controls/DIYGrid/Columns/FrameworkElementColumns/HyperlinkColumn.cs +++ b/src/client/spark/view/Controls/DIYGrid/Columns/FrameworkElementColumns/HyperlinkColumn.cs @@ -1,9 +1,6 @@ using mbts.spark.filters; -using mbts.ui.converters; using System.Windows; -using System.Windows.Controls; using System.Windows.Data; -using System.Windows.Media; namespace mbts.ui.controls { partial class DIYGrid { @@ -29,7 +26,7 @@ namespace mbts.ui.controls { hl.SetBinding(HyperlinkCell.TextProperty, _binding); hl.SetBinding(HyperlinkCell.FontFamilyProperty, new Binding(nameof(font_family)) { Source = this }); hl.SetBinding(HyperlinkCell.FontSizeProperty, new Binding(nameof(font_size)) { Source = this }); - hl.SetBinding(HyperlinkCell.HorizontalAlignmentProperty, new Binding(nameof(horizontal_alignment)) { Source = this }); + hl.SetBinding(HyperlinkCell.HorizontalContentAlignmentProperty, new Binding(nameof(horizontal_alignment)) { Source = this }); hl.SetBinding(HyperlinkCell.CommandProperty, _command_binding); hl.SetBinding(HyperlinkCell.WidthProperty, new Binding(nameof(ActualWidth)) { Source = this }); hl.SetBinding(HyperlinkCell.BackgroundProperty, new Binding(nameof(background_brush)) { Source = this });