merged pr

This commit is contained in:
NaBian committed 2020-02-05 17:44:02 +08:00
1 parent 8da45a30fc
commit aa6587022b
6 files changed
+23 -59

No files matched your search

@@ -4,16 +4,10 @@ title: ScrollViewer 滚动视图
# ScrollViewerNativeBaseStyle
滚动视图的基础样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。
原生滚动视图默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。
案例:
```xml
<Style BasedOn="{StaticResource ScrollViewerNativeBaseStyle}" TargetType="ScrollViewer"/>
```
`xaml`中:
```xml
<ScrollViewer>
<Grid Height="500">
@@ -33,7 +27,7 @@ title: ScrollViewer 滚动视图
案例:
```xml
<ScrollViewer Style="{DynamicResource ScrollViewerUpDown}">
<ScrollViewer Style="{StaticResource ScrollViewerUpDown}">
<StackPanel Height="500">
<TextBlock Text="内容区域" Height="250"></TextBlock>
<TextBlock Text="内容区域" Height="250"></TextBlock>