This commit is contained in:
1 parent
72d9b295a0
commit
5d81c475c8
335 files changed
+7359
No files matched your search
@@ -0,0 +1,56 @@
|
||||
# 源码 API 导航
|
||||
|
||||
下面是当前工作区的声明摘录,不是完整 C# 文件,不包含全部继承成员、访问器和条件编译条件。属性是否可写、依赖属性默认值、枚举成员和目标框架限制,需打开对应源码核对。
|
||||
|
||||
## MessageBox
|
||||
|
||||
源码:[src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs)
|
||||
|
||||
```text
|
||||
public sealed class MessageBox : Window
|
||||
public string Message
|
||||
public Geometry Image
|
||||
public Brush ImageBrush
|
||||
public bool ShowImage
|
||||
public override void OnApplyTemplate()
|
||||
public static MessageBoxResult Success(string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Success(System.Windows.Window owner, string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Info(string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Info(System.Windows.Window owner, string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Warning(string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Warning(System.Windows.Window owner, string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Error(string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Error(System.Windows.Window owner, string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Fatal(string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Fatal(System.Windows.Window owner, string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Ask(string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Ask(System.Windows.Window owner, string messageBoxText, string caption = null)
|
||||
public static MessageBoxResult Show(MessageBoxInfo info)
|
||||
public static MessageBoxResult Show(
|
||||
```
|
||||
|
||||
## Window
|
||||
|
||||
源码:[src/Shared/HandyControl_Shared/Controls/Window/Window.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/Window/Window.cs)
|
||||
|
||||
```text
|
||||
public class Window : System.Windows.Window
|
||||
public Window()
|
||||
public object NonClientAreaContent
|
||||
public Brush CloseButtonHoverBackground
|
||||
public Brush CloseButtonHoverForeground
|
||||
public Brush CloseButtonBackground
|
||||
public Brush CloseButtonForeground
|
||||
public Brush OtherButtonBackground
|
||||
public Brush OtherButtonForeground
|
||||
public Brush OtherButtonHoverBackground
|
||||
public Brush OtherButtonHoverForeground
|
||||
public Brush NonClientAreaBackground
|
||||
public Brush NonClientAreaForeground
|
||||
public double NonClientAreaHeight
|
||||
public bool ShowNonClientArea
|
||||
public bool ShowTitle
|
||||
public bool IsFullScreen
|
||||
public bool ShowIcon
|
||||
public override void OnApplyTemplate()
|
||||
```
|
||||
Reference in new issue
Block a user