Click here to Skip to main content
15,886,518 members
Home / Discussions / WPF
   

WPF

 
Questionaccessing remote system Pin
Arun kumar Gautam9-Oct-13 23:18
Arun kumar Gautam9-Oct-13 23:18 
AnswerRe: accessing remote system Pin
Richard MacCutchan9-Oct-13 23:25
mveRichard MacCutchan9-Oct-13 23:25 
GeneralRe: accessing remote system Pin
Arun kumar Gautam9-Oct-13 23:43
Arun kumar Gautam9-Oct-13 23:43 
GeneralRe: accessing remote system Pin
Richard MacCutchan10-Oct-13 0:07
mveRichard MacCutchan10-Oct-13 0:07 
AnswerRe: accessing remote system Pin
mohitsaxena110-Oct-13 7:50
professionalmohitsaxena110-Oct-13 7:50 
GeneralRe: accessing remote system Pin
Arun kumar Gautam11-Oct-13 7:00
Arun kumar Gautam11-Oct-13 7:00 
GeneralRe: accessing remote system Pin
Richard MacCutchan11-Oct-13 7:46
mveRichard MacCutchan11-Oct-13 7:46 
QuestionBinding converter in code behind Pin
USAFHokie804-Oct-13 2:24
USAFHokie804-Oct-13 2:24 
Hi... So I'm creating a column collection for a data grid in the code behind because I don't know the number of columns needed until run time. I need to bind the background color to a converter but i'm not sure how to do it. The background property is typed as a Brush, but of course the converter is a binding... so how do I get this working? In the code below, the "DataMemberBinding" works because that property is a binding type... So I just need to get the background working.

Thanks,
Sam.


VB
Dim c = New Telerik.Windows.Controls.GridViewDataColumn With {.Header = sched.ShipName,
                                                                             .IsReadOnly = True,
                                                                             .IsFilterable = True,
                                                                             .IsSortable = True,
                                                                             .Background = New System.Windows.Data.Binding With {.Converter = New BackgroundColorConverter(),
                                                                                                                                 .ConverterParameter = (s + 1).ToString},
                                                                             .IsGroupable = False,
                                                                             .ShowFieldFilters = True,
                                                                             .ShowDistinctFilters = False,
                                                                             .DataMemberBinding = New System.Windows.Data.Binding With {.Converter = New ColumnConverter(),
                                                                                                                                        .ConverterParameter = (s + 1).ToString}
                                                                            }
               columnCollection.Add(c)

AnswerRe: Binding converter in code behind Pin
Richard Deeming4-Oct-13 3:02
mveRichard Deeming4-Oct-13 3:02 
AnswerRe: Binding converter in code behind Pin
USAFHokie804-Oct-13 3:24
USAFHokie804-Oct-13 3:24 
GeneralRe: Binding converter in code behind Pin
Richard Deeming4-Oct-13 3:34
mveRichard Deeming4-Oct-13 3:34 
AnswerRe: Binding converter in code behind Pin
mohitsaxena110-Oct-13 8:04
professionalmohitsaxena110-Oct-13 8:04 
Questionvalidation for 2 DateTimePicker (start date and end date) in WPF Pin
Yogi_vns0073-Oct-13 2:04
Yogi_vns0073-Oct-13 2:04 
AnswerRe: validation for 2 DateTimePicker (start date and end date) in WPF Pin
mohitsaxena110-Oct-13 8:09
professionalmohitsaxena110-Oct-13 8:09 
Questionget two columns Pin
picasso21-Oct-13 17:52
picasso21-Oct-13 17:52 
QuestionWPF Text box style Pin
Yogi_vns00726-Sep-13 4:16
Yogi_vns00726-Sep-13 4:16 
AnswerRe: WPF Text box style Pin
Kenneth Haugland26-Sep-13 4:29
mvaKenneth Haugland26-Sep-13 4:29 
AnswerRe: WPF Text box style Pin
Bernhard Hiller26-Sep-13 21:59
Bernhard Hiller26-Sep-13 21:59 
AnswerRe: WPF Text box style Pin
Abhinav S27-Sep-13 22:59
Abhinav S27-Sep-13 22:59 
GeneralRe: WPF Text box style Pin
Yogi_vns0072-Oct-13 18:46
Yogi_vns0072-Oct-13 18:46 
GeneralRe: WPF Text box style Pin
Mycroft Holmes2-Oct-13 22:55
professionalMycroft Holmes2-Oct-13 22:55 
QuestionMEF and ActiveX control in .NET Pin
Raajikiwi24-Sep-13 19:20
Raajikiwi24-Sep-13 19:20 
QuestionHow to print & preview Radgridview row per page in wpf Pin
ramkie24-Sep-13 18:42
ramkie24-Sep-13 18:42 
AnswerRe: How to print & preview Radgridview row per page in wpf Pin
Abhinav S24-Sep-13 20:39
Abhinav S24-Sep-13 20:39 
QuestionWPF DataGrid with DataGrid in RowDetailsTemplate Pin
Kevin Marois24-Sep-13 6:18
professionalKevin Marois24-Sep-13 6:18 

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.