Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
3 votes
2 answers
113 views

Korean text gets cut off in the middle of a word. The whole word should go to the next line. <TextBlock x:Name="IconButtonName" Width="66" Margin="2,2" ...
-1 votes
1 answer
74 views

I want to have a textbox with the following logic: Meaning, some text and the dots until reaching a predetermined width and a number. I am aware that since I am not using a monospaced character the ...
Patrick's user avatar
  • 2,615
0 votes
1 answer
62 views

I'm working with a TextBlock in WPF and need to apply a background color only to the text content without affecting the entire TextBlock. I don't want to use Run or Inline elements because this ...
1 vote
1 answer
188 views

I have a button. On mouse hovering on the button, a textblock used in my project should display some value. Button is defined in the library and that library I am using in my project. In my project I ...
mili's user avatar
  • 27
0 votes
1 answer
44 views

I am using Textblock.Inlines to add a picture and text to a header element. Without going too deep into the code, this is a short example. TextBlock tbHeader = new TextBlock(); Image headerImage = new ...
Vlad SD's user avatar
  • 289
0 votes
1 answer
34 views

In a Xamarin.Forms project for Android and UWP, I want to define an effect for long press (Android) and double click (on UWP). I did all I found for this purpose, defining an appropriate RoutingEffect ...
0 votes
0 answers
71 views

I have created a custom style for Labels in my application, this works fine and I apply a Template to achieve the other set styles that I need, again this works fine. STYLE DEFINITIONS: <Style ...
0 votes
2 answers
68 views

I use a TextBlock within my GroupBox.Header to split my text across multiple lines. However, this means that the border is no longer exactly aligned with the text. The text extends beyond the GroupBox ...
Akin's user avatar
  • 1
0 votes
1 answer
156 views

I have a textblock which has a binding path with a converter, but I am unable to operate that with tab button. Textblock has an Onclick property which opens another page. I want to open that screen ...
0 votes
1 answer
182 views

I want to reduce the width of the tab character in a TextBlock. The tabs are the equivalent of about 8 characters. I want to reduce to approximately 4 spaces. TextBlock textBlock = new TextBlock ...
Colin's user avatar
  • 1
0 votes
1 answer
61 views

When using RenderTargetBitmap to generate a PNG file from a TextBlock that is a child of a Canvas, the text is stretched to match the width of the TextBlock. The TextBlock has a TextAlignment set to '...
0 votes
1 answer
86 views

I have two programs: client (using WPF) and server (console app). The server can work with two threads. Client sends to server '1' or '2', then the server sends '3' or '4' to it. Client gets the ...
0 votes
2 answers
61 views

I'm currently practicing xaml. I was going to make a simple menus with textbox and textblock. When I drag textblock or textbox to the canvas, it is look ok. But it is way off after I run the program. ...
ch m's user avatar
  • 3
-2 votes
1 answer
78 views

I have just created this TextBlock in my XAML file: <TextBlock Text="blabla"> <Border BorderBrush="Black" BorderThickness="1" /> </TextBlock> I was ...
Dominique's user avatar
  • 17.7k
2 votes
0 answers
301 views

I would like to understand how you can create such an effect, in which the text in the TextBlock / RichTextBlock elements will glow like neon, or at least just glow. To achieve this effect, I need to ...

15 30 50 per page
1
2 3 4 5
...
73

AltStyle によって変換されたページ (->オリジナル) /