21 lines
1.1 KiB
Markdown
21 lines
1.1 KiB
Markdown
# 源码 API 导航
|
|
|
|
下面是当前工作区的声明摘录,不是完整 C# 文件,不包含全部继承成员、访问器和条件编译条件。属性是否可写、依赖属性默认值、枚举成员和目标框架限制,需打开对应源码核对。
|
|
|
|
## ScrollViewer
|
|
|
|
源码:[src/Shared/HandyControl_Shared/Controls/Other/ScrollViewer.cs](https://github.com/HandyOrg/HandyControl/blob/master/src/Shared/HandyControl_Shared/Controls/Other/ScrollViewer.cs)
|
|
|
|
```text
|
|
public class ScrollViewer : System.Windows.Controls.ScrollViewer
|
|
public bool CanMouseWheel
|
|
public void ScrollToVerticalOffsetWithAnimation(double offset, double milliseconds = 500)
|
|
public void ScrollToHorizontalOffsetWithAnimation(double offset, double milliseconds = 500)
|
|
public static void SetIsInertiaEnabled(DependencyObject element, bool value)
|
|
public static bool GetIsInertiaEnabled(DependencyObject element)
|
|
public bool IsInertiaEnabled
|
|
public bool IsPenetrating
|
|
public static void SetIsPenetrating(DependencyObject element, bool value)
|
|
public static bool GetIsPenetrating(DependencyObject element)
|
|
```
|