Click here to Skip to main content
15,892,480 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to : textbox got focus, label is be bigger Pin
Pete O'Hanlon23-Jun-10 1:29
mvePete O'Hanlon23-Jun-10 1:29 
Questionsilverlight, wcf and nhibernate Pin
ctlqt1221-Jun-10 21:43
ctlqt1221-Jun-10 21:43 
QuestionWPF: Drawing a line with animation Pin
Prasoon Chaudhary21-Jun-10 20:21
Prasoon Chaudhary21-Jun-10 20:21 
QuestionWCF Chart: how to have fixed axis labels with mutliple LineSeries objects Pin
Michael Eber21-Jun-10 13:25
Michael Eber21-Jun-10 13:25 
QuestionReferenced column not binding Pin
RB@Emphasys21-Jun-10 7:56
RB@Emphasys21-Jun-10 7:56 
QuestionGraph Control in WPF Pin
arun_pk20-Jun-10 23:45
arun_pk20-Jun-10 23:45 
AnswerRe: Graph Control in WPF Pin
Michael Eber22-Jun-10 6:10
Michael Eber22-Jun-10 6:10 
QuestionSilverlight Toolkit Charting Question [SOLVED] Pin
#realJSOP18-Jun-10 12:44
mve#realJSOP18-Jun-10 12:44 
I've added a CheckBox to the LegendItem element (via a custom LegendItem style) so that I can show/hide the series associated with the LegendItem, and I've add a click handler for it (legend item CheckBox clicks for all legend items will be processed with the same click handler).

My problem is that I don't know how to identify which CheckBox was clicked. I figured I would just set the CheckBox.Tag to the series objects as they're created and added to the chart, but I'm not sure how to get to the CheckBox inside the LegendItem element.

Solution ====================

In the XAML, all I had to do was this:

XML
<CheckBox Tag="{Binding RelativeSource={RelativeSource TemplatedParent}}" />

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

modified on Friday, June 18, 2010 6:59 PM

QuestionWPF: Get offical height by auto-height Pin
tcs-198618-Jun-10 10:51
tcs-198618-Jun-10 10:51 
AnswerRe: WPF: Get offical height by auto-height Pin
Abhinav S19-Jun-10 6:56
Abhinav S19-Jun-10 6:56 
Questionsilverlight web text editor Pin
I_risho18-Jun-10 0:04
I_risho18-Jun-10 0:04 
AnswerRe: silverlight web text editor Pin
Abhinav S19-Jun-10 6:52
Abhinav S19-Jun-10 6:52 
QuestionDataGrid hides Elements Pin
danieln5516-Jun-10 23:54
danieln5516-Jun-10 23:54 
Questionhow to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Ch.Gayatri Subudhi16-Jun-10 18:06
Ch.Gayatri Subudhi16-Jun-10 18:06 
AnswerRe: how to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Abhinav S16-Jun-10 18:23
Abhinav S16-Jun-10 18:23 
AnswerRe: how to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Ch.Gayatri Subudhi16-Jun-10 18:30
Ch.Gayatri Subudhi16-Jun-10 18:30 
QuestionReportDataSource name and value using WPF Pin
NCZIMM16-Jun-10 12:14
NCZIMM16-Jun-10 12:14 
QuestionXamlWriter and UserControl Pin
Fabrizio Camagna16-Jun-10 7:30
Fabrizio Camagna16-Jun-10 7:30 
QuestionSilverlight editor with wpf or windows form application Pin
Fabrizio Camagna14-Jun-10 11:32
Fabrizio Camagna14-Jun-10 11:32 
QuestionWrite Silverlight editor with WPF application Pin
Fabrizio Camagna14-Jun-10 11:30
Fabrizio Camagna14-Jun-10 11:30 
AnswerDuplicated question. Pin
Pete O'Hanlon14-Jun-10 22:18
mvePete O'Hanlon14-Jun-10 22:18 
Questionfolder tree in silverlight Pin
I_risho14-Jun-10 7:49
I_risho14-Jun-10 7:49 
AnswerRe: folder tree in silverlight Pin
Abhinav S14-Jun-10 22:34
Abhinav S14-Jun-10 22:34 
QuestionI need to diplay an image in silverlight image tag while combobox selceted item. Pin
Ch.Gayatri Subudhi13-Jun-10 18:31
Ch.Gayatri Subudhi13-Jun-10 18:31 
GeneralRe: I need to display an image in silverlight image tag while combobox selected item. Pin
Arun Jacob13-Jun-10 19:01
Arun Jacob13-Jun-10 19:01 

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.