Linked Questions
24 questions linked to/from Apply stroke to a textblock in WPF
3 votes
1 answer
760 views
Apply stroke to a TextBlock (Windows 8)
How do you apply stroke (outline around text) to a TextBlock in XAML in a Windows 8 store app (not WPF)? A very similar question was asked in 2008, but the suggested solution from Apply stroke to a ...
1 vote
3 answers
1k views
How to set a namespace for custom control
I have been implementing this solution explained here to make an outlinedTextbox. I have created a test project and added directly in the main namespace and it works. Now I want to add it to a ...
0 votes
1 answer
825 views
Can I have a stroke around the letters in a TextBlock?
Is there any way I can add a stroke to the letters of a TextBlock, but I can't seem to figure out the properties: <TextBlock Text="Hello World"> <TextBlock.Resources> ...
0 votes
1 answer
801 views
Apply outer outlines to text in WPF
Here there is a demo for a textBlock with an outlines. With the code below I get this result <local:OutlinedTextBlock Stroke="Red" FontSize="16" ...
0 votes
1 answer
405 views
How does a WPF Label Render a String as Text?
I'm attempting to extend a Label control to support stroking the text ( sort of like this questions answer, but I want to extend a Label to do it rather than write a brand new ( ish ) control ). I've ...
0 votes
1 answer
225 views
How can I apply stroke to a textbox in WPF?
I need to apply stroke (outline around text) to a textbox. I have tried some solutions: Edit the template of a textbox, using OutlinedTextblock (a custom control to draw the outlined text), but I ...
0 votes
1 answer
145 views
TextBox how to make it stand out from bitmap below
I have a textBox on an image stacked one above the other. The image may vary and so the text may be hidden by the colour below. I am searching for an effect like the one in the pic so that whatever ...
1 vote
1 answer
95 views
How to put an outlined textBlock (or any other control) in a TextBox
I am using this outlined textBlock that with the solution proposed by Javier G. works like a charm. I put it in a library so now it's HelperLib:OutlinedTextBlock. Now I would like to put it in a ...
1 vote
1 answer
65 views
How to derived from the Effect class
Textblock does not implement the stroke property, and is a sealed class. The most common work-around for this is to create your own textblock class from FrameworkElement. However, I've recently ...