Changing the WPF DatePicker Year/Month header area background color - wpf

How can i change the background color of the header section of the WPF toolkit datepicker control?
Since the Default color is dark blue and the foreground is in black, it seems a bit difficult to read the text.
Thanks in advance.

just see this link
http://msdn.microsoft.com/en-us/magazine/dd882520.aspx
the code can be download from http://code.msdn.microsoft.com/mag200906Foundations
hope this can help you.

I was able to get the default template of the datepicker control using Blend.
Just needed to change the style to the appropriate color and set the datepicker's Calander style to it.

This color is set with the CalendarBGBrush in the first Grid inside the CalendarItem template. The brush is a gradient with a hard stop at the top. This is where the blue color is. You'll have to make your own template for the calendar and then you can replace or adjust this brush.

Related

How can i change the non-radtabitems background color of a radtabcontrol?

i have a radtabcontrol with 2 radtabitems all of this controls have a #EEEEE color background but the issue is that the rest of the radtabcontrol have a different color
as you can see in the image i marked with a black line the difference i was referring, how can i change that color?
I found the problem, i have to change the color of the radtabcontrol HeaderBackground property

Change border brush from skyblue in wizard control of extended wpf toolkit

I'm using Wizard control of Extended wpf toolkit package.
I would like to change color of the border. See sky blue in image below:
I tried set broder brush\background to wizard\wizard page\window controls, but it failed.
Anybody know how to change it?
Your assistance is appreciated!
Now that you have provided more info, I can see that your question title does not match what you asking to change. You are not asking to change the color of the border of the Wizard Control, you are asking to change the color of the WPF Window.
It takes some time to get things right, and I highly discourage doing this if you app will be used by people with disabilities, who need high contrast, who customized their desktop to a certain color because of color blindness, and the list goes on...Microsoft has worked very hard to address such issues with the defaults.
BUT...you can change this by restyling your Window Style. You can find plenty of code examples.
Here are two:
Can i set the window border color in WPF?
How can I style the border and title bar of a window in WPF?

Canvas background color not as white as I need

I am setting the background color of my Canvas as 'white'. However when I compare my canvas with a vendor application, their canvas is 'whiter', which is the color I want for my canvas too. I have looked at all the color choices available for canvas background color but nothing makes my canvas any whiter than it is. Any suggestions would be appreciated.
Simple solution:
Use one of the browser plugins to get the actual "white" color of their app.
One example of a color-picker is Chrome plus the ColorZilla extension:
https://chrome.google.com/webstore/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp

wpf how to create a custom button

In WPF how do I make a button with a white border with a 5 pixel radius, a dark gray background and white text? It would be nice if it still had all the mouse over and ispressed effect too.
You would need to understand how Control Templates work in WPF. This sample on applying Control Templates on button by MSDN should get you started.
There's is also a similar SO QA that should help you.

Silverlight Jetpack theme background colour

Does anyone know what the background colour is for the jetpack theme??
http://www.silverlight.net/content/samples/sl4/themes/jetpack.html
We're using the theme, but I can't see that light silver background colour which has a gradient through it.
Actually if you create a new project based on the JetPack theme, you will see there is a user control called TiledBackground which does the repeating effect for you.
However, the dependency property ResourceUri of this user control is binding to a wrong image file by default, I believe, and that's why you only see a light colored background.
To have the same background as in the demo, you simply need to replace the image backgroundtexture.png in the Images folder with the image file that Joe has provided. Then in the MainPage.xaml, you need to make sure the SourceUri is binding to this image.
For example, I have replaced with Joe's image and still named it backgroundtexture.png, and my project name is JetPack.
<controls:TiledBackground SourceUri="/JetPack;component/Images/backgroundtexture.png" />
Then you should see the dark background as expected. :)
It's actually an image that is repeated. To get the same effect you'll have to write a custom control or effect that tiles the image. Here's the image.
And here's a sample of tiling an image.
http://nokola.com/blog/post/2009/12/22/Fast-Tile-Brush-in-Silverlight-And-Easiest-Way-to-Shader-Effects.aspx

Resources