19 references to DocumentViewerHelper
PresentationFramework (19)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
418
positionRect =
DocumentViewerHelper
.CalculateVisibleRect(positionRect, textView.RenderScope);
System\Windows\Controls\FlowDocumentReader.cs (4)
1313
DocumentViewerHelper
.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable);
1582
findResult =
DocumentViewerHelper
.Find(findToolBar, textEditor, textEditor.TextView, textEditor.TextView);
1595
DocumentViewerHelper
.ShowFindUnsuccessfulMessage(findToolBar);
1624
DocumentViewerHelper
.KeyDownHelper(e, ((FlowDocumentReader)sender)._findToolBarHost);
System\Windows\Controls\FlowDocumentScrollViewer.cs (7)
746
DocumentViewerHelper
.OnContextMenuOpening(Document, this, e);
809
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
827
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
933
DocumentViewerHelper
.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable);
1553
findResult =
DocumentViewerHelper
.Find(findToolBar, _textEditor, _textEditor.TextView, _textEditor.TextView);
1561
DocumentViewerHelper
.ShowFindUnsuccessfulMessage(findToolBar);
1588
DocumentViewerHelper
.KeyDownHelper(e, ((FlowDocumentScrollViewer)sender)._findToolBarHost);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
694
return
DocumentViewerHelper
.Find(findToolBar, _textEditor, _textView, masterPageTextView);
System\Windows\Controls\SinglePageViewer.cs (6)
462
DocumentViewerHelper
.OnContextMenuOpening(Document as FlowDocument, this, e);
787
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
805
if (branchNode != null &&
DocumentViewerHelper
.IsLogicalDescendent(branchNode, document))
1145
DocumentViewerHelper
.ToggleFindToolBar(_findToolBarHost, new EventHandler(OnFindInvoked), enable);
1183
DocumentViewerHelper
.ShowFindUnsuccessfulMessage(findToolBar);
1365
DocumentViewerHelper
.KeyDownHelper(e, ((FlowDocumentPageViewer)sender)._findToolBarHost);