How do I make the text in the Label wrap? Our users have sentences as questions that go in the label. How do I make it wrap. See the attached image.
Also, I'm specifically setting the MaxWidth of the property grid; yet value column continues to grow.
1 Answer, 1 is accepted
0
Yoan
Telerik team
answered on 31 Jul 2013, 01:01 PM
Hi,
In order to achieve your goal, you can subscribe to PropertyGrid's FieldLoaded event. Using the ChildrenOfType extension method you can find a TextBlock with name - PART_FieldLabelN and set its TextWrapping property to Wrap. Please check the following code snippet for a reference:
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>