Postby kmatt » Thu Apr 06, 2017 5:09 am
I thought I would get a notification when a reply was posted, but I did not.
No, not exactly. I've tried several ways:
<Page.Resources>
<ResourceDictionary>
<FontFamily x:Key="EatonLightFont">Arial</FontFamily>
</ResourceDictionary>
</Page.Resources>
<Page.Resources>
<FontFamily x:Key="EatonLightFont">Arial</FontFamily>
</Page.Resources>
Which would then be called out like so:
FontFamily="{StaticResource EatonLightFont}"
inside an element like a Listbox or other control, in the Page, ChildWindow and UserControl elements, and:
<ChildWindow.FontFamily>
<StaticResource ResourceKey="EatonLightFont"/>
</ChildWindow.FontFamily>
In the same places (ChildWindow, UserControl and Page).