textblock
How to control the size of a TextBlock so the contents are fully displayed
in WPF is there a way to setup a TextBlock so its MinHeiht and MinWidth are automatically set so its content is completely visible or should I code this by myself?[详细]
2023-03-25 02:37 分类:问答how to scroll textblok horizontally in wp7
I\'m trying to scroll a large textblock horizontally. I tried couple of the following way. None of the works for me. Can anyone tell me how to do it?[详细]
2023-03-22 07:59 分类:问答how many characters can a Silverlight TextBlock hold?
i am trying to put a end-user license agreement (EULA) into a WP7 sil开发者_C百科verlight textblock control. however, it keeps truncating my text. why is this happening? is there a limit on the text s[详细]
2023-03-18 22:27 分类:问答How to get TextBlock to Wrap or scroll inside FlowDocumentScrollViewer
I have the following XAML inside a 4 Row by 2 column grid. The Grid.ColumnDefinitions have both ColumnDefinition Width\'s set to *.[详细]
2023-03-14 08:48 分类:问答textwrapping in silverlight 4 not working
I want to do text wrap and show a vertical scroll bar when i have more than a line of text but the text is not getting wrapped at all. this is my xaml[详细]
2023-03-13 15:20 分类:问答Making textblock scroll
i currently have a textblock that is embedded in a large grid. I have read some post with regards to adding a grid/dockpanels and put the textblock inside.[详细]
2023-03-13 07:07 分类:问答Auto-Size and Center Textblock Inside Stackpanel
I\'m currently working on dynamically inserting Textblocks into Stackpanels. This has to be done numerous times, and there is no way to know what the size of the Stackpanel will be beforehand.[详细]
2023-03-13 02:57 分类:问答How to Display ObservableCollection<string> in a UserControl
I\'m new to WPF and I\'ve found some similar questions but can\'t quite figure out the last part.I have a ViewModel with an ObservableCollection that contains error messages. I want to display these o[详细]
2023-03-12 12:30 分类:问答How can I create a hyperlink in C# code instead of XAML
How can I create a hyper link in C# code that looks like the following in XAML?: &开发者_如何学编程lt;TextBlock>[详细]
2023-03-11 16:19 分类:问答How do I fade text out, change it, and fade it back in?
I\'m using a TextBlock in a datatemplate for a cell in a datagrid. I have a requirement that says when the value of the cell changes, the text should:[详细]
2023-03-10 06:19 分类:问答