3 instantiations of ScrollViewer
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8757bamlType.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)
950public ScrollViewer ScrollOwner 3167private ScrollViewer _scrollOwner;
MS\Internal\Documents\FlowDocumentView.cs (1)
703ScrollViewer IScrollInfo.ScrollOwner
MS\Internal\Documents\ScrollData.cs (11)
34SetVerticalOffset(owner, _offset.Y - ScrollViewer._scrollLineDelta); 42SetVerticalOffset(owner, _offset.Y + ScrollViewer._scrollLineDelta); 50SetHorizontalOffset(owner, _offset.X - ScrollViewer._scrollLineDelta); 58SetHorizontalOffset(owner, _offset.X + ScrollViewer._scrollLineDelta); 98SetVerticalOffset(owner, _offset.Y - ScrollViewer._mouseWheelDelta); 106SetVerticalOffset(owner, _offset.Y + ScrollViewer._mouseWheelDelta); 114SetHorizontalOffset(owner, _offset.X - ScrollViewer._mouseWheelDelta); 122SetHorizontalOffset(owner, _offset.X + ScrollViewer._mouseWheelDelta); 233internal void SetScrollOwner(UIElement owner, ScrollViewer value) 368internal ScrollViewer ScrollOwner 473private ScrollViewer _scrollOwner;
MS\Internal\Documents\TextBoxView.cs (2)
381ScrollViewer IScrollInfo.ScrollOwner 2251if ((ScrollBarVisibility)((Control)_host).GetValue(ScrollViewer.VerticalScrollBarVisibilityProperty) == ScrollBarVisibility.Auto)
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (1)
95ScrollViewer scrollViewer = this.OwningDataGrid.InternalScrollHost;
System\Windows\Automation\Peers\ScrollBarAutomationPeer.cs (2)
64ScrollViewer sv = sb.TemplatedParent as ScrollViewer;
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (19)
25public ScrollViewerAutomationPeer(ScrollViewer owner): base(owner) 44ScrollViewer sv = (ScrollViewer)Owner; 90ScrollViewer owner = (ScrollViewer)Owner; 153ScrollViewer owner = (ScrollViewer)Owner; 188ScrollViewer owner = (ScrollViewer)Owner; 202ScrollViewer owner = (ScrollViewer)Owner; 215ScrollViewer owner = (ScrollViewer)Owner; 229ScrollViewer owner = (ScrollViewer)Owner; 275ScrollViewer owner = (ScrollViewer)Owner; 283ScrollViewer owner = (ScrollViewer)Owner;
System\Windows\Controls\DataGrid.cs (8)
1521public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1535public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1872internal ScrollViewer InternalScrollHost 1928_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(_internalItemsHost); 1933_internalScrollHost = DataGridHelper.FindVisualParent<ScrollViewer>(row); 6080ScrollViewer scrollHost = InternalScrollHost; 6126ScrollViewer scrollHost = InternalScrollHost; 8653private ScrollViewer _internalScrollHost; // Scroll viewer of the datagrid
System\Windows\Controls\DataGridCellsPanel.cs (2)
1988ScrollViewer scrollViewer = dataGrid.InternalScrollHost; 2172ScrollViewer scrollViewer = parentDataGrid.InternalScrollHost;
System\Windows\Controls\DocumentViewer.cs (5)
45[TemplatePart(Name = "PART_ContentHost", Type = typeof(ScrollViewer))] 1453internal ScrollViewer ScrollViewer 2114ScrollViewer contentHost = this.Template.FindName(_contentHostName, this) as ScrollViewer; 2624private ScrollViewer _scrollViewer;
System\Windows\Controls\FlowDocumentScrollViewer.cs (8)
37[TemplatePart(Name = "PART_ContentHost", Type = typeof(ScrollViewer))] 126_contentHost = GetTemplateChild(_contentHostTemplateName) as ScrollViewer; 462ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner( 470ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner( 882internal ScrollViewer ScrollViewer { get { return _contentHost; } } 1568ScrollViewer sv = target as ScrollViewer; 1819private ScrollViewer _contentHost; // Host for content viewer
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
1011ScrollViewer oldHeaderSV = _headerSV; 1012_headerSV = Parent as ScrollViewer; 1025ScrollViewer oldSV = _mainSV; // backup the old value 1026_mainSV = TemplatedParent as ScrollViewer; 1643private ScrollViewer _mainSV; 1644private ScrollViewer _headerSV;
System\Windows\Controls\GridViewRowPresenter.cs (3)
454ScrollViewer scrollViewer = itemsControl.ScrollHost as ScrollViewer; 462_viewPort = scrollViewer.GetTemplateChild(ScrollViewer.ScrollContentPresenterTemplateName) as FrameworkElement;
System\Windows\Controls\ItemsControl.cs (6)
2634ScrollViewer scrollHost = ScrollHost; 2913ScrollContentPresenter scp = viewPort.GetTemplateChild(ScrollViewer.ScrollContentPresenterTemplateName) as ScrollContentPresenter; 3315internal ScrollViewer ScrollHost 3330ScrollViewer scrollViewer = current as ScrollViewer; 4039private ScrollViewer _scrollHost;
System\Windows\Controls\ItemsPresenter.cs (2)
286ScrollViewer parent = Parent as ScrollViewer;
System\Windows\Controls\PasswordBox.cs (8)
798internal ScrollViewer ScrollViewer 806_scrollViewer = _textEditor._Scroller as ScrollViewer; 955if (_passwordBoxContentHost is ScrollViewer) 957ScrollViewer scrollViewer = (ScrollViewer)_passwordBoxContentHost; 1016if (_passwordBoxContentHost is ScrollViewer) 1018((ScrollViewer)_passwordBoxContentHost).Content = null; 1291private 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" /> 176ScrollViewer 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)
67if (IsScrollClient) { SetVerticalOffset(VerticalOffset - ScrollViewer._scrollLineDelta); } 74if (IsScrollClient) { SetVerticalOffset(VerticalOffset + ScrollViewer._scrollLineDelta); } 81if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset - ScrollViewer._scrollLineDelta); } 88if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset + ScrollViewer._scrollLineDelta); } 125if (IsScrollClient) { SetVerticalOffset(VerticalOffset - ScrollViewer._mouseWheelDelta); } 132if (IsScrollClient) { SetVerticalOffset(VerticalOffset + ScrollViewer._mouseWheelDelta); } 139if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset - ScrollViewer._mouseWheelDelta); } 146if (IsScrollClient) { SetHorizontalOffset(HorizontalOffset + ScrollViewer._mouseWheelDelta); } 305public ScrollViewer ScrollOwner 315ScrollViewer.CanContentScrollProperty.AddOwner( 722ScrollViewer scrollContainer = TemplatedParent as ScrollViewer; 932internal ScrollViewer _scrollOwner;
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (2)
59ScrollViewer scrollViewer = DataGridHelper.FindVisualParent<ScrollViewer>(element);
System\Windows\Controls\Primitives\TextBoxBase.cs (13)
528ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner( 548ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner( 1640OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(ScrollViewer.HorizontalScrollBarVisibilityProperty, null /* old value */, this.GetValue(HorizontalScrollBarVisibilityProperty))); 1641OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(ScrollViewer.VerticalScrollBarVisibilityProperty, null /* old value */, this.GetValue(VerticalScrollBarVisibilityProperty))); 1642OnScrollViewerPropertyChanged(this, new DependencyPropertyChangedEventArgs(ScrollViewer.PaddingProperty, null /* old value */, this.GetValue(PaddingProperty))); 1765internal ScrollViewer ScrollViewer 1775_scrollViewer = _textEditor._Scroller as ScrollViewer; 1983if (_textBoxContentHost is ScrollViewer) 1985ScrollViewer scrollViewer = (ScrollViewer)_textBoxContentHost; 2041if (_textBoxContentHost is ScrollViewer) 2043((ScrollViewer)_textBoxContentHost).Content = null; 2249private 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)
453typeof(ScrollViewer), 484typeof(ScrollViewer), 518typeof(ScrollViewer), 551typeof(ScrollViewer), 569typeof(ScrollViewer), 588typeof(ScrollViewer), 605typeof(ScrollViewer), 622typeof(ScrollViewer), 656typeof(ScrollViewer), 689typeof(ScrollViewer), 705typeof(ScrollViewer), 721typeof(ScrollViewer), 737typeof(ScrollViewer), 753typeof(ScrollViewer), 769typeof(ScrollViewer), 784public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 845typeof(ScrollViewer)); 1436typeof(ScrollViewer), 1464ScrollViewer sv = d as ScrollViewer; 1511typeof(ScrollViewer), 1551typeof(ScrollViewer), 2463ScrollViewer sv = sender as ScrollViewer; 2503if (args.Parameter is double) { ((ScrollViewer)target).DeferScrollToHorizontalOffset((double)args.Parameter); } 2507if (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(); 2569if (args.Parameter is double) { ((ScrollViewer)target).ScrollToHorizontalOffset((double)args.Parameter); } 2573if (args.Parameter is double) { ((ScrollViewer)target).ScrollToVerticalOffset((double)args.Parameter); } 2576ScrollViewer sv = target as ScrollViewer; 2598ScrollViewer scrollViewer = target as ScrollViewer; 2619ScrollViewer scrollViewer = target as ScrollViewer; 2636CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2637CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2638CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageLeftCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2639CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageRightCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2640CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2641CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.LineDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2642CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageUpCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2643CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.PageDownCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2644CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToLeftEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2645CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToRightEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2646CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToEndCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2647CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToHomeCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2648CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToTopCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2649CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToBottomCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2650CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2651CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.ScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2652CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.DeferScrollToHorizontalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2653CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ScrollBar.DeferScrollToVerticalOffsetCommand, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2655CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ComponentCommands.ScrollPageUp, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2656CommandHelpers.RegisterCommandHandler(typeof(ScrollViewer), ComponentCommands.ScrollPageDown, executeScrollCommandEventHandler, canExecuteScrollCommandEventHandler); 2742template = new ControlTemplate(typeof(ScrollViewer)); 2916DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2917_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ScrollViewer)); 2922Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2923IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2924KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 2926EventManager.RegisterClassHandler(typeof(ScrollViewer), RequestBringIntoViewEvent, new RequestBringIntoViewEventHandler(OnRequestBringIntoView));
System\Windows\Controls\Stack.cs (10)
98SetVerticalOffset(VerticalOffset - ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 106SetVerticalOffset(VerticalOffset + ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 114SetHorizontalOffset(HorizontalOffset - ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 122SetHorizontalOffset(HorizontalOffset + ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 164SetVerticalOffset(VerticalOffset - SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 179SetVerticalOffset(VerticalOffset + SystemParameters.WheelScrollLines * ((Orientation == Orientation.Vertical) ? 1.0 : ScrollViewer._scrollLineDelta)); 192SetHorizontalOffset(HorizontalOffset - 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 200SetHorizontalOffset(HorizontalOffset + 3.0 * ((Orientation == Orientation.Horizontal) ? 1.0 : ScrollViewer._scrollLineDelta)); 470public ScrollViewer ScrollOwner 1124internal ScrollViewer _scrollOwner; // ScrollViewer to which we're attached.
System\Windows\Controls\TreeView.cs (1)
630ScrollViewer 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 1942public ScrollViewer ScrollOwner 3378ScrollViewer scrollOwner = ScrollOwner; 4746_previousStackPixelSizeInViewport.Width / _previousStackLogicalSizeInViewport.Width : ScrollViewer._scrollLineDelta; 4862_previousStackPixelSizeInViewport.Height / _previousStackLogicalSizeInViewport.Height : ScrollViewer._scrollLineDelta; 8027uniformOrAverageContainerPixelSize = ScrollViewer._scrollLineDelta; 9903ScrollViewer sv = ScrollOwner; 10620ScrollViewer sv = ScrollOwner; 11805internal 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)
390ScrollViewer scroller = _textEditor._Scroller as ScrollViewer;
System\windows\Documents\TextEditor.cs (1)
1345if (scroller is ScrollViewer || scroller is ScrollContentPresenter)
System\windows\Documents\TextEditorDragDrop.cs (3)
372if (scrollInfo == null && scroller is ScrollViewer) 374scrollInfo = ((ScrollViewer)scroller).ScrollInfo; 385double slowAreaHeight = ScrollViewer._scrollLineDelta;
System\windows\Documents\TextEditorMouse.cs (9)
533double slowAreaDelta = ScrollViewer._scrollLineDelta; 622while (scrollViewer != null && !(scrollViewer is ScrollViewer)) 628((ScrollViewer)scrollViewer).AddHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 647((ScrollViewer)scrollViewer).RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus)); 673ScrollViewer scrollViewer = e.OriginalSource as ScrollViewer; 676scrollViewer.RemoveHandler(ScrollViewer.ScrollChangedEvent, new ScrollChangedEventHandler(OnScrollChangedDuringGotFocus));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
646case 550: t = () => typeof(ScrollViewer); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
3332Type type = typeof(System.Windows.Controls.ScrollViewer); 3333DependencyProperty dp = System.Windows.Controls.ScrollViewer.CanContentScrollProperty; 3335this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType 3349Type type = typeof(System.Windows.Controls.ScrollViewer); 3350DependencyProperty dp = System.Windows.Controls.ScrollViewer.HorizontalScrollBarVisibilityProperty; 3352this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType 3366Type type = typeof(System.Windows.Controls.ScrollViewer); 3367DependencyProperty dp = System.Windows.Controls.ScrollViewer.VerticalScrollBarVisibilityProperty; 3369this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType 5567Type type = typeof(System.Windows.Controls.ScrollViewer); 5568DependencyProperty dp = System.Windows.Controls.ScrollViewer.ContentProperty; 5570this.GetXamlType(typeof(System.Windows.Controls.ScrollViewer)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8755typeof(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)
375ScrollViewer sv = children.Current as ScrollViewer;
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
1053private ScrollViewer ScrollViewer 1059_scrollViewer = GetTemplateChild(_contentHostName) as ScrollViewer; 2236private 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)
1329ScrollViewer sv = parent as ScrollViewer;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (2)
984public ScrollViewer ScrollOwner 1061internal ScrollViewer _scrollOwner; // ScrollViewer to which we're attached.
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
840public ScrollViewer ScrollOwner
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (2)
88public ScrollViewer ScrollOwner 321internal ScrollViewer _scrollOwner;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (2)
906internal void NotifyTabHeadersScrollOwnerChanged(ScrollViewer oldScrollViewer, ScrollViewer newScrollViewer)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (1)
542ScrollViewer subMenuScrollViewer = SubMenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (7)
50[TemplatePart(Name = ScrollViewerTemplatePartName, Type=typeof(ScrollViewer))] 73ScrollViewer.VerticalScrollBarVisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null)); 122_scrollViewer = GetTemplateChild(RibbonGallery.ScrollViewerTemplatePartName) as ScrollViewer; 384internal ScrollViewer ScrollViewer 2693ScrollViewer predictedFocusAncestor = TreeHelper.FindVisualAncestor<ScrollViewer>(predictedFocus); 3237private ScrollViewer _scrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (5)
1856new PropertyAndTransferMode () { Property = ScrollViewer.HorizontalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer }, 1857new PropertyAndTransferMode () { Property = ScrollViewer.VerticalScrollBarVisibilityProperty, Mode = TransferMode.AlwaysTransfer }, 1858new PropertyAndTransferMode () { Property = ScrollViewer.CanContentScrollProperty, Mode = TransferMode.AlwaysTransfer }, 1859new PropertyAndTransferMode () { Property = ScrollViewer.IsDeferredScrollingEnabledProperty, Mode = TransferMode.AlwaysTransfer }, 2902internal 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; 1314internal ScrollViewer SubMenuScrollViewer 1330private ScrollViewer _submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (3)
42[TemplatePart(Name = RibbonMenuItem.SubMenuScrollViewerTemplatePartName, Type = typeof(ScrollViewer))] 661_submenuScrollViewer = GetTemplateChild(SubMenuScrollViewerTemplatePartName) as ScrollViewer; 1601private ScrollViewer _submenuScrollViewer;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (1)
171ScrollViewer scrollViewer = scrollInfo.ScrollOwner;
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (3)
34[TemplatePart(Name = RibbonTextBox.ContentHostTemplatePartName, Type = typeof(ScrollViewer))] 71_contentHost = GetTemplateChild(ContentHostTemplatePartName) as ScrollViewer; 624private ScrollViewer _contentHost = null;