Click here to Skip to main content
15,881,882 members
Home / Discussions / WPF
   

WPF

 
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 
Hi guys,

I am really new to WPF. I unerstand the concept of using Templates to create customization of a control, and i have attempted to change the visual behaviour of the Progressbar control and now hitting a brick wall.

So there are 3 things i would like to do:
1) Remove the 3d shiny part of the control - i dont like the 3d ness


I used control template to modify the foreground, i sucessfully killed the 3d shininesss, but moving part is expanding itself starting at the center point of the entire progress bar, and that it only expends to 100 pixels wide. this is because i set te Width=Value the foreground rectrangle's width attribute. How do i make it so that when the value = 100, the progressbar is fully filled?

<Rectangle Fill="{TemplateBinding Foreground}"
Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Width}"
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Value}"
Margin="0,0" ></Rectangle>


2) Have a textbox following the top of the moving part to indicate a value - I have no idea how to do this
3) Make the whole control an arc, so that it looks like a fuel gauge - I know i can transform it,skew, size it whatever, but not warp it.

thx alot guys
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 
GeneralRe: What is WCF? [modified] Pin
Dhanaraj130618-Mar-10 22:22
Dhanaraj130618-Mar-10 22:22 
GeneralRe: What is WCF? Pin
Pete O'Hanlon18-Mar-10 23:45
mvePete O'Hanlon18-Mar-10 23:45 
GeneralRe: What is WCF? Pin
Dhanaraj130619-Mar-10 0:40
Dhanaraj130619-Mar-10 0:40 
QuestionWindows forms application popup dialog? Pin
Mattzimmerer18-Mar-10 8:12
Mattzimmerer18-Mar-10 8:12 
AnswerRe: Windows forms application popup dialog? Pin
Super Lloyd18-Mar-10 11:20
Super Lloyd18-Mar-10 11:20 
GeneralRe: Windows forms application popup dialog? Pin
Mattzimmerer18-Mar-10 12:03
Mattzimmerer18-Mar-10 12:03 
GeneralRe: Windows forms application popup dialog? Pin
Saiyed Alam18-Mar-10 19:23
Saiyed Alam18-Mar-10 19:23 
GeneralRe: Windows forms application popup dialog? Pin
Mattzimmerer19-Mar-10 7:53
Mattzimmerer19-Mar-10 7:53 

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.