本文介绍了"对话框"在WPF中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以创建"DialogBox"。在没有代码的WPF中,仅在XAML中,因为WPF没有"DialogBox"。 WPF工具箱中的控件。

Is it possible to create a "DialogBox" in WPF without code behind and only in XAML as WPF doesnt have a "DialogBox" control in WPF ToolBox.

提前致谢。

谢谢,

Madhusudhan SM

Madhusudhan SM

Madhusudhan SM

Madhusudhan SM

推荐答案

Dim myWin as New DialogWindow
myWin.ShowDialog




由于您的窗口是静音的,可以这么说,您必须使用除了代码背后的技术捕获在其上输入的数据。$


Since your window is mute, so to speak, you will have to capture the data entered on it using techniques other than code behind.


这篇关于"对话框"在WPF中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 02:19