I'd like to have the header of each group show in 11 points, but I would like the title of the group that appears at the top of the xamOutlookbar to appear in 16 points. I'm having trouble figuring out how to do this. Any ideas?
The element at the top of the outlookbar is the SelectedGroupHeader so you could put a style that targets that into the Resources of the xamOutlookBar. Note: if you put it up higher and set the Theme it won't end up affecting it because the Theme will provide a local style for that element.
Hi All,
How can I change the Text of the header in xamOutlookbar ? What property I have to call to Add custom text?
Regards, Lello
Hello,
Which header you want to change - SelectedGroupHeader(whici is next to minimize\maximize xamOutlookBar button) or all groups headers?
Regards,
Anastas
Hello Anastas,
Thanks for the reply.I would like to change the text in SelectedGroupHeader with a text other than the button text.
Hello Lello,
See at the attached project. All I do is to copy and paste the defaultStyle for SelectedGroupHeader in XAML(this style is available in DefaultStyles folder in install folder), and one converter which adds the "Selected Group:" string.
If you want to display some text once(regardless of groups selection) you can change this row in style
Content="{Binding Path=(igOutlookBar:XamOutlookBar.OutlookBar).SelectedGroup.Header, RelativeSource={RelativeSource Self},Converter={StaticResource converter}}"
with something other like:
Content="Some Text"
Looks like we replied almost at the same time :)
Hello Anastas,,
I modified your project to manage external events (see attachment)
((TextBlock)this.Resources["OutLookTitle"]).Text = "Some Text";