I'm creating a ListBox with items that have a portion of the text highlighted. This would normally be a search term, but for this simple example I'm j ...
I'm creating a ListBox with items that have a portion of the text highlighted. This would normally be a search term, but for this simple example I'm j ...
How can I constrain the "Hello World" text of the TextBlock to be the height of the ItemsControl? Such that if it doesn't fit, it shows character elli ...
Problem: I have WPF TextBlock with dynamically changed text. This text contains words that are color names. For example: MyTextBlock.Text = "This is ...
I went through a lot of similar questions on SO, in regards to setting the foreground of a TextBlock through a static resource, but for whatever reaso ...
I have a WPF TextBlock with a border applied. See below: I am trying to show the border ONLY when the vertical scroll bar is visible (VerticalScrol ...
Try to change list type of text block in word press. I change the text block using text mode not visual mode add type="A" in <ol> tag . But aft ...
I am creating a custom calendar in XAML and WPF. The calendar is made up of seven <Grid> columns that can auto expand (e.g. width="1*") with the ...
i have a textblock that displays multiline messages that are received continuously from the network along with the time it was received. here is the c ...
We have many TextBlocks in our application and many of them must have ToolTips. Often the ToolTip should display the same as the TextBlock.Text proper ...
I have some Chinese Characters created using windows 10 eudcedit.Those characters can be shown in WPF MessageBox, but cannot be shown in WPF TextBlock ...
I'm trying to output an array into a textblock with each element in a line using a for loop but it only outputs the final element. I think it's over ...
So basically I have an integer textlength and it has a number of symbols. I then want to output the number of symbols onto a TextBlock/Label, so that ...
I'm trying to access the TextBlock "fastcolor" that is within a border. The Border lies within a DockPanel named fastcard which i passed as a paramet ...
I'm trying to fill a combobox with textblock containing values from a table. I would like to create as many textblocks as there is rows in the set of ...
If leftclick I would like to put the TextBlock foreground in gray, and if rightclick I would like to put the TextBlock foreground in black. Actually p ...
In my program, I have a TextBlock where my result text is shown. In a textbox I can just use TextWrapping="Wrap" and I can scroll down if it's still t ...
In my UWP application, I want to change the color of lines based on the specific keyword in beginning of the line. I need to change the lines bac ...
I have a StackPanel with several TextBlocks in it, like this: <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <Text ...
I have a gridview with the name "majorGridView" inside a gridview with the name "assessmenGridView" whose data is data binding XAML: How to displa ...
I have a custom TextBlock which overrides the base Text Property with new: I am a big fan of Binding, so I am trying to use it as such: OnProper ...