3 instantiations of ScrollViewer
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8757
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
ScrollViewer
(); };
System\Windows\Markup\KnownTypes.cs (1)
1522
case KnownElements.ScrollViewer: o = new System.Windows.Controls.
ScrollViewer
(); break;
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\InternalOptionsControl.cs (1)
32
var viewer = new
ScrollViewer
()
316 references to ScrollViewer
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.g.cs (1)
126
((System.Windows.Controls.
ScrollViewer
)(target)).MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.SuggestionsPanelScrollViewer_MouseDoubleClick);
Microsoft.VisualStudio.LanguageServices (4)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\ChangeSignatureDialog.g.cs (2)
141
internal System.Windows.Controls.
ScrollViewer
Scroller;
364
this.Scroller = ((System.Windows.Controls.
ScrollViewer
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
158
internal System.Windows.Controls.
ScrollViewer
PreviewScrollViewer;
268
this.PreviewScrollViewer = ((System.Windows.Controls.
ScrollViewer
)(target));
PresentationFramework (273)
MS\Internal\Documents\DocumentGrid.cs (2)
950
public
ScrollViewer
ScrollOwner
3167
private
ScrollViewer
_scrollOwner;
MS\Internal\Documents\FlowDocumentView.cs (1)
703
ScrollViewer
IScrollInfo.ScrollOwner
MS\Internal\Documents\ScrollData.cs (11)
34
SetVerticalOffset(owner, _offset.Y -
ScrollViewer
._scrollLineDelta);
42
SetVerticalOffset(owner, _offset.Y +
ScrollViewer
._scrollLineDelta);
50
SetHorizontalOffset(owner, _offset.X -
ScrollViewer
._scrollLineDelta);
58
SetHorizontalOffset(owner, _offset.X +
ScrollViewer
._scrollLineDelta);
98
SetVerticalOffset(owner, _offset.Y -
ScrollViewer
._mouseWheelDelta);
106
SetVerticalOffset(owner, _offset.Y +
ScrollViewer
._mouseWheelDelta);
114
SetHorizontalOffset(owner, _offset.X -
ScrollViewer
._mouseWheelDelta);
122
SetHorizontalOffset(owner, _offset.X +
ScrollViewer
._mouseWheelDelta);
233
internal void SetScrollOwner(UIElement owner,
ScrollViewer
value)
368
internal
ScrollViewer
ScrollOwner
473
private
ScrollViewer
_scrollOwner;
MS\Internal\Documents\TextBoxView.cs (2)
381
ScrollViewer
IScrollInfo.ScrollOwner
2251
if ((ScrollBarVisibility)((Control)_host).GetValue(
ScrollViewer
.VerticalScrollBarVisibilityProperty) == ScrollBarVisibility.Auto)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
95
ScrollViewer
scrollViewer = this.OwningDataGrid.InternalScrollHost;
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
64
ScrollViewer
sv = sb.TemplatedParent as
ScrollViewer
;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (19)
25
public ScrollViewerAutomationPeer(
ScrollViewer
owner): base(owner)
44
ScrollViewer
sv = (
ScrollViewer
)Owner;
90
ScrollViewer
owner = (
ScrollViewer
)Owner;
153
ScrollViewer
owner = (
ScrollViewer
)Owner;
188
ScrollViewer
owner = (
ScrollViewer
)Owner;
202
ScrollViewer
owner = (
ScrollViewer
)Owner;
215
ScrollViewer
owner = (
ScrollViewer
)Owner;
229
ScrollViewer
owner = (
ScrollViewer
)Owner;
275
ScrollViewer
owner = (
ScrollViewer
)Owner;
283
ScrollViewer
owner = (
ScrollViewer
)Owner;
System\Windows\Controls\DataGrid.cs (8)
1521
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty =
ScrollViewer
.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto));
1535
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty =
ScrollViewer
.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto));
1872
internal
ScrollViewer
InternalScrollHost
1928
_internalScrollHost = DataGridHelper.FindVisualParent<
ScrollViewer
>(_internalItemsHost);
1933
_internalScrollHost = DataGridHelper.FindVisualParent<
ScrollViewer
>(row);
6080
ScrollViewer
scrollHost = InternalScrollHost;
6126
ScrollViewer
scrollHost = InternalScrollHost;
8653
private
ScrollViewer
_internalScrollHost; // Scroll viewer of the datagrid
System\Windows\Controls\DataGridCellsPanel.cs (2)
1988
ScrollViewer
scrollViewer = dataGrid.InternalScrollHost;
2172
ScrollViewer
scrollViewer = parentDataGrid.InternalScrollHost;
System\Windows\Controls\DocumentViewer.cs (5)
45
[TemplatePart(Name = "PART_ContentHost", Type = typeof(
ScrollViewer
))]
1453
internal
ScrollViewer
ScrollViewer
2114
ScrollViewer
contentHost = this.Template.FindName(_contentHostName, this) as
ScrollViewer
;
2624
private
ScrollViewer
_scrollViewer;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
37
[TemplatePart(Name = "PART_ContentHost", Type = typeof(
ScrollViewer
))]
126
_contentHost = GetTemplateChild(_contentHostTemplateName) as
ScrollViewer
;
462
ScrollViewer
.HorizontalScrollBarVisibilityProperty.AddOwner(
470
ScrollViewer
.VerticalScrollBarVisibilityProperty.AddOwner(
882
internal
ScrollViewer
ScrollViewer { get { return _contentHost; } }
1568
ScrollViewer
sv = target as
ScrollViewer
;
1819
private
ScrollViewer
_contentHost; // Host for content viewer
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
1011
ScrollViewer
oldHeaderSV = _headerSV;
1012
_headerSV = Parent as
ScrollViewer
;
1025
ScrollViewer
oldSV = _mainSV; // backup the old value
1026
_mainSV = TemplatedParent as
ScrollViewer
;
1643
private
ScrollViewer
_mainSV;
1644
private
ScrollViewer
_headerSV;
System\Windows\Controls\GridViewRowPresenter.cs (3)
454
ScrollViewer
scrollViewer = itemsControl.ScrollHost as
ScrollViewer
;
462
_viewPort = scrollViewer.GetTemplateChild(
ScrollViewer
.ScrollContentPresenterTemplateName) as FrameworkElement;
System\Windows\Controls\ItemsControl.cs (6)
2634
ScrollViewer
scrollHost = ScrollHost;
2913
ScrollContentPresenter scp = viewPort.GetTemplateChild(
ScrollViewer
.ScrollContentPresenterTemplateName) as ScrollContentPresenter;
3315
internal
ScrollViewer
ScrollHost
3330
ScrollViewer
scrollViewer = current as
ScrollViewer
;
4039
private
ScrollViewer
_scrollHost;
System\Windows\Controls\ItemsPresenter.cs (2)
286
ScrollViewer
parent = Parent as
ScrollViewer
;
System\Windows\Controls\PasswordBox.cs (8)
798
internal
ScrollViewer
ScrollViewer
806
_scrollViewer = _textEditor._Scroller as
ScrollViewer
;
955
if (_passwordBoxContentHost is
ScrollViewer
)
957
ScrollViewer
scrollViewer = (
ScrollViewer
)_passwordBoxContentHost;
1016
if (_passwordBoxContentHost is
ScrollViewer
)
1018
((
ScrollViewer
)_passwordBoxContentHost).Content = null;
1291
private
ScrollViewer
_scrollViewer;
System\Windows\Controls\Primitives\IScrollInfo.cs (2)
20
/// An IScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.
ScrollViewer
" />
176
ScrollViewer
ScrollOwner { get; set; }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
95
/// will be bound to one of <see cref="
ScrollViewer
" />'s ViewportSize properties.
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (13)
67
if (IsScrollClient) { SetVerticalOffset(VerticalOffset -
ScrollViewer
._scrollLineDelta); }
74
if (IsScrollClient) { SetVerticalOffset(VerticalOffset +
ScrollViewer
._scrollLineDelta); }
81
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset -
ScrollViewer
._scrollLineDelta); }
88
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset +
ScrollViewer
._scrollLineDelta); }
125
if (IsScrollClient) { SetVerticalOffset(VerticalOffset -
ScrollViewer
._mouseWheelDelta); }
132
if (IsScrollClient) { SetVerticalOffset(VerticalOffset +
ScrollViewer
._mouseWheelDelta); }
139
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset -
ScrollViewer
._mouseWheelDelta); }
146
if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset +
ScrollViewer
._mouseWheelDelta); }
305
public
ScrollViewer
ScrollOwner
315
ScrollViewer
.CanContentScrollProperty.AddOwner(
722
ScrollViewer
scrollContainer = TemplatedParent as
ScrollViewer
;
932
internal
ScrollViewer
_scrollOwner;
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (2)
59
ScrollViewer
scrollViewer = DataGridHelper.FindVisualParent<
ScrollViewer
>(element);
System\Windows\Controls\Primitives\TextBoxBase.cs (13)
528
ScrollViewer
.HorizontalScrollBarVisibilityProperty.AddOwner(
548
ScrollViewer
.VerticalScrollBarVisibilityProperty.AddOwner(
1640
OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(
ScrollViewer
.HorizontalScrollBarVisibilityProperty, null /* old value */, this.GetValue(HorizontalScrollBarVisibilityProperty)));
1641
OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(
ScrollViewer
.VerticalScrollBarVisibilityProperty, null /* old value */, this.GetValue(VerticalScrollBarVisibilityProperty)));
1642
OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(
ScrollViewer
.PaddingProperty, null /* old value */, this.GetValue(PaddingProperty)));
1765
internal
ScrollViewer
ScrollViewer
1775
_scrollViewer = _textEditor._Scroller as
ScrollViewer
;
1983
if (_textBoxContentHost is
ScrollViewer
)
1985
ScrollViewer
scrollViewer = (
ScrollViewer
)_textBoxContentHost;
2041
if (_textBoxContentHost is
ScrollViewer
)
2043
((
ScrollViewer
)_textBoxContentHost).Content = null;
2249
private
ScrollViewer
_scrollViewer;
System\Windows\Controls\Primitives\Track.cs (1)
320
/// will be bound to one of <see cref="
ScrollViewer
" />'s ViewportSize properties.
System\Windows\Controls\ScrollChangedEventArgs.cs (12)
57
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.HorizontalOffset"/>
65
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.VerticalOffset"/>
73
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.HorizontalOffset"/>
81
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.VerticalOffset"/>
90
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportWidth"/>
98
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportHeight"/>
106
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportWidth"/>
114
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ViewportHeight"/>
123
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentWidth"/>
131
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentHeight"/>
139
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentWidth"/>
147
/// <seealso cref="System.Windows.Controls.
ScrollViewer
.ExtentHeight"/>
System\Windows\Controls\ScrollViewer.cs (76)
453
typeof(
ScrollViewer
),
484
typeof(
ScrollViewer
),
518
typeof(
ScrollViewer
),
551
typeof(
ScrollViewer
),
569
typeof(
ScrollViewer
),
588
typeof(
ScrollViewer
),
605
typeof(
ScrollViewer
),
622
typeof(
ScrollViewer
),
656
typeof(
ScrollViewer
),
689
typeof(
ScrollViewer
),
705
typeof(
ScrollViewer
),
721
typeof(
ScrollViewer
),
737
typeof(
ScrollViewer
),
753
typeof(
ScrollViewer
),
769
typeof(
ScrollViewer
),
784
public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(
ScrollViewer
), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
845
typeof(
ScrollViewer
));
1436
typeof(
ScrollViewer
),
1464
ScrollViewer
sv = d as
ScrollViewer
;
1511
typeof(
ScrollViewer
),
1551
typeof(
ScrollViewer
),
2463
ScrollViewer
sv = sender as
ScrollViewer
;
2503
if (args.Parameter is double) { ((
ScrollViewer
)target).DeferScrollToHorizontalOffset((double)args.Parameter); }
2507
if (args.Parameter is double) { ((
ScrollViewer
)target).DeferScrollToVerticalOffset((double)args.Parameter); }
2511
((
ScrollViewer
)target).LineLeft();
2515
((
ScrollViewer
)target).LineRight();
2519
((
ScrollViewer
)target).PageLeft();
2523
((
ScrollViewer
)target).PageRight();
2527
((
ScrollViewer
)target).LineUp();
2531
((
ScrollViewer
)target).LineDown();
2536
((
ScrollViewer
)target).PageUp();
2541
((
ScrollViewer
)target).PageDown();
2545
((
ScrollViewer
)target).ScrollToEnd();
2549
((
ScrollViewer
)target).ScrollToHome();
2553
((
ScrollViewer
)target).ScrollToLeftEnd();
2557
((
ScrollViewer
)target).ScrollToRightEnd();
2561
((
ScrollViewer
)target).ScrollToTop();
2565
((
ScrollViewer
)target).ScrollToBottom();
2569
if (args.Parameter is double) { ((
ScrollViewer
)target).ScrollToHorizontalOffset((double)args.Parameter); }
2573
if (args.Parameter is double) { ((
ScrollViewer
)target).ScrollToVerticalOffset((double)args.Parameter); }
2576
ScrollViewer
sv = target as
ScrollViewer
;
2598
ScrollViewer
scrollViewer = target as
ScrollViewer
;
2619
ScrollViewer
scrollViewer = target as
ScrollViewer
;
2636
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2637
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2638
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2639
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2640
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2641
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.LineDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2642
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2643
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.PageDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2644
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToLeftEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2645
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToRightEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2646
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2647
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToHomeCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2648
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToTopCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2649
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToBottomCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2650
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2651
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.ScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2652
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.DeferScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2653
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ScrollBar.DeferScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2655
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ComponentCommands.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2656
CommandHelpers.RegisterCommandHandler(typeof(
ScrollViewer
), ComponentCommands.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler);
2742
template = new ControlTemplate(typeof(
ScrollViewer
));
2916
DefaultStyleKeyProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(typeof(
ScrollViewer
)));
2917
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
ScrollViewer
));
2922
Control.TemplateProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(template));
2923
IsTabStopProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
2924
KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(
ScrollViewer
), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
2926
EventManager.RegisterClassHandler(typeof(
ScrollViewer
), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(OnRequestBringIntoView));
System\Windows\Controls\Stack.cs (10)
98
SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
106
SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
114
SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
122
SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
164
SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
179
SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 :
ScrollViewer
._scrollLineDelta));
192
SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
200
SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 :
ScrollViewer
._scrollLineDelta));
470
public
ScrollViewer
ScrollOwner
1124
internal
ScrollViewer
_scrollOwner; // ScrollViewer to which we're attached.
System\Windows\Controls\TreeView.cs (1)
630
ScrollViewer
scroller = ScrollHost;
System\Windows\Controls\VirtualizingStackPanel.cs (21)
145
? VerticalOffset -
ScrollViewer
._scrollLineDelta
165
? VerticalOffset +
ScrollViewer
._scrollLineDelta
185
? HorizontalOffset -
ScrollViewer
._scrollLineDelta
205
? HorizontalOffset +
ScrollViewer
._scrollLineDelta
308
? VerticalOffset - lines *
ScrollViewer
._scrollLineDelta
336
? VerticalOffset + lines *
ScrollViewer
._scrollLineDelta
361
? HorizontalOffset - 3.0 *
ScrollViewer
._scrollLineDelta
381
? HorizontalOffset + 3.0 *
ScrollViewer
._scrollLineDelta
1942
public
ScrollViewer
ScrollOwner
3378
ScrollViewer
scrollOwner = ScrollOwner;
4746
_previousStackPixelSizeInViewport.Width / _previousStackLogicalSizeInViewport.Width :
ScrollViewer
._scrollLineDelta;
4862
_previousStackPixelSizeInViewport.Height / _previousStackLogicalSizeInViewport.Height :
ScrollViewer
._scrollLineDelta;
8027
uniformOrAverageContainerPixelSize =
ScrollViewer
._scrollLineDelta;
9903
ScrollViewer
sv = ScrollOwner;
10620
ScrollViewer
sv = ScrollOwner;
11805
internal
ScrollViewer
_scrollOwner; // ScrollViewer to which we're attached.
12381
"CanContentScroll:",
ScrollViewer
.GetCanContentScroll(ic),
12382
"IsDeferredScrolling:",
ScrollViewer
.GetIsDeferredScrollingEnabled(ic),
12383
"PanningMode:",
ScrollViewer
.GetPanningMode(ic),
12384
"HSBVisibility:",
ScrollViewer
.GetHorizontalScrollBarVisibility(ic),
12385
"VSBVisibility:",
ScrollViewer
.GetVerticalScrollBarVisibility(ic));
System\windows\Documents\CaretElement.cs (2)
390
ScrollViewer
scroller = _textEditor._Scroller as
ScrollViewer
;
System\windows\Documents\TextEditor.cs (1)
1345
if (scroller is
ScrollViewer
|| scroller is ScrollContentPresenter)
System\windows\Documents\TextEditorDragDrop.cs (3)
372
if (scrollInfo == null && scroller is
ScrollViewer
)
374
scrollInfo = ((
ScrollViewer
)scroller).ScrollInfo;
385
double slowAreaHeight =
ScrollViewer
._scrollLineDelta;
System\windows\Documents\TextEditorMouse.cs (9)
533
double slowAreaDelta =
ScrollViewer
._scrollLineDelta;
622
while (scrollViewer != null && !(scrollViewer is
ScrollViewer
))
628
((
ScrollViewer
)scrollViewer).AddHandler(
ScrollViewer
.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
647
((
ScrollViewer
)scrollViewer).RemoveHandler(
ScrollViewer
.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
673
ScrollViewer
scrollViewer = e.OriginalSource as
ScrollViewer
;
676
scrollViewer.RemoveHandler(
ScrollViewer
.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
646
case 550: t = () => typeof(
ScrollViewer
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
3332
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
3333
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.CanContentScrollProperty;
3335
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
3349
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
3350
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.HorizontalScrollBarVisibilityProperty;
3352
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
3366
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
3367
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.VerticalScrollBarVisibilityProperty;
3369
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
5567
Type type = typeof(System.Windows.Controls.
ScrollViewer
);
5568
DependencyProperty dp = System.Windows.Controls.
ScrollViewer
.ContentProperty;
5570
this.GetXamlType(typeof(System.Windows.Controls.
ScrollViewer
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8755
typeof(System.Windows.Controls.
ScrollViewer
),
System\Windows\Markup\KnownTypes.cs (4)
1878
return System.Windows.Controls.
ScrollViewer
.CanContentScrollProperty;
1880
return System.Windows.Controls.
ScrollViewer
.HorizontalScrollBarVisibilityProperty;
1882
return System.Windows.Controls.
ScrollViewer
.VerticalScrollBarVisibilityProperty;
6104
case KnownElements.ScrollViewer: t = typeof(System.Windows.Controls.
ScrollViewer
); break;
System\Windows\Navigation\NavigationService.cs (2)
375
ScrollViewer
sv = children.Current as
ScrollViewer
;
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
1053
private
ScrollViewer
ScrollViewer
1059
_scrollViewer = GetTemplateChild(_contentHostName) as
ScrollViewer
;
2236
private
ScrollViewer
_scrollViewer;
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (1)
32
var
viewer = new ScrollViewer()
PerfMargin\PerfMarginPanel.cs (1)
116
listView.SetValue(
ScrollViewer
.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Disabled);
System.Windows.Controls.Ribbon (33)
Microsoft\Windows\Controls\KeyTipService.cs (2)
1329
ScrollViewer
sv = parent as
ScrollViewer
;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
984
public
ScrollViewer
ScrollOwner
1061
internal
ScrollViewer
_scrollOwner; // ScrollViewer to which we're attached.
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
840
public
ScrollViewer
ScrollOwner
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
88
public
ScrollViewer
ScrollOwner
321
internal
ScrollViewer
_scrollOwner;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
906
internal void NotifyTabHeadersScrollOwnerChanged(
ScrollViewer
oldScrollViewer,
ScrollViewer
newScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
542
ScrollViewer
subMenuScrollViewer = SubMenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
50
[TemplatePart(Name = ScrollViewerTemplatePartName, Type=typeof(
ScrollViewer
))]
73
ScrollViewer
.VerticalScrollBarVisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null));
122
_scrollViewer = GetTemplateChild(RibbonGallery.ScrollViewerTemplatePartName) as
ScrollViewer
;
384
internal
ScrollViewer
ScrollViewer
2693
ScrollViewer
predictedFocusAncestor = TreeHelper.FindVisualAncestor<
ScrollViewer
>(predictedFocus);
3237
private
ScrollViewer
_scrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (5)
1856
new PropertyAndTransferMode () { Property =
ScrollViewer
.HorizontalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer },
1857
new PropertyAndTransferMode () { Property =
ScrollViewer
.VerticalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer },
1858
new PropertyAndTransferMode () { Property =
ScrollViewer
.CanContentScrollProperty, Mode = TransferMode.AlwaysTransfer },
1859
new PropertyAndTransferMode () { Property =
ScrollViewer
.IsDeferredScrollingEnabledProperty, Mode = TransferMode.AlwaysTransfer },
2902
internal static void InvalidateScrollBarVisibility(
ScrollViewer
submenuScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
42
[TemplatePart(Name = RibbonMenuButton.SubMenuScrollViewerTemplatePartName, Type = typeof(
ScrollViewer
))]
711
_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as
ScrollViewer
;
1314
internal
ScrollViewer
SubMenuScrollViewer
1330
private
ScrollViewer
_submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
42
[TemplatePart(Name = RibbonMenuItem.SubMenuScrollViewerTemplatePartName, Type = typeof(
ScrollViewer
))]
661
_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as
ScrollViewer
;
1601
private
ScrollViewer
_submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
171
ScrollViewer
scrollViewer = scrollInfo.ScrollOwner;
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (3)
34
[TemplatePart(Name = RibbonTextBox.ContentHostTemplatePartName, Type = typeof(
ScrollViewer
))]
71
_contentHost = GetTemplateChild(ContentHostTemplatePartName) as
ScrollViewer
;
624
private
ScrollViewer
_contentHost = null;