blah blah blah is here! blah blah » Close

0
votes
0 answers

Charting in WPF

I am using Datavisualization.Toolkit namespace in my wpf application to add charts. But to my surprise I am unable to add title to it's axes as to recognize it shows chart on "somthing" Vs "something". I have bound it to ...

1
votes
1 answers

Changing the display.Text attribute from within a method

MickW
151

Hi, I'm designing a calculator using WPF and have basically set up a method to be called when the calculation buttons are pressed. Within this called method i am trying to changed the calculator's display text but I'm getting an error sa ...

0
votes
0 answers

WPF Binding

Is it possible to create a TextBlock say in code behind and then set the content of a Grid to be the TextBlock? Thanks, P.

0
votes
2 answers

WPF capturing an click event in a child control

betpet
223

I'm building an app in WPF and have a main window, in the window I have a frame with a page inside it. On the page is a button. I have instantiated the page inside the application and am trying to create an event where I can capture the c ...

0
votes
0 answers

WPF - Page closing itself via it's hosting frame in C#

betpet
223

Hi, I have a WPF application that has a menu, a frame and depending on what you select in the menu, a page gets added to the frame to allow the user to get on with stuff. The problem I have is that they user wants a 'cancel' button on ...

0
votes
4 answers

WPF+Dynamic Content addition in Listbox

Hi All, I am creating a drill down report for one of my window applications and in the report i want user to be able to customize reports, for that i am providing user with multiple group boxes and listboxes. My problem is that i am unab ...

0
votes
1 answers

Radio Button reset to checked on button click

MickW
151

Hi, I've been trawling the net for a while now and can't work out how to do this. (No doubt it is annoyingly simple). I have a windows form with a number of radio buttons in a group box that a user can select. When they hit the "Cle ...

0
votes
0 answers

PRoject Coke Machine still a few bugs

My small project of a vending Machine WPF C#. But now i got a few bugs. each time if i press the coin button it disables a click to late. Examle when the inserted coin reach the same/Bigger rate you need to click it one more time befor ...

0
votes
3 answers

wpf compare button content to string

i'm looking to compare button content in wpf i have a button with "Start" written in it, i need it to change to "Stop" in code, so i tried this: [code] if (btnStart.Content.ToString() == "Start") { ...

Feedback