30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# 源码 API 导航
|
|
|
|
下面是当前工作区的声明摘录,不是完整 C# 文件,不包含全部继承成员、访问器和条件编译条件。属性是否可写、依赖属性默认值、枚举成员和目标框架限制,需打开对应源码核对。
|
|
|
|
## ImageViewer
|
|
|
|
源码:[src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs)
|
|
|
|
```text
|
|
public class ImageViewer : Control, IDisposable
|
|
public ImageViewer()
|
|
public ImageViewer(Uri uri) : this()
|
|
public ImageViewer(string path) : this(new Uri(path))
|
|
public bool IsFullScreen
|
|
public MouseGesture MoveGesture
|
|
public bool ShowImgMap
|
|
public BitmapFrame ImageSource
|
|
public Uri Uri
|
|
public bool ShowToolBar
|
|
public bool ShowFullScreenButton
|
|
public Thickness ImageMargin
|
|
public double ImageWidth
|
|
public double ImageHeight
|
|
public string ScaleStr
|
|
public bool ShowSmallImgInternal
|
|
public bool ShowCloseButton
|
|
public override void OnApplyTemplate()
|
|
public void Dispose()
|
|
```
|