Files
2026-10-27 09:12:40 +08:00

1.1 KiB

源码 API 导航

下面是当前工作区的声明摘录,不是完整 C# 文件,不包含全部继承成员、访问器和条件编译条件。属性是否可写、依赖属性默认值、枚举成员和目标框架限制,需打开对应源码核对。

PopupWindow

源码:src/Shared/HandyControl_Shared/Controls/Window/PopupWindow.cs

public class PopupWindow : System.Windows.Window
public override void OnApplyTemplate()
public string ContentStr
public PopupWindow()
public PopupWindow(System.Windows.Window owner) : this()
public FrameworkElement PopupElement
public bool ShowTitle
public bool ShowCancel
public bool ShowBorder
public void Show(FrameworkElement element, bool showBackground = true)
public void ShowDialog(FrameworkElement element, bool showBackground = true)
public void Show(System.Windows.Window element, Point point)
public static void Show(string message)
public static bool? ShowDialog(string message, string title = default, bool showCancel = false)