20 references to UiScope
PresentationFramework (20)
src\Framework\System\Windows\Documents\ImmComposition.cs (20)
143
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
172
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
180
PresentationSource.AddSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
341
if (oldSource != null &&
UiScope
!= null)
346
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
853
rectUi =
UiScope
.VisualContentBounds;
1405
UiScope
.PreviewMouseLeftButtonDown += new MouseButtonEventHandler(OnMouseButtonEvent);
1406
UiScope
.PreviewMouseLeftButtonUp += new MouseButtonEventHandler(OnMouseButtonEvent);
1407
UiScope
.PreviewMouseRightButtonDown += new MouseButtonEventHandler(OnMouseButtonEvent);
1408
UiScope
.PreviewMouseRightButtonUp += new MouseButtonEventHandler(OnMouseButtonEvent);
1409
UiScope
.PreviewMouseMove += new MouseEventHandler(OnMouseEvent);
1415
if (this.
UiScope
!= null)
1417
UiScope
.PreviewMouseLeftButtonDown -= new MouseButtonEventHandler(OnMouseButtonEvent);
1418
UiScope
.PreviewMouseLeftButtonUp -= new MouseButtonEventHandler(OnMouseButtonEvent);
1419
UiScope
.PreviewMouseRightButtonDown -= new MouseButtonEventHandler(OnMouseButtonEvent);
1420
UiScope
.PreviewMouseRightButtonUp -= new MouseButtonEventHandler(OnMouseButtonEvent);
1421
UiScope
.PreviewMouseMove -= new MouseEventHandler(OnMouseEvent);
2072
return ((bool)
UiScope
.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
2085
if (
UiScope
== null)
2090
if (!
UiScope
.IsKeyboardFocused)