Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - setting the TextBox Highlight colour

 
 
Old 04-20-2007   #1 (permalink)
adam


 
 

setting the TextBox Highlight colour

Hello,

I discovered this [1] blog which indicates that selection colour (aka
highlight) can be altered on list controls by changeing a static key.

I need to do it on a text box. I tried this [2] and it does nothing.

Any ideas?

adam

[1] http://dedjo.blogspot.com/2007/04/ho...mbobox-or.html

[2]
<Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'
xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'>
<StackPanel>
<TextBox>
<TextBox.Resources>
<SolidColorBrush x:Key="{x:Static
SystemColors.HighlightColorKey}" Color="Yellow" />
</TextBox.Resources>
Hello World
</TextBox>
</StackPanel>
</Page>

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Contacts online colour change to darker, more readable colour. Live Messenger
Word 2007 - word or phrase selection highlight colour Vista General
how to change the colour of task bar (bottom) and title bar (top) from black to any other colour Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46