|
900 | 900 | BorderBrush="{TemplateBinding BorderBrush}" |
901 | 901 | BorderThickness="{TemplateBinding BorderThickness}" |
902 | 902 | CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}" /> |
903 | | - <ScrollViewer |
| 903 | + <ui:ScrollViewerEx |
904 | 904 | x:Name="PART_ContentHost" |
905 | 905 | Margin="{TemplateBinding BorderThickness}" |
906 | 906 | Padding="{TemplateBinding Padding}" |
|
1169 | 1169 | BorderBrush="{DynamicResource CustomComboBorder}" |
1170 | 1170 | BorderThickness="{DynamicResource ComboBoxDropdownBorderThickness}" |
1171 | 1171 | CornerRadius="{Binding ElementName=PopupBorder, Path=CornerRadius}"> |
1172 | | - <ScrollViewer |
| 1172 | + <ui:ScrollViewerEx |
1173 | 1173 | x:Name="ScrollViewer" |
1174 | 1174 | Foreground="{DynamicResource ComboBoxDropDownForeground}" |
1175 | 1175 | HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}" |
|
1179 | 1179 | Margin="0" |
1180 | 1180 | KeyboardNavigation.DirectionalNavigation="Contained" |
1181 | 1181 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
1182 | | - </ScrollViewer> |
| 1182 | + </ui:ScrollViewerEx> |
1183 | 1183 | </Border> |
1184 | 1184 | </Border> |
1185 | 1185 | </ui:ThemeShadowChrome> |
|
1474 | 1474 | BorderThickness="{DynamicResource CustomTextBoxInlineThickness}" |
1475 | 1475 | CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}" /> |
1476 | 1476 | </Border> |
1477 | | - <ScrollViewer |
| 1477 | + <ui:ScrollViewerEx |
1478 | 1478 | x:Name="PART_ContentHost" |
1479 | 1479 | Grid.Row="1" |
1480 | 1480 | Grid.Column="0" |
|
2742 | 2742 | BorderThickness="{DynamicResource CustomTextBoxInlineThickness}" |
2743 | 2743 | CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}" /> |
2744 | 2744 | </Border> |
2745 | | - <ScrollViewer |
| 2745 | + <ui:ScrollViewerEx |
2746 | 2746 | x:Name="PART_ContentHost" |
2747 | 2747 | Grid.Row="1" |
2748 | 2748 | Grid.Column="0" |
|
3147 | 3147 | Background="{DynamicResource MenuFlyoutPresenterBackground}" |
3148 | 3148 | CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}"> |
3149 | 3149 | <Grid> |
3150 | | - <ScrollViewer |
| 3150 | + <ui:ScrollViewerEx |
3151 | 3151 | x:Name="SubMenuScrollViewer" |
3152 | 3152 | MinWidth="{DynamicResource FlyoutThemeMinWidth}" |
3153 | 3153 | Margin="{DynamicResource MenuFlyoutPresenterThemePadding}" |
|
3159 | 3159 | KeyboardNavigation.TabNavigation="Cycle" |
3160 | 3160 | RenderOptions.ClearTypeHint="Enabled" |
3161 | 3161 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
3162 | | - </ScrollViewer> |
| 3162 | + </ui:ScrollViewerEx> |
3163 | 3163 | <Border |
3164 | 3164 | x:Name="SubMenuBorder" |
3165 | 3165 | BorderBrush="{DynamicResource MenuFlyoutPresenterBorderBrush}" |
|
3377 | 3377 | Background="{DynamicResource MenuFlyoutPresenterBackground}" |
3378 | 3378 | CornerRadius="{TemplateBinding ui:ControlHelper.CornerRadius}"> |
3379 | 3379 | <Grid> |
3380 | | - <ScrollViewer |
| 3380 | + <ui:ScrollViewerEx |
3381 | 3381 | x:Name="SubMenuScrollViewer" |
3382 | 3382 | MinWidth="{DynamicResource FlyoutThemeMinWidth}" |
3383 | 3383 | Margin="{DynamicResource MenuFlyoutPresenterThemePadding}" |
|
3389 | 3389 | KeyboardNavigation.TabNavigation="Cycle" |
3390 | 3390 | RenderOptions.ClearTypeHint="Enabled" |
3391 | 3391 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
3392 | | - </ScrollViewer> |
| 3392 | + </ui:ScrollViewerEx> |
3393 | 3393 | <Border |
3394 | 3394 | x:Name="SubMenuBorder" |
3395 | 3395 | BorderBrush="{DynamicResource MenuFlyoutPresenterBorderBrush}" |
|
3516 | 3516 | BorderThickness="1" |
3517 | 3517 | CornerRadius="8"> |
3518 | 3518 | <Grid> |
3519 | | - <ScrollViewer |
| 3519 | + <ui:ScrollViewerEx |
3520 | 3520 | x:Name="ContextMenuScrollViewer" |
3521 | 3521 | MinWidth="{DynamicResource FlyoutThemeMinWidth}" |
3522 | 3522 | Margin="{TemplateBinding Padding}" |
|
3526 | 3526 | KeyboardNavigation.DirectionalNavigation="Cycle" |
3527 | 3527 | RenderOptions.ClearTypeHint="Enabled" |
3528 | 3528 | SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" /> |
3529 | | - </ScrollViewer> |
| 3529 | + </ui:ScrollViewerEx> |
3530 | 3530 | <Border |
3531 | 3531 | x:Name="ContextMenuBorder" |
3532 | 3532 | BorderBrush="{TemplateBinding BorderBrush}" |
|
3631 | 3631 | <RowDefinition Height="*" /> |
3632 | 3632 | <RowDefinition x:Name="CommandSpaceRow" Height="80" /> |
3633 | 3633 | </Grid.RowDefinitions> |
3634 | | - <ScrollViewer |
| 3634 | + <ui:ScrollViewerEx |
3635 | 3635 | x:Name="ContentScrollViewer" |
3636 | 3636 | Margin="{DynamicResource ContentDialogContentScrollViewerMargin}" |
3637 | 3637 | HorizontalScrollBarVisibility="{TemplateBinding ScrollViewer.HorizontalScrollBarVisibility}" |
|
3679 | 3679 | TextElement.Foreground="{TemplateBinding Foreground}" |
3680 | 3680 | TextWrapping="Wrap" /> |
3681 | 3681 | </Grid> |
3682 | | - </ScrollViewer> |
| 3682 | + </ui:ScrollViewerEx> |
3683 | 3683 | <Border |
3684 | 3684 | x:Name="ButtonAreaBorder" |
3685 | 3685 | Grid.Row="1" |
|
4985 | 4985 |
|
4986 | 4986 | <!-- Top nav ItemsRepeater --> |
4987 | 4987 | <ui:ItemsRepeaterScrollHost Grid.Column="3"> |
4988 | | - <ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"> |
| 4988 | + <ui:ScrollViewerEx HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"> |
4989 | 4989 | <ui:ItemsRepeater x:Name="TopNavMenuItemsHost" AutomationProperties.Name="{TemplateBinding AutomationProperties.Name}"> |
4990 | 4990 | <ui:ItemsRepeater.Layout> |
4991 | 4991 | <ui:StackLayout Orientation="Horizontal" /> |
4992 | 4992 | </ui:ItemsRepeater.Layout> |
4993 | 4993 | </ui:ItemsRepeater> |
4994 | | - </ScrollViewer> |
| 4994 | + </ui:ScrollViewerEx> |
4995 | 4995 | </ui:ItemsRepeaterScrollHost> |
4996 | 4996 |
|
4997 | 4997 | <Button |
|
5012 | 5012 | </Style> |
5013 | 5013 | </ui:Flyout.FlyoutPresenterStyle> |
5014 | 5014 | <ui:ItemsRepeaterScrollHost> |
5015 | | - <ScrollViewer VerticalScrollBarVisibility="Auto"> |
| 5015 | + <ui:ScrollViewerEx VerticalScrollBarVisibility="Auto"> |
5016 | 5016 | <ui:ItemsRepeater x:Name="TopNavMenuItemsOverflowHost" /> |
5017 | | - </ScrollViewer> |
| 5017 | + </ui:ScrollViewerEx> |
5018 | 5018 | </ui:ItemsRepeaterScrollHost> |
5019 | 5019 | </ui:Flyout> |
5020 | 5020 | </ui:FlyoutService.Flyout> |
|
5169 | 5169 |
|
5170 | 5170 | <!-- MenuItems --> |
5171 | 5171 | <ui:ItemsRepeaterScrollHost HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> |
5172 | | - <ScrollViewer |
| 5172 | + <ui:ScrollViewerEx |
5173 | 5173 | x:Name="MenuItemsScrollViewer" |
5174 | 5174 | KeyboardNavigation.TabNavigation="Local" |
5175 | 5175 | VerticalScrollBarVisibility="Auto"> |
5176 | 5176 | <!-- Left nav ItemsRepeater --> |
5177 | 5177 | <ui:ItemsRepeater x:Name="MenuItemsHost" AutomationProperties.Name="{TemplateBinding AutomationProperties.Name}" /> |
5178 | | - </ScrollViewer> |
| 5178 | + </ui:ScrollViewerEx> |
5179 | 5179 | </ui:ItemsRepeaterScrollHost> |
5180 | 5180 |
|
5181 | 5181 | <ui:NavigationViewItemSeparator |
|
5196 | 5196 |
|
5197 | 5197 | <!-- FooterItems --> |
5198 | 5198 | <ui:ItemsRepeaterScrollHost Grid.Row="3"> |
5199 | | - <ScrollViewer x:Name="FooterItemsScrollViewer"> |
| 5199 | + <ui:ScrollViewerEx x:Name="FooterItemsScrollViewer"> |
5200 | 5200 | <!-- contract7Present:VerticalAnchorRatio="1" --> |
5201 | 5201 | <ui:ItemsRepeater x:Name="FooterMenuItemsHost" /> |
5202 | | - </ScrollViewer> |
| 5202 | + </ui:ScrollViewerEx> |
5203 | 5203 | </ui:ItemsRepeaterScrollHost> |
5204 | 5204 | </Grid> |
5205 | 5205 |
|
|
0 commit comments