42 lines
1.5 KiB
Markdown
42 lines
1.5 KiB
Markdown
# 源码 API 导航
|
|
|
|
下面是当前工作区的声明摘录,不是完整 C# 文件,不包含全部继承成员、访问器和条件编译条件。属性是否可写、依赖属性默认值、枚举成员和目标框架限制,需打开对应源码核对。
|
|
|
|
## ImageBrowser
|
|
|
|
源码:[src/Shared/HandyControl_Shared/Controls/Window/ImageBrowser.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/Window/ImageBrowser.cs)
|
|
|
|
```text
|
|
public class ImageBrowser : Window
|
|
public ImageBrowser()
|
|
public ImageBrowser(Uri uri) : this()
|
|
public ImageBrowser(string path) : this(new Uri(path))
|
|
public override void OnApplyTemplate()
|
|
```
|
|
|
|
## 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()
|
|
```
|