This is a migrated thread and some comments may be shown as answers.

editor only when property selected

2 Answers 31 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
tomas
Top achievements
Rank 1
tomas asked on 02 May 2013, 07:41 PM
Hi,

My property should contain a long text. I would like to show a big textbox editor but only when the property is selected. How can I achieve this, please?

Thank you.

Tom

2 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 03 May 2013, 11:06 AM
Hello Tom,

In order to achieve your goal, you should disable PropertyGrid ScrollViewer's horizontal scrolling. In case that you would want to wrap the excessive text on a new line, TextBox's TextWrapping property should be set to "Wrap". Please check the attached project for a reference.

Regards,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
tomas
Top achievements
Rank 1
answered on 03 May 2013, 12:20 PM
Thank you very much.

That is it.

Tom
Tags
PropertyGrid
Asked by
tomas
Top achievements
Rank 1
Answers by
Yoan
Telerik team
tomas
Top achievements
Rank 1
Share this question
or