Click here to Skip to main content
15,887,214 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Databind to a ListView or TreeView with an Observable Collection with several array properties Pin
Mycroft Holmes7-Oct-17 15:07
professionalMycroft Holmes7-Oct-17 15:07 
QuestionGroup Box Visibility Pin
Mycroft Holmes3-Oct-17 21:50
professionalMycroft Holmes3-Oct-17 21:50 
AnswerRe: Group Box Visibility Pin
Gerry Schmitz4-Oct-17 6:29
mveGerry Schmitz4-Oct-17 6:29 
GeneralRe: Group Box Visibility Pin
Mycroft Holmes4-Oct-17 13:18
professionalMycroft Holmes4-Oct-17 13:18 
SuggestionRe: Group Box Visibility Pin
Richard Deeming4-Oct-17 9:21
mveRichard Deeming4-Oct-17 9:21 
GeneralRe: Group Box Visibility Pin
Mycroft Holmes4-Oct-17 21:31
professionalMycroft Holmes4-Oct-17 21:31 
QuestionCreate Binding In View Model Code Pin
Kevin Marois21-Sep-17 7:08
professionalKevin Marois21-Sep-17 7:08 
AnswerRe: Create Binding In View Model Code Pin
Richard Deeming21-Sep-17 9:03
mveRichard Deeming21-Sep-17 9:03 
It should be as simple as:
C#
BindingOperations.SetBinding(DatabaseSelectorControl, DatabaseSelectorControl.IsValidProperty, binding);


NB: Assuming DatabaseSelectorBase inherits from UserControl, you can simplify the LINQ statement that finds the control to:
C#
DatabaseSelectorControl = ((App)Application.Current).DatabaseService.DBPlugins
    .OfType<DatabaseSelectorBase>()
    .FirstOrDefault(x => x.DatabaseType == SelectedDatabaseType.DatabaseType);




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Create Binding In View Model Code Pin
Kevin Marois22-Sep-17 4:39
professionalKevin Marois22-Sep-17 4:39 
AnswerRe: Add Path To ItemsControl In Code Behind Pin
Pete O'Hanlon8-Sep-17 9:10
mvePete O'Hanlon8-Sep-17 9:10 
GeneralRe: Add Path To ItemsControl In Code Behind Pin
Kevin Marois8-Sep-17 9:23
professionalKevin Marois8-Sep-17 9:23 
GeneralRe: Add Path To ItemsControl In Code Behind Pin
Pete O'Hanlon8-Sep-17 21:40
mvePete O'Hanlon8-Sep-17 21:40 
QuestionLearning WPF Pin
Simon_Whale8-Sep-17 0:05
Simon_Whale8-Sep-17 0:05 
AnswerRe: Learning WPF Pin
Richard MacCutchan8-Sep-17 5:17
mveRichard MacCutchan8-Sep-17 5:17 
AnswerRe: Learning WPF Pin
Mycroft Holmes8-Sep-17 13:18
professionalMycroft Holmes8-Sep-17 13:18 
GeneralRe: Learning WPF Pin
Simon_Whale11-Sep-17 1:42
Simon_Whale11-Sep-17 1:42 
QuestionShape Designer Pin
Kevin Marois23-Aug-17 6:47
professionalKevin Marois23-Aug-17 6:47 
AnswerRe: Shape Designer Pin
Gerry Schmitz23-Aug-17 7:06
mveGerry Schmitz23-Aug-17 7:06 
GeneralRe: Shape Designer Pin
Kevin Marois23-Aug-17 7:06
professionalKevin Marois23-Aug-17 7:06 
GeneralRe: Shape Designer Pin
Gerry Schmitz24-Aug-17 5:41
mveGerry Schmitz24-Aug-17 5:41 
GeneralRe: Shape Designer Pin
Kevin Marois24-Aug-17 5:42
professionalKevin Marois24-Aug-17 5:42 
GeneralRe: Shape Designer Pin
Gerry Schmitz24-Aug-17 6:07
mveGerry Schmitz24-Aug-17 6:07 
GeneralRe: Shape Designer Pin
Kevin Marois24-Aug-17 6:11
professionalKevin Marois24-Aug-17 6:11 
GeneralRe: Shape Designer Pin
Gerry Schmitz24-Aug-17 6:35
mveGerry Schmitz24-Aug-17 6:35 
GeneralRe: Shape Designer Pin
Kevin Marois24-Aug-17 6:42
professionalKevin Marois24-Aug-17 6:42 

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.