Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » TextBox LabelText property breaks with Panel Collapse All
Subject Author Date
Lionel Keene Nov 22, 2009 - 3:31 PM

Hello,

I’ve noticed that when placing a Panel control in a ribbon group and then dropping a TextBox control on it, the LabelText property no longer responds and the text is not visible as a result. This happens with both the original ribbon Panel as well as the transparent one. I haven’t tried setting the LabelText property programmatically, but it can’t be set with the Properties window when the control is sitting on a Panel that’s for sure. Is this by design? Thank you.

-L

Technical Support Nov 23, 2009 - 7:19 AM

The Elegant.Ui.TextBox supports four levels of informativeness(see Adjusting adaptive layout):
•    TextBox
•    TextBoxWithImage
•    TextBoxWithLabel
•    TextBoxWithImageAndLabel

Each level defines the amount of information that control displays. By changing the informativeness level, you can regulate how much the control is informative and how much space it takes up. When a TextBox is inside a ribbon group, its informativeness, by default, changes automatically depending on the width available for the ribbon. When a TextBox is a child of some other container like a Panel, you should manually set the infromativeness level. If you want a TextBox to display the label text, set its Informativeness level to TextBoxWithLabel.