I have applied "SmallCaps" as follow, it doesn't seem any effect on in the browser or in a design window. Is there any settings need to be enabled for this ?
<TextBlock Text="Text Here !" Typography.Capitals="SmallCaps"/>
Waiting for you valuable thoughts. Thanks
Answer: 1
I am definitely seeing a difference with SmallCaps and AllSmallCaps. The rest of the values don't seem to do anything. It could depend on the FontFamily used I suppose. Any way, the following code renders like the screen shot below.
<ContentControl FontSize="18" FontFamily="Segoe UI"> <StackPanel> <TextBlock Text="Writing Some Text Here in the Text Block. AllPetiteCaps" Typography.Capitals="AllPetiteCaps"></TextBlock> <TextBlock Text="Writing Some Text Here in the Text Block. AllSmallCaps" Typography.Capitals="AllSmallCaps"></TextBlock> <TextBlock Text="Writing Some Text Here in the Text Block. Normal" Typography.Capitals="Normal"></TextBlock> <TextBlock Text="Writing Some Text Here in the Text Block. PetiteCaps" Typography.Capitals="PetiteCaps"></TextBlock> <TextBlock Text="Writing Some Text Here in the Text Block. SmallCaps" Typography.Capitals="SmallCaps"></TextBlock> <TextBlock Text="Writing Some Text Here in the Text Block. Titling" Typography.Capitals="Titling"></TextBlock> <TextBlock Text="Writing Some Text Here in the Text Block. Unicase" Typography.Capitals="Unicase"></TextBlock> </StackPanel> </ContentControl>
by : Henrik Söderlundhttp://stackoverflow.com/users/250605
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog