@@ -652,7 +652,12 @@ internal override void OnLayoutUpdated()
652
652
UpdateZoomedContentAlignment ( ) ;
653
653
}
654
654
655
- private void UpdateDimensionProperties ( )
655
+ #if __IOS__
656
+ internal
657
+ #else
658
+ private
659
+ #endif
660
+ void UpdateDimensionProperties ( )
656
661
{
657
662
if ( this . Log ( ) . IsEnabled ( LogLevel . Debug )
658
663
&& ( ActualHeight != ViewportHeight || ActualWidth != ViewportWidth )
@@ -858,7 +863,7 @@ void IFrameworkTemplatePoolAware.OnTemplateRecycled()
858
863
}
859
864
}
860
865
861
- #region Content and TemplatedParent forwarding to the ScrollContentPresenter
866
+ #region Content and TemplatedParent forwarding to the ScrollContentPresenter
862
867
protected override void OnContentChanged ( object oldValue , object newValue )
863
868
{
864
869
base . OnContentChanged ( oldValue , newValue ) ;
@@ -943,9 +948,9 @@ private void ClearContentTemplatedParent(object oldContent)
943
948
provider . Store . ClearValue ( provider . Store . TemplatedParentProperty , DependencyPropertyValuePrecedences . Local ) ;
944
949
}
945
950
}
946
- #endregion
951
+ #endregion
947
952
948
- #region Managed scroll bars support
953
+ #region Managed scroll bars support
949
954
private bool _isTemplateApplied ;
950
955
private ScrollBar ? _verticalScrollbar ;
951
956
private ScrollBar ? _horizontalScrollbar ;
@@ -1100,7 +1105,7 @@ private void OnHorizontalScrollBarScrolled(object sender, ScrollEventArgs e)
1100
1105
1101
1106
ChangeViewScroll ( e . NewValue , null , disableAnimation : immediate ) ;
1102
1107
}
1103
- #endregion
1108
+ #endregion
1104
1109
1105
1110
// Presenter to Control, i.e. OnPresenterScrolled
1106
1111
internal void OnScrollInternal ( double horizontalOffset , double verticalOffset , bool isIntermediate )
@@ -1214,7 +1219,7 @@ public bool ChangeView(double? horizontalOffset, double? verticalOffset, float?
1214
1219
partial void ChangeViewScroll ( double ? horizontalOffset , double ? verticalOffset , bool disableAnimation ) ;
1215
1220
partial void ChangeViewZoom ( float zoomFactor , bool disableAnimation ) ;
1216
1221
1217
- #region Scroll indicators visual states (Managed scroll bars only)
1222
+ #region Scroll indicators visual states (Managed scroll bars only)
1218
1223
private DispatcherQueueTimer ? _indicatorResetTimer ;
1219
1224
private string ? _indicatorState ;
1220
1225
@@ -1293,6 +1298,6 @@ private void HideScrollBarSeparator(object sender, PointerRoutedEventArgs e) //
1293
1298
VisualStateManager . GoToState ( this , VisualStates . ScrollBarsSeparator . Collapsed , true ) ;
1294
1299
}
1295
1300
}
1296
- #endregion
1301
+ #endregion
1297
1302
}
1298
1303
}
0 commit comments