34 references to TextEditorCharacters
PresentationFramework (34)
System\windows\Documents\TextEditor.cs (1)
378
TextEditorCharacters
._RegisterClassHandlers(controlType, registerEventListeners);
System\windows\Documents\TextEditorCharacters.cs (23)
177
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
197
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
231
TextEditorCharacters
._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations);
250
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
269
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
302
if (fontSize <
TextEditorCharacters
.MaxFontPoint)
304
fontSize +=
TextEditorCharacters
.OneFontPoint;
305
if (fontSize >
TextEditorCharacters
.MaxFontPoint)
307
fontSize =
TextEditorCharacters
.MaxFontPoint;
311
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
317
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue);
344
if (fontSize >
TextEditorCharacters
.OneFontPoint)
346
fontSize -=
TextEditorCharacters
.OneFontPoint;
347
if (fontSize <
TextEditorCharacters
.OneFontPoint)
349
fontSize =
TextEditorCharacters
.OneFontPoint;
352
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
358
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue);
372
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
385
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter);
398
TextEditorCharacters
._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter);
411
TextEditorCharacters
._OnApplyProperty(This, TextElement.BackgroundProperty, args.Parameter);
435
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft);
444
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditorParagraphs.cs (6)
72
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Left, /*applyToParagraphs*/true);
87
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Center, /*applyToParagraphs*/true);
102
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Right, /*applyToParagraphs*/true);
117
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Justify, /*applyToParagraphs*/true);
141
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
151
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\Windows\Documents\TextRangeEdit.cs (4)
1931
if (newValue <
TextEditorCharacters
.OneFontPoint)
1933
newValue =
TextEditorCharacters
.OneFontPoint;
1935
else if (newValue >
TextEditorCharacters
.MaxFontPoint)
1937
newValue =
TextEditorCharacters
.MaxFontPoint;