Click here to Skip to main content
15,790,807 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd16-Dec-21 3:55
Super Lloyd16-Dec-21 3:55 
GeneralRe: About RichTextBox size in a canvas Pin
Super Lloyd14-Dec-21 3:10
Super Lloyd14-Dec-21 3:10 
QuestionWPF Converter Set or Library Pin
michaelbarb10-Dec-21 10:35
michaelbarb10-Dec-21 10:35 
AnswerRe: WPF Converter Set or Library Pin
Gerry Schmitz10-Dec-21 11:04
mveGerry Schmitz10-Dec-21 11:04 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb10-Dec-21 12:14
michaelbarb10-Dec-21 12:14 
GeneralRe: WPF Converter Set or Library Pin
Gerry Schmitz11-Dec-21 6:51
mveGerry Schmitz11-Dec-21 6:51 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb11-Dec-21 14:25
michaelbarb11-Dec-21 14:25 
GeneralRe: WPF Converter Set or Library Pin
Gerry Schmitz13-Dec-21 8:26
mveGerry Schmitz13-Dec-21 8:26 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb13-Dec-21 15:44
michaelbarb13-Dec-21 15:44 
AnswerRe: WPF Converter Set or Library Pin
RedDk11-Dec-21 9:29
RedDk11-Dec-21 9:29 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb11-Dec-21 14:04
michaelbarb11-Dec-21 14:04 
GeneralRe: WPF Converter Set or Library Pin
trønderen11-Dec-21 14:27
trønderen11-Dec-21 14:27 
GeneralRe: WPF Converter Set or Library Pin
michaelbarb11-Dec-21 15:05
michaelbarb11-Dec-21 15:05 
GeneralRe: WPF Converter Set or Library Pin
trønderen12-Dec-21 1:05
trønderen12-Dec-21 1:05 
AnswerRe: WPF Converter Set or Library Pin
Richard Deeming12-Dec-21 22:48
mveRichard Deeming12-Dec-21 22:48 
GeneralRe: WPF Converter Set or Library Pin
#realJSOP14-Dec-21 0:33
mve#realJSOP14-Dec-21 0:33 
AnswerRe: WPF Converter Set or Library Pin
Super Lloyd14-Dec-21 2:42
Super Lloyd14-Dec-21 2:42 
What do you want to convert?

I rarely have to convert (some yet unidentified) BCL class to other BCL class. Usually I need to convert a business class (i.e. local to your code) to perhaps a BCL class (such as color, image source, etc).. You need to write your own converter there (come on, it's only 2 methods to implement, or just 1 in case of one way binding).

Also, if you make some view model, view model can directly expose a property of the right type and have value conversion happening in the property setter.
A new .NET Serializer
All in one Menu-Ribbon Bar
Taking over the world since 1371!

GeneralRe: WPF Converter Set or Library Pin
michaelbarb14-Dec-21 4:59
michaelbarb14-Dec-21 4:59 
GeneralRe: WPF Converter Set or Library Pin
Super Lloyd14-Dec-21 6:17
Super Lloyd14-Dec-21 6:17 
QuestionListBox selection through code, in MVVM Pin
Amarnath S20-Nov-21 18:17
professionalAmarnath S20-Nov-21 18:17 
AnswerRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 4:10
mve#realJSOP21-Nov-21 4:10 
GeneralRe: ListBox selection through code, in MVVM Pin
Gerry Schmitz21-Nov-21 5:53
mveGerry Schmitz21-Nov-21 5:53 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 6:18
mve#realJSOP21-Nov-21 6:18 
GeneralRe: ListBox selection through code, in MVVM Pin
Amarnath S21-Nov-21 14:55
professionalAmarnath S21-Nov-21 14:55 
GeneralRe: ListBox selection through code, in MVVM Pin
#realJSOP21-Nov-21 16:08
mve#realJSOP21-Nov-21 16:08 

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.