20 references to UiScope
PresentationFramework (20)
System\Windows\Documents\ImmComposition.cs (20)
116
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
139
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
147
PresentationSource.AddSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
281
if (oldSource != null &&
UiScope
!= null)
286
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
742
rectUi =
UiScope
.VisualContentBounds;
1273
UiScope
.PreviewMouseLeftButtonDown += new MouseButtonEventHandler(OnMouseButtonEvent);
1274
UiScope
.PreviewMouseLeftButtonUp += new MouseButtonEventHandler(OnMouseButtonEvent);
1275
UiScope
.PreviewMouseRightButtonDown += new MouseButtonEventHandler(OnMouseButtonEvent);
1276
UiScope
.PreviewMouseRightButtonUp += new MouseButtonEventHandler(OnMouseButtonEvent);
1277
UiScope
.PreviewMouseMove += new MouseEventHandler(OnMouseEvent);
1283
if (this.
UiScope
!= null)
1285
UiScope
.PreviewMouseLeftButtonDown -= new MouseButtonEventHandler(OnMouseButtonEvent);
1286
UiScope
.PreviewMouseLeftButtonUp -= new MouseButtonEventHandler(OnMouseButtonEvent);
1287
UiScope
.PreviewMouseRightButtonDown -= new MouseButtonEventHandler(OnMouseButtonEvent);
1288
UiScope
.PreviewMouseRightButtonUp -= new MouseButtonEventHandler(OnMouseButtonEvent);
1289
UiScope
.PreviewMouseMove -= new MouseEventHandler(OnMouseEvent);
1882
return ((bool)
UiScope
.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
1895
if (
UiScope
== null)
1900
if (!
UiScope
.IsKeyboardFocused)