Showing posts with label text color. Show all posts
Showing posts with label text color. Show all posts

Tuesday, September 18, 2007

Mouse Over text color change


This is what Fred told me over at the expression forum.. thanks a ton!


If you want to change the color when the mouse is over the combobox, you need the IsMouseOver event.Click on the +Property button in the triggers panel and a new trigger is added. Choose the IsMouseOver event from the list, and change the foreground color.

Or as we say in xaml...

If you want to change to color of the text in the combobox list, you have to edit the template of a comboboxitem.


A nice tool to help you with editing styles and templates is called ShowMeTheTemplate. You can download it from http://www.sellsbrothers.com/tools/.This program shows you the content of every component.

Saturday, September 15, 2007

combo box pop up color change

To change the color of the text in the pop up list thingy of your cobobox: find the combobox in your objectsAndTimeline... press the little arrow next to it.. choose the words you would like to change the coor of.. change the color in properties! YAY!

Change text color of combobox button when pressed

To change a combo box text color when it is pressed:

Go into the template of the combobox, into template of [toggle button], find your text block (if it is a content presenter change it to a text block instead) and look at the interaction,triggers panel.. find the trigger that says "IsChecked=True". Click it so it will then be recording... now change the color of your text block under properties.. TAADAAA!!! Test it out!!

Im working on how to change the rollover color as well instead of just the click color change...