1 write to _contentHost
PresentationFramework (1)
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
123_contentHost = GetTemplateChild(_contentHostTemplateName) as ScrollViewer;
40 references to _contentHost
PresentationFramework (40)
System\Windows\Controls\FlowDocumentScrollViewer.cs (40)
114if (_contentHost != null) 116BindingOperations.ClearBinding(_contentHost, HorizontalScrollBarVisibilityProperty); 117BindingOperations.ClearBinding(_contentHost, VerticalScrollBarVisibilityProperty); 118_contentHost.ScrollChanged -= new ScrollChangedEventHandler(OnScrollChanged); 121_contentHost.Content = null; 124if (_contentHost != null) 126if (_contentHost.Content != null) 130_contentHost.ScrollChanged += new ScrollChangedEventHandler(OnScrollChanged); 131CreateTwoWayBinding(_contentHost, HorizontalScrollBarVisibilityProperty, "HorizontalScrollBarVisibility"); 132CreateTwoWayBinding(_contentHost, VerticalScrollBarVisibilityProperty, "VerticalScrollBarVisibility"); 135_contentHost.Focusable = false; 138_contentHost.Content = new FlowDocumentView(); 574if (_contentHost != null) 576CommandManager.AddPreviewCanExecuteHandler(_contentHost, new CanExecuteRoutedEventHandler(PreviewCanExecuteRoutedEventHandler)); 701if (_contentHost != null) 720_contentHost.LineDown(); 724_contentHost.LineUp(); 879internal ScrollViewer ScrollViewer { get { return _contentHost; } } 1066if (_contentHost != null) 1068CommandManager.RemovePreviewCanExecuteHandler(_contentHost, new CanExecuteRoutedEventHandler(PreviewCanExecuteRoutedEventHandler)); 1110if (_contentHost != null) 1112_contentHost.ScrollToHome(); 1469if (viewer._contentHost != null) 1471viewer._contentHost.LineDown(); 1476if (viewer._contentHost != null) 1478viewer._contentHost.LineUp(); 1483if (viewer._contentHost != null) 1485viewer._contentHost.LineLeft(); 1490if (viewer._contentHost != null) 1492viewer._contentHost.LineRight(); 1497if (viewer._contentHost != null) 1499viewer._contentHost.PageDown(); 1504if (viewer._contentHost != null) 1506viewer._contentHost.PageUp(); 1511if (viewer._contentHost != null) 1513viewer._contentHost.ScrollToHome(); 1518if (viewer._contentHost != null) 1520viewer._contentHost.ScrollToEnd(); 1800get { return (_contentHost != null) ? _contentHost.Content as FlowDocumentView : null; }