Click here to Skip to main content
15,885,278 members
Home / Discussions / WPF
   

WPF

 
QuestionAdding additional Brushes to the Style of a ContentControl Pin
Alan Beasley22-Mar-10 3:06
Alan Beasley22-Mar-10 3:06 
AnswerRe: Adding additional Brushes to the Style of a ContentControl Pin
Abhinav S22-Mar-10 4:18
Abhinav S22-Mar-10 4:18 
GeneralRe: Adding additional Brushes to the Style of a ContentControl [modified] Pin
Alan Beasley22-Mar-10 5:25
Alan Beasley22-Mar-10 5:25 
GeneralRe: Adding additional Brushes to the Style of a ContentControl Pin
Abhinav S22-Mar-10 7:38
Abhinav S22-Mar-10 7:38 
GeneralRe: Adding additional Brushes to the Style of a ContentControl Pin
Alan Beasley22-Mar-10 8:06
Alan Beasley22-Mar-10 8:06 
GeneralRe: Adding additional Brushes to the Style of a ContentControl Pin
Katka Vaughan20-Apr-10 10:15
Katka Vaughan20-Apr-10 10:15 
GeneralRe: Adding additional Brushes to the Style of a ContentControl Pin
Alan Beasley20-Apr-10 22:34
Alan Beasley20-Apr-10 22:34 
GeneralRe: Adding additional Brushes to the Style of a ContentControl Pin
Katka Vaughan21-Apr-10 1:15
Katka Vaughan21-Apr-10 1:15 
Hi Alan,

I will have another crack at this Smile | :)

You can add brushes to your style by addig them to your Resource Dictionary. Then you will have them available in Blend under 'Brush Resources'. For example if I were to add the six brushes, shown below, to the resource dictionary (PictureFrames.xaml) of your Picture Frame project, I would have all these brushes available in Blend under Brush Resources as shown here http://prikl.com/brush-resources.gif[^]

<!-- Primary Color Brushes -->
<SolidColorBrush x:Key="NavigationBackgroundColorBrush" Color="#FF282828"/>
<SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="#FF595959"/>
<SolidColorBrush x:Key="HighLightColorBrush" Color="#FF747474"/>
<SolidColorBrush x:Key="HoverHyperlinkForegroundColorBrush" Color="#FFEBF7FF"/>
<SolidColorBrush x:Key="HoverHyperLinkBackgroundColorBrush" Color="#FF0096FF"/>
<SolidColorBrush x:Key="BodyTextColorBrush" Color="White"/>

Is this what you were after?
Katka Vaughan Projects: Calcium SDK | Articles: Silverlight YouTube Jukebox

GeneralRe: Adding additional Brushes to the Style of a ContentControl Pin
Alan Beasley21-Apr-10 1:29
Alan Beasley21-Apr-10 1:29 
QuestionObject reference not set to an instance of an object Pin
FEMDEV22-Mar-10 2:25
FEMDEV22-Mar-10 2:25 
AnswerRe: Object reference not set to an instance of an object Pin
Pete O'Hanlon22-Mar-10 2:32
mvePete O'Hanlon22-Mar-10 2:32 
GeneralRe: Object reference not set to an instance of an object Pin
FEMDEV22-Mar-10 3:30
FEMDEV22-Mar-10 3:30 
GeneralRe: Object reference not set to an instance of an object Pin
Kevin McFarlane22-Mar-10 7:02
Kevin McFarlane22-Mar-10 7:02 
QuestionCustom Binding Extension -- how to access source object.? Pin
quetzilla21-Mar-10 15:35
quetzilla21-Mar-10 15:35 
AnswerRe: Custom Binding Extension -- how to access source object.? Pin
quetzilla25-Mar-10 7:05
quetzilla25-Mar-10 7:05 
QuestionCustomizing Foreground (the moving part) of a progressbar in WPF Pin
2hdass21-Mar-10 8:11
2hdass21-Mar-10 8:11 
AnswerRe: Customizing Foreground (the moving part) of a progressbar in WPF Pin
Super Lloyd22-Mar-10 12:33
Super Lloyd22-Mar-10 12:33 
GeneralRe: Customizing Foreground (the moving part) of a progressbar in WPF Pin
2hdass24-Mar-10 19:04
2hdass24-Mar-10 19:04 
QuestionUsing Java api in Silverlight.. Pin
robinjoseph10018-Mar-10 22:43
robinjoseph10018-Mar-10 22:43 
AnswerRe: Using Java api in Silverlight.. Pin
Abhinav S19-Mar-10 0:03
Abhinav S19-Mar-10 0:03 
Questionhow to get WriteableBitmap of Canvas & on canvas I have placed a Control?? Pin
urooj_mahmood18-Mar-10 22:38
urooj_mahmood18-Mar-10 22:38 
QuestionVideo On Web Pin
Mark Walter Smith18-Mar-10 21:58
Mark Walter Smith18-Mar-10 21:58 
AnswerRe: Video On Web Pin
Abhinav S18-Mar-10 22:38
Abhinav S18-Mar-10 22:38 
QuestionWhat is WCF? Pin
Dhanaraj130618-Mar-10 21:32
Dhanaraj130618-Mar-10 21:32 
AnswerRe: What is WCF? Pin
Pete O'Hanlon18-Mar-10 22:16
mvePete O'Hanlon18-Mar-10 22:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.