Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi can anyone tel me wats the default button colour in VS..Actually im using a button,wen i click it should change to one specific color and wen i release it should go back to its default VS button color..

Note:
I dont want to use ToggleButton here..So pls provide me some info abt tat color..
Posted
Updated 30-Aug-16 11:46am

1 solution

XML
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
    <GradientStop Color="#FFF3F3F3" Offset="0"/>
    <GradientStop Color="#FFEBEBEB" Offset="0.5"/>
    <GradientStop Color="#FFDDDDDD" Offset="1"/>
</LinearGradientBrush>


For future reference you can find such information by either using Blend or a utility like Snoop[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900