mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Version 4.9.0: Reworked MapPanel child arrangement.
This commit is contained in:
parent
5a05e9284a
commit
ea2cd438fa
2 changed files with 33 additions and 0 deletions
|
|
@ -116,6 +116,14 @@ namespace MapControl
|
|||
renderTransform.Children.Add(new TranslateTransform());
|
||||
|
||||
label = new TextBlock { RenderTransform = renderTransform };
|
||||
if (FontFamily != null)
|
||||
{
|
||||
label.SetBinding(TextBlock.FontFamilyProperty, FontFamilyBinding);
|
||||
}
|
||||
label.SetBinding(TextBlock.FontSizeProperty, FontSizeBinding);
|
||||
label.SetBinding(TextBlock.FontStyleProperty, FontStyleBinding);
|
||||
label.SetBinding(TextBlock.FontStretchProperty, FontStretchBinding);
|
||||
label.SetBinding(TextBlock.FontWeightProperty, FontWeightBinding);
|
||||
label.SetBinding(TextBlock.ForegroundProperty, ForegroundBinding);
|
||||
|
||||
Children.Add(label);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue