Index: Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml =================================================================== diff -u -rb0b7cbccc0c3e51a0a19697aa10f9e622e8fe400 -r06d6b96a642d42ae2165417c3ffebceebb7a5612 --- Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml (.../AvalonDockViewHost.xaml) (revision b0b7cbccc0c3e51a0a19697aa10f9e622e8fe400) +++ Core/Gui/src/Core.Gui/Forms/ViewHost/AvalonDockViewHost.xaml (.../AvalonDockViewHost.xaml) (revision 06d6b96a642d42ae2165417c3ffebceebb7a5612) @@ -59,6 +59,7 @@ Index: Core/Gui/src/Core.Gui/Forms/ViewHost/CustomLayoutAnchorable.cs =================================================================== diff -u -rd6b7ed144b128f034c3a8d18671e42aae9eacc3e -r06d6b96a642d42ae2165417c3ffebceebb7a5612 --- Core/Gui/src/Core.Gui/Forms/ViewHost/CustomLayoutAnchorable.cs (.../CustomLayoutAnchorable.cs) (revision d6b7ed144b128f034c3a8d18671e42aae9eacc3e) +++ Core/Gui/src/Core.Gui/Forms/ViewHost/CustomLayoutAnchorable.cs (.../CustomLayoutAnchorable.cs) (revision 06d6b96a642d42ae2165417c3ffebceebb7a5612) @@ -20,6 +20,7 @@ // All rights reserved. using System.Windows; +using System.Windows.Media; using Xceed.Wpf.AvalonDock.Layout; namespace Core.Gui.Forms.ViewHost @@ -36,12 +37,27 @@ "Symbol", typeof(string), typeof(CustomLayoutAnchorable), new PropertyMetadata(default(string))); /// + /// The font family . + /// + public static readonly DependencyProperty FontFamilyProperty = DependencyProperty.Register( + "FontFamily", typeof(FontFamily), typeof(CustomLayoutDocument), new PropertyMetadata(default(FontFamily))); + + /// /// Gets or sets the symbol. /// public string Symbol { get => (string) GetValue(SymbolProperty); set => SetValue(SymbolProperty, value); } + + /// + /// Gets or sets the font family of the symbol. + /// + public FontFamily FontFamily + { + get => (FontFamily) GetValue(FontFamilyProperty); + set => SetValue(FontFamilyProperty, value); + } } } \ No newline at end of file Index: Core/Gui/test/Core.Gui.Test/Forms/ViewHost/CustomLayoutAnchorableTest.cs =================================================================== diff -u -rabdbd8693fa86216902285daf0c313e89fb43e4a -r06d6b96a642d42ae2165417c3ffebceebb7a5612 --- Core/Gui/test/Core.Gui.Test/Forms/ViewHost/CustomLayoutAnchorableTest.cs (.../CustomLayoutAnchorableTest.cs) (revision abdbd8693fa86216902285daf0c313e89fb43e4a) +++ Core/Gui/test/Core.Gui.Test/Forms/ViewHost/CustomLayoutAnchorableTest.cs (.../CustomLayoutAnchorableTest.cs) (revision 06d6b96a642d42ae2165417c3ffebceebb7a5612) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Windows.Media; using Core.Gui.Forms.ViewHost; using NUnit.Framework; using Xceed.Wpf.AvalonDock.Layout; @@ -33,16 +34,19 @@ { // Setup const string symbol = "123"; + var fontFamily = new FontFamily(); // Call var layoutAnchorable = new CustomLayoutAnchorable { - Symbol = symbol + Symbol = symbol, + FontFamily = fontFamily }; // Assert Assert.IsInstanceOf(layoutAnchorable); Assert.AreEqual(symbol, layoutAnchorable.Symbol); + Assert.AreSame(fontFamily, layoutAnchorable.FontFamily); } } } \ No newline at end of file