Linked Questions
24 questions linked to/from Apply stroke to a textblock in WPF
0 votes
0 answers
37 views
text with an empty/transparent interior and black sides c# wpf [duplicate]
Image Hello, is there a way to achieve the design shown in the image using XAML code? I'm having difficulty finding a clear answer on this topic. I want to avoid using images in my app. What is the ...
7 votes
4 answers
22k views
How to add a border to the Text inside a TextBlock in WPF?
I am kinda new to WPF, dont know if the question is weird. I wanted to know if its possible to add a border around the text inside a textBlock. EDIT: As per suggestion I have tried both but without ...
8 votes
5 answers
12k views
Outer bevel effect on text in WPF
Is it possible to apply an outer bevel effect to the label text in WPF? as for me, the Glow effect should be sufficient:
8 votes
7 answers
4k views
How to inherit a textblock properties to a custom control in c#
I have a custom wpf control. It is basically a textblock which has an ability to apply fill and stroke to the text. It is already inherited by a class. The problem is that it does not have some ...
10 votes
2 answers
21k views
Windows 8 C#/XAML - Create a border around textblock text
I'm creating an app for the Windows 8 app store and I'm pretty new to the XAML UI stuff. What I want to do is create a black border around the actual text in the textblock. Any help would be greatly ...
5 votes
4 answers
7k views
White font with black border in XAML
as the title says, I would like to have a black font with a white border in my TextBox. How could it be achieved? Cheers.
5 votes
1 answer
6k views
Apply stroke to textblock in XAML
I have a Silverlight app where I want to give my textblock an outline (not the textblock, the characters themselves), otherwise known as stroke. I found this question which works for WPF, but is ...
3 votes
2 answers
5k views
WPF C# How to set formatted text in TextBlock using Text property
I need to set the text of a TextBlock code behind to a string containing formatted text. For example this string: "This is a <Bold>message</Bold> with bold formatted text" If I put this ...
2 votes
4 answers
5k views
How to create a border for the text in the TextBlock?
I want to create a border for the text in the TextBlock. I tried with dropping shadow but It runs into an issue. The issue is with DropShadowPanel. I have reported the issue So I need an alternative ...
5 votes
1 answer
5k views
Text Outlining Using WPF Shader
I tried to google it out, but is there any sample Shader effect which I could use to produce an outlined FormattedText. I was able to get the outline by using BuildGeometry(), but the performance is ...
0 votes
1 answer
4k views
Outlined font effect for text in WPF
I was looking for a way to create an outline for some text in WPF to make it more distinguishable from the background. The original look I am trying to mimick is the following You will notice that the ...
0 votes
1 answer
4k views
How can I extend a TextBlock to display Outlined Text?
My question relates to this question. This question is quite dated, and the answer more so and it feels like it is lacking somewhat. The user created a control from scratch that is lacking somewhat, ...
1 vote
1 answer
3k views
How to outline TextBlock text in Windows Phone 7
I would like to have a TextBlock outlined (add stroke to text, not the TextBlock rectangle) in WP 7.1 but have no clue how to do that.
4 votes
1 answer
459 views
How Remove the Stroke from Arabic character connection position on WPF?
My project use some font like Arabic character, I also need use stroke on the font. I already try some way to display the Stroke, like : https://stackoverflow.com/a/9887123/1900498 (OuterTextBlock) ...
3 votes
1 answer
653 views
Text effect to enhance readability of small fonts
In a view I have a smaller font, foreground is white and background is dark grey. At the moment I use a drop shadow effect like <DropShadowEffect BlurRadius="0" Opacity="0.99" ...