20 references to UiScope
PresentationFramework (20)
System\Windows\Documents\ImmComposition.cs (20)
108
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
131
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
139
PresentationSource.AddSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
273
if (oldSource != null &&
UiScope
!= null)
278
PresentationSource.RemoveSourceChangedHandler(
UiScope
, new SourceChangedEventHandler(OnSourceChanged));
734
rectUi =
UiScope
.VisualContentBounds;
1265
UiScope
.PreviewMouseLeftButtonDown += new MouseButtonEventHandler(OnMouseButtonEvent);
1266
UiScope
.PreviewMouseLeftButtonUp += new MouseButtonEventHandler(OnMouseButtonEvent);
1267
UiScope
.PreviewMouseRightButtonDown += new MouseButtonEventHandler(OnMouseButtonEvent);
1268
UiScope
.PreviewMouseRightButtonUp += new MouseButtonEventHandler(OnMouseButtonEvent);
1269
UiScope
.PreviewMouseMove += new MouseEventHandler(OnMouseEvent);
1275
if (this.
UiScope
!= null)
1277
UiScope
.PreviewMouseLeftButtonDown -= new MouseButtonEventHandler(OnMouseButtonEvent);
1278
UiScope
.PreviewMouseLeftButtonUp -= new MouseButtonEventHandler(OnMouseButtonEvent);
1279
UiScope
.PreviewMouseRightButtonDown -= new MouseButtonEventHandler(OnMouseButtonEvent);
1280
UiScope
.PreviewMouseRightButtonUp -= new MouseButtonEventHandler(OnMouseButtonEvent);
1281
UiScope
.PreviewMouseMove -= new MouseEventHandler(OnMouseEvent);
1874
return ((bool)
UiScope
.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly);
1887
if (
UiScope
== null)
1892
if (!
UiScope
.IsKeyboardFocused)