Home>
After a little research, I found System.Windows.DialogResultConverter. Windows Forms DialogResult and WPF DialogResult are different, so I looked at the source twice to see if it converts it or whether it converts a string and bool?
DialogResultConverter.cs
What is this used for?
Searching on Google will not hit. Does anyone know anyone?
-
Answer # 1
Related questions
- c # - i want to change the background color and text color of any day with the wpf calendar control
- [c #] i want to acquire the microphone volume in real time with naudio
- c # - how to specify the argument systemwindowsuielement as a string
- c # - i want to specify the event when the enter key is pressed in the textbox in the mvvm of wpf + livet
- c # - i want to display an image set in a two-dimensional array with wpf
- c # - i want to disable button when textbox is blank in reactiveproperty
- c # - read excell in thread
- c # - i can't bind using relativesource when i put contextmenu in between
- c # - it is displayed so that the window overlaps with webbrowser,
- c # - wpf listview checkbox i want to control the active state
GitHub has only examples of using this pattern.
I suppose the reason is that I don't want to set a value on xaml, so I'm trying to make an error on purpose.
In addition to We don't support, I want you to write why too.
If you specify
I got an error likeDialogResult = "True"
on xaml as a trial,. It seems to correspond to
SRID.CantSetInMarkup
.However,
DialogResult = "{x: Null}"
gave another error.Is the route different?
~ I'm not sure.~Window.cs
Line 1451 seems to correspond to
SRID.DialogResultMustBeSetAfterShowDialog
.I don't feel like searching for why ^^;