![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Putting default Text into a ComboBox I've got a combobox I'm trying to style such that if no item is selected, there is dead text in there ("Select a value..."). However, while I can get the trigger to properly fire when SelectedValue={x:Null}, setting the Text property won't work because my combobox isn't editable. This seems like a very simple template to do, but for some reason, the solution is escaping me. Anyone know a working way to do this? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Putting default Text into a ComboBox FYI: The solution I came up with was to override the combo's style with a 2 column grid. A combobox bound to the source combo spans both columns, and a textblock with the default text sits over column 1 & is set to visible only when selectedvalue == null; |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Changing the default text size in windows mail | Vista mail | |||
| Default text in WordPad ??? | Vista performance & maintenance | |||
| Default mail text size | Vista mail | |||
| Text size and icons won't go back to default setting | Vista General | |||