Hello,
When using Shell, where is the FontFamily and FontSize defined for the page title?
You can create a global style in the Styles.xml
like following code.
<Style x:Key="shellTitleStyle" TargetType="Label">
<Setter Property="FontFamily" Value="OpenSans-Semibold" />
<Setter Property="FontSize" Value="Large" />
</Style>
Then you can set the style of shell title.
<Shell.TitleView>
<Label Text="main" Style="{StaticResource shellTitleStyle}"></Label>
</Shell.TitleView>
I have the same question (FontFamily and FontSize definitions) for buttons added to the title area
ToolbarItems
do not have style, if you want to set it, you can do this by handler.
As note: Ask one question at a time
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.