3 instantiations of ScrollViewer
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8755bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ScrollViewer(); };
System\Windows\Markup\KnownTypes.cs (1)
1522case KnownElements.ScrollViewer: o = new System.Windows.Controls.ScrollViewer(); break;
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\InternalOptionsControl.cs (1)
32var 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)
141internal System.Windows.Controls.ScrollViewer Scroller; 364this.Scroller = ((System.Windows.Controls.ScrollViewer)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
158internal System.Windows.Controls.ScrollViewer PreviewScrollViewer; 268this.PreviewScrollViewer = ((System.Windows.Controls.ScrollViewer)(target));
PresentationFramework (273)
MS\Internal\Documents\DocumentGrid.cs (2)
943public ScrollViewer ScrollOwner 3160private ScrollViewer _scrollOwner;
MS\Internal\Documents\FlowDocumentView.cs (1)
701ScrollViewer IScrollInfo.ScrollOwner
MS\Internal\Documents\ScrollData.cs (11)
32SetVerticalOffset(owner, _offset.Y - ScrollViewer._scrollLineDelta); 40SetVerticalOffset(owner, _offset.Y + ScrollViewer._scrollLineDelta); 48SetHorizontalOffset(owner, _offset.X - ScrollViewer._scrollLineDelta); 56SetHorizontalOffset(owner, _offset.X + ScrollViewer._scrollLineDelta); 96SetVerticalOffset(owner, _offset.Y - ScrollViewer._mouseWheelDelta); 104SetVerticalOffset(owner, _offset.Y + ScrollViewer._mouseWheelDelta); 112SetHorizontalOffset(owner, _offset.X - ScrollViewer._mouseWheelDelta); 120SetHorizontalOffset(owner, _offset.X + ScrollViewer._mouseWheelDelta); 231internal void SetScrollOwner(UIElement owner, ScrollViewer value) 366internal ScrollViewer ScrollOwner 471private ScrollViewer _scrollOwner;
MS\Internal\Documents\TextBoxView.cs (2)
379ScrollViewer IScrollInfo.ScrollOwner 2249if ((ScrollBarVisibility)((Control)_host).GetValue(ScrollViewer.VerticalScrollBarVisibilityProperty) == ScrollBarVisibility.Auto)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
90ScrollViewer scrollViewer = this.OwningDataGrid.InternalScrollHost;
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
58ScrollViewer sv = sb.TemplatedParent as ScrollViewer;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (19)
17public ScrollViewerAutomationPeer(ScrollViewer owner): base(owner) 36ScrollViewer sv = (ScrollViewer)Owner; 82ScrollViewer owner = (ScrollViewer)Owner; 145ScrollViewer owner = (ScrollViewer)Owner; 180ScrollViewer owner = (ScrollViewer)Owner; 194ScrollViewer owner = (ScrollViewer)Owner; 207ScrollViewer owner = (ScrollViewer)Owner; 221ScrollViewer owner = (ScrollViewer)Owner; 267ScrollViewer owner = (ScrollViewer)Owner; 275ScrollViewer owner = (ScrollViewer)Owner;
System\Windows\Controls\DataGrid.cs (8)
1518public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1532public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1869internal ScrollViewer InternalScrollHost 1925_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(_internalItemsHost); 1930_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(row); 6077ScrollViewer scrollHost = InternalScrollHost; 6123ScrollViewer scrollHost = InternalScrollHost; 8650private ScrollViewer _internalScrollHost; // Scroll viewer of the datagrid
System\Windows\Controls\DataGridCellsPanel.cs (2)
1984ScrollViewer scrollViewer = dataGrid.InternalScrollHost; 2168ScrollViewer scrollViewer = parentDataGrid.InternalScrollHost;
System\Windows\Controls\DocumentViewer.cs (5)
33[TemplatePart(Name = "PART_ContentHost", Type = typeof(ScrollViewer))] 1441internal ScrollViewer ScrollViewer 2102ScrollViewer contentHost = this.Template.FindName(_contentHostName, this) as ScrollViewer; 2612private ScrollViewer _scrollViewer;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
34[TemplatePart(Name = "PART_ContentHost", Type = typeof(ScrollViewer))] 123_contentHost = GetTemplateChild(_contentHostTemplateName) as ScrollViewer; 459ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner( 467ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner( 879internal ScrollViewer ScrollViewer { get { return _contentHost; } } 1565ScrollViewer sv = target as ScrollViewer; 1816private ScrollViewer _contentHost; // Host for content viewer
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
1008ScrollViewer oldHeaderSV = _headerSV; 1009_headerSV = Parent as ScrollViewer; 1022ScrollViewer oldSV = _mainSV; // backup the old value 1023_mainSV = TemplatedParent as ScrollViewer; 1640private ScrollViewer _mainSV; 1641private ScrollViewer _headerSV;
System\Windows\Controls\GridViewRowPresenter.cs (3)
450ScrollViewer scrollViewer = itemsControl.ScrollHost as ScrollViewer; 458_viewPort = scrollViewer.GetTemplateChild(ScrollViewer.ScrollContentPresenterTemplateName) as FrameworkElement;
System\Windows\Controls\ItemsControl.cs (6)
2625ScrollViewer scrollHost = ScrollHost; 2904ScrollContentPresenter scp = viewPort.GetTemplateChild(ScrollViewer.ScrollContentPresenterTemplateName) as ScrollContentPresenter; 3306internal ScrollViewer ScrollHost 3321ScrollViewer scrollViewer = current as ScrollViewer; 4030private ScrollViewer _scrollHost;
System\Windows\Controls\ItemsPresenter.cs (2)
282ScrollViewer parent = Parent as ScrollViewer;
System\Windows\Controls\PasswordBox.cs (8)
790internal ScrollViewer ScrollViewer 798_scrollViewer = _textEditor._Scroller as ScrollViewer; 947if (_passwordBoxContentHost is ScrollViewer) 949ScrollViewer scrollViewer = (ScrollViewer)_passwordBoxContentHost; 1008if (_passwordBoxContentHost is ScrollViewer) 1010((ScrollViewer)_passwordBoxContentHost).Content = null; 1283private ScrollViewer _scrollViewer;
System\Windows\Controls\Primitives\IScrollInfo.cs (2)
15/// An IScrollInfo serves as the main scrolling region inside a <see cref="System.Windows.Controls.ScrollViewer" /> 171ScrollViewer ScrollOwner { get; set; }
System\Windows\Controls\Primitives\ScrollBar.cs (1)
79/// will be bound to one of <see cref="ScrollViewer" />'s ViewportSize properties.
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (13)
57if (IsScrollClient) { SetVerticalOffset(VerticalOffset - ScrollViewer._scrollLineDelta); } 64if (IsScrollClient) { SetVerticalOffset(VerticalOffset + ScrollViewer._scrollLineDelta); } 71if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset - ScrollViewer._scrollLineDelta); } 78if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset + ScrollViewer._scrollLineDelta); } 115if (IsScrollClient) { SetVerticalOffset(VerticalOffset - ScrollViewer._mouseWheelDelta); } 122if (IsScrollClient) { SetVerticalOffset(VerticalOffset + ScrollViewer._mouseWheelDelta); } 129if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset - ScrollViewer._mouseWheelDelta); } 136if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset + ScrollViewer._mouseWheelDelta); } 295public ScrollViewer ScrollOwner 305ScrollViewer.CanContentScrollProperty.AddOwner( 712ScrollViewer scrollContainer = TemplatedParent as ScrollViewer; 922internal ScrollViewer _scrollOwner;
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (2)
56ScrollViewer scrollViewer = DataGridHelper.FindVisualParent<ScrollViewer>(element);
System\Windows\Controls\Primitives\TextBoxBase.cs (13)
519ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner( 539ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner( 1631OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(ScrollViewer.HorizontalScrollBarVisibilityProperty, null /* old value */, this.GetValue(HorizontalScrollBarVisibilityProperty))); 1632OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(ScrollViewer.VerticalScrollBarVisibilityProperty, null /* old value */, this.GetValue(VerticalScrollBarVisibilityProperty))); 1633OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(ScrollViewer.PaddingProperty, null /* old value */, this.GetValue(PaddingProperty))); 1756internal ScrollViewer ScrollViewer 1766_scrollViewer = _textEditor._Scroller as ScrollViewer; 1974if (_textBoxContentHost is ScrollViewer) 1976ScrollViewer scrollViewer = (ScrollViewer)_textBoxContentHost; 2032if (_textBoxContentHost is ScrollViewer) 2034((ScrollViewer)_textBoxContentHost).Content = null; 2240private ScrollViewer _scrollViewer;
System\Windows\Controls\Primitives\Track.cs (1)
309/// will be bound to one of <see cref="ScrollViewer" />'s ViewportSize properties.
System\Windows\Controls\ScrollChangedEventArgs.cs (12)
53/// <seealso cref="System.Windows.Controls.ScrollViewer.HorizontalOffset"/> 61/// <seealso cref="System.Windows.Controls.ScrollViewer.VerticalOffset"/> 69/// <seealso cref="System.Windows.Controls.ScrollViewer.HorizontalOffset"/> 77/// <seealso cref="System.Windows.Controls.ScrollViewer.VerticalOffset"/> 86/// <seealso cref="System.Windows.Controls.ScrollViewer.ViewportWidth"/> 94/// <seealso cref="System.Windows.Controls.ScrollViewer.ViewportHeight"/> 102/// <seealso cref="System.Windows.Controls.ScrollViewer.ViewportWidth"/> 110/// <seealso cref="System.Windows.Controls.ScrollViewer.ViewportHeight"/> 119/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentWidth"/> 127/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentHeight"/> 135/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentWidth"/> 143/// <seealso cref="System.Windows.Controls.ScrollViewer.ExtentHeight"/>
System\Windows\Controls\ScrollViewer.cs (76)
445typeof(ScrollViewer), 476typeof(ScrollViewer), 510typeof(ScrollViewer), 543typeof(ScrollViewer), 561typeof(ScrollViewer), 580typeof(ScrollViewer), 597typeof(ScrollViewer), 614typeof(ScrollViewer), 648typeof(ScrollViewer), 681typeof(ScrollViewer), 697typeof(ScrollViewer), 713typeof(ScrollViewer), 729typeof(ScrollViewer), 745typeof(ScrollViewer), 761typeof(ScrollViewer), 776public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 837typeof(ScrollViewer)); 1428typeof(ScrollViewer), 1456ScrollViewer sv = d as ScrollViewer; 1503typeof(ScrollViewer), 1543typeof(ScrollViewer), 2455ScrollViewer sv = sender as ScrollViewer; 2495if (args.Parameter is double) { ((ScrollViewer)target).DeferScrollToHorizontalOffset((double)args.Parameter); } 2499if (args.Parameter is double) { ((ScrollViewer)target).DeferScrollToVerticalOffset((double)args.Parameter); } 2503((ScrollViewer)target).LineLeft(); 2507((ScrollViewer)target).LineRight(); 2511((ScrollViewer)target).PageLeft(); 2515((ScrollViewer)target).PageRight(); 2519((ScrollViewer)target).LineUp(); 2523((ScrollViewer)target).LineDown(); 2528((ScrollViewer)target).PageUp(); 2533((ScrollViewer)target).PageDown(); 2537((ScrollViewer)target).ScrollToEnd(); 2541((ScrollViewer)target).ScrollToHome(); 2545((ScrollViewer)target).ScrollToLeftEnd(); 2549((ScrollViewer)target).ScrollToRightEnd(); 2553((ScrollViewer)target).ScrollToTop(); 2557((ScrollViewer)target).ScrollToBottom(); 2561if (args.Parameter is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.Parameter); } 2565if (args.Parameter is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.Parameter); } 2568ScrollViewer sv = target as ScrollViewer; 2590ScrollViewer scrollViewer = target as ScrollViewer; 2611ScrollViewer scrollViewer = target as ScrollViewer; 2628CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2629CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2630CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2631CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2632CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2633CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2634CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2635CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2636CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToLeftEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2637CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToRightEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2638CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2639CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToHomeCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2640CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToTopCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2641CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToBottomCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2642CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2643CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2644CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.DeferScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2645CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.DeferScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2647CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ComponentCommands.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2648CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ComponentCommands.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2734template = new ControlTemplate(typeof(ScrollViewer)); 2908DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2909_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ScrollViewer)); 2914Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2915IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2916KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 2918EventManager.RegisterClassHandler(typeof(ScrollViewer), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(OnRequestBringIntoView));
System\Windows\Controls\Stack.cs (10)
92SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 100SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 108SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 116SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 158SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 173SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 186SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 194SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 464public ScrollViewer ScrollOwner 1118internal ScrollViewer _scrollOwner; // ScrollViewer to which we're attached.
System\Windows\Controls\TreeView.cs (1)
625ScrollViewer scroller = ScrollHost;
System\Windows\Controls\VirtualizingStackPanel.cs (21)
140? VerticalOffset - ScrollViewer._scrollLineDelta 160? VerticalOffset + ScrollViewer._scrollLineDelta 180? HorizontalOffset - ScrollViewer._scrollLineDelta 200? HorizontalOffset + ScrollViewer._scrollLineDelta 303? VerticalOffset - lines * ScrollViewer._scrollLineDelta 331? VerticalOffset + lines * ScrollViewer._scrollLineDelta 356? HorizontalOffset - 3.0 * ScrollViewer._scrollLineDelta 376? HorizontalOffset + 3.0 * ScrollViewer._scrollLineDelta 1937public ScrollViewer ScrollOwner 3373ScrollViewer scrollOwner = ScrollOwner; 4741_previousStackPixelSizeInViewport.Width / _previousStackLogicalSizeInViewport.Width : ScrollViewer._scrollLineDelta; 4857_previousStackPixelSizeInViewport.Height / _previousStackLogicalSizeInViewport.Height : ScrollViewer._scrollLineDelta; 8022uniformOrAverageContainerPixelSize = ScrollViewer._scrollLineDelta; 9898ScrollViewer sv = ScrollOwner; 10615ScrollViewer sv = ScrollOwner; 11800internal ScrollViewer _scrollOwner; // ScrollViewer to which we're attached. 12376"CanContentScroll:", ScrollViewer.GetCanContentScroll(ic), 12377"IsDeferredScrolling:", ScrollViewer.GetIsDeferredScrollingEnabled(ic), 12378"PanningMode:", ScrollViewer.GetPanningMode(ic), 12379"HSBVisibility:", ScrollViewer.GetHorizontalScrollBarVisibility(ic), 12380"VSBVisibility:", ScrollViewer.GetVerticalScrollBarVisibility(ic));
System\windows\Documents\CaretElement.cs (2)
387ScrollViewer scroller = _textEditor._Scroller as ScrollViewer;
System\windows\Documents\TextEditor.cs (1)
1339if (scroller is ScrollViewer || scroller is ScrollContentPresenter)
System\windows\Documents\TextEditorDragDrop.cs (3)
355if (scrollInfo == null && scroller is ScrollViewer) 357scrollInfo = ((ScrollViewer)scroller).ScrollInfo; 368double slowAreaHeight = ScrollViewer._scrollLineDelta;
System\windows\Documents\TextEditorMouse.cs (9)
519double slowAreaDelta = ScrollViewer._scrollLineDelta; 608while (scrollViewer != null && !(scrollViewer is ScrollViewer)) 614((ScrollViewer)scrollViewer).AddHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 633((ScrollViewer)scrollViewer).RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 659ScrollViewer scrollViewer = e.OriginalSource as ScrollViewer; 662scrollViewer.RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
644case 550: t = () => typeof(ScrollViewer); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
3330Type type = typeof(System.Windows.Controls.ScrollViewer); 3331DependencyProperty dp = System.Windows.Controls.ScrollViewer.CanContentScrollProperty; 3333this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType 3347Type type = typeof(System.Windows.Controls.ScrollViewer); 3348DependencyProperty dp = System.Windows.Controls.ScrollViewer.HorizontalScrollBarVisibilityProperty; 3350this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType 3364Type type = typeof(System.Windows.Controls.ScrollViewer); 3365DependencyProperty dp = System.Windows.Controls.ScrollViewer.VerticalScrollBarVisibilityProperty; 3367this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType 5565Type type = typeof(System.Windows.Controls.ScrollViewer); 5566DependencyProperty dp = System.Windows.Controls.ScrollViewer.ContentProperty; 5568this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8753typeof(System.Windows.Controls.ScrollViewer),
System\Windows\Markup\KnownTypes.cs (4)
1878return System.Windows.Controls.ScrollViewer.CanContentScrollProperty; 1880return System.Windows.Controls.ScrollViewer.HorizontalScrollBarVisibilityProperty; 1882return System.Windows.Controls.ScrollViewer.VerticalScrollBarVisibilityProperty; 6104case KnownElements.ScrollViewer: t = typeof(System.Windows.Controls.ScrollViewer); break;
System\Windows\Navigation\NavigationService.cs (2)
364ScrollViewer sv = children.Current as ScrollViewer;
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
1046private ScrollViewer ScrollViewer 1052_scrollViewer = GetTemplateChild(_contentHostName) as ScrollViewer; 2229private ScrollViewer _scrollViewer;
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (1)
32var viewer = new ScrollViewer()
PerfMargin\PerfMarginPanel.cs (1)
116listView.SetValue(ScrollViewer.HorizontalScrollBarVisibilityProperty, ScrollBarVisibility.Disabled);
System.Windows.Controls.Ribbon (33)
Microsoft\Windows\Controls\KeyTipService.cs (2)
1327ScrollViewer sv = parent as ScrollViewer;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
979public ScrollViewer ScrollOwner 1056internal ScrollViewer _scrollOwner; // ScrollViewer to which we're attached.
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
837public ScrollViewer ScrollOwner
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
84public ScrollViewer ScrollOwner 317internal ScrollViewer _scrollOwner;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
903internal void NotifyTabHeadersScrollOwnerChanged(ScrollViewer oldScrollViewer, ScrollViewer newScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
540ScrollViewer subMenuScrollViewer = SubMenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
48[TemplatePart(Name = ScrollViewerTemplatePartName, Type=typeof(ScrollViewer))] 71ScrollViewer.VerticalScrollBarVisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null)); 120_scrollViewer = GetTemplateChild(RibbonGallery.ScrollViewerTemplatePartName) as ScrollViewer; 382internal ScrollViewer ScrollViewer 2691ScrollViewer predictedFocusAncestor = TreeHelper.FindVisualAncestor<ScrollViewer>(predictedFocus); 3235private ScrollViewer _scrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (5)
1851new PropertyAndTransferMode () { Property = ScrollViewer.HorizontalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer }, 1852new PropertyAndTransferMode () { Property = ScrollViewer.VerticalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer }, 1853new PropertyAndTransferMode () { Property = ScrollViewer.CanContentScrollProperty, Mode = TransferMode.AlwaysTransfer }, 1854new PropertyAndTransferMode () { Property = ScrollViewer.IsDeferredScrollingEnabledProperty, Mode = TransferMode.AlwaysTransfer }, 2897internal static void InvalidateScrollBarVisibility(ScrollViewer submenuScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (4)
39[TemplatePart(Name = RibbonMenuButton.SubMenuScrollViewerTemplatePartName, Type = typeof(ScrollViewer))] 708_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as ScrollViewer; 1311internal ScrollViewer SubMenuScrollViewer 1327private ScrollViewer _submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
39[TemplatePart(Name = RibbonMenuItem.SubMenuScrollViewerTemplatePartName, Type = typeof(ScrollViewer))] 658_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as ScrollViewer; 1598private ScrollViewer _submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
169ScrollViewer scrollViewer = scrollInfo.ScrollOwner;
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (3)
32[TemplatePart(Name = RibbonTextBox.ContentHostTemplatePartName, Type = typeof(ScrollViewer))] 69_contentHost = GetTemplateChild(ContentHostTemplatePartName) as ScrollViewer; 622private ScrollViewer _contentHost = null;