Click here to Skip to main content
15,925,181 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF controls on web Pin
Pete O'Hanlon27-Jul-10 21:50
mvePete O'Hanlon27-Jul-10 21:50 
QuestionBinding ListBoxes to Calender Pin
carrigart22-Jul-10 14:38
carrigart22-Jul-10 14:38 
Hi,
Looking for a bit of help. I have two listboxes and a calender control.
One listbox contains different years (2010,2011,2012 etc) and my other listbox contains the months of the year. What I'm trying to do is bind what is selected in the listboxes and then display the correct month and year. I have the binding setup for one direction.
My calender xaml looks as follows

<calender>
<calender.displaydate>
<multibinding converter="{StaticResource myConverter}">
<binding elementname="lstYears" path="SelectedItem">
<binding elementname="lstMonths Path=" selecteditem"="">




My converter class is as follows

Public Class ListBoxToDateConverter
Implements IMultiValueConverter

Public Function Convert(ByVal values() ....etc
Dim year As ListBoxItem = CType(values(0), ListBoxItem)
Dim month As ListBoxItem = Ctype(values(1), ListBoxItem)

' Create my date object from the data and return it ....
.
.
.
return date
End Function

Anyways I dont know how to do the ConvertBack() function. Kinda lost as what to do. Any help would be appreciated
QuestionA weird WPF build-time error [modified] Pin
makumazan8422-Jul-10 4:26
makumazan8422-Jul-10 4:26 
QuestionUnable to read bmp and gif files in Silverlight [modified] Pin
yogesh_kumar_agarwal21-Jul-10 23:48
yogesh_kumar_agarwal21-Jul-10 23:48 
QuestionTrouble testing Custom Installation screen [modified] Pin
vikas amin21-Jul-10 8:21
vikas amin21-Jul-10 8:21 
AnswerRe: Trouble testing Custom Installation screen Pin
Abhinav S21-Jul-10 18:29
Abhinav S21-Jul-10 18:29 
QuestionKind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP21-Jul-10 4:13
professional#realJSOP21-Jul-10 4:13 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»21-Jul-10 8:19
professionalKunal Chowdhury «IN»21-Jul-10 8:19 
GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP21-Jul-10 12:30
professional#realJSOP21-Jul-10 12:30 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»21-Jul-10 16:12
professionalKunal Chowdhury «IN»21-Jul-10 16:12 
GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP22-Jul-10 4:00
professional#realJSOP22-Jul-10 4:00 
GeneralRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»22-Jul-10 6:58
professionalKunal Chowdhury «IN»22-Jul-10 6:58 
QuestionRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
Kunal Chowdhury «IN»23-Jul-10 8:03
professionalKunal Chowdhury «IN»23-Jul-10 8:03 
AnswerRe: Kind of Urgent - Application.Current.Host.Source.Host is empty Pin
#realJSOP23-Jul-10 11:50
professional#realJSOP23-Jul-10 11:50 
QuestionError communicating with WCF service made through (WCF Software Factory (tool by microsoft)) Pin
nitin_ion21-Jul-10 2:12
nitin_ion21-Jul-10 2:12 
QuestionSelected Value in Combobox Pin
yogesh_kumar_agarwal20-Jul-10 19:20
yogesh_kumar_agarwal20-Jul-10 19:20 
AnswerRe: Selected Value in Combobox Pin
Abhinav S20-Jul-10 19:50
Abhinav S20-Jul-10 19:50 
AnswerRe: Selected Value in Combobox Pin
Arun Jacob20-Jul-10 20:50
Arun Jacob20-Jul-10 20:50 
AnswerRe: Selected Value in Combobox Pin
Kunal Chowdhury «IN»20-Jul-10 23:59
professionalKunal Chowdhury «IN»20-Jul-10 23:59 
QuestionWPF, move window from a usercontrol mouse down event Pin
fadedmaximus20-Jul-10 7:59
fadedmaximus20-Jul-10 7:59 
AnswerRe: WPF, move window from a usercontrol mouse down event Pin
Jammer21-Jul-10 22:43
Jammer21-Jul-10 22:43 
AnswerRe: WPF, move window from a usercontrol mouse down event Pin
zendar225-Jul-10 4:08
zendar225-Jul-10 4:08 
Questionhow to use SQL with Silverlight Pin
Amit Spadez19-Jul-10 20:42
professionalAmit Spadez19-Jul-10 20:42 
AnswerRe: how to use SQL with Silverlight Pin
Abhinav S19-Jul-10 22:20
Abhinav S19-Jul-10 22:20 
AnswerRe: how to use SQL with Silverlight Pin
#realJSOP20-Jul-10 0:03
professional#realJSOP20-Jul-10 0:03 

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.