34 references to TextEditorCharacters
PresentationFramework (34)
System\windows\Documents\TextEditor.cs (1)
384
TextEditorCharacters
._RegisterClassHandlers(controlType, registerEventListeners);
System\windows\Documents\TextEditorCharacters.cs (23)
193
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
213
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
247
TextEditorCharacters
._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations);
266
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
285
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
318
if (fontSize <
TextEditorCharacters
.MaxFontPoint)
320
fontSize +=
TextEditorCharacters
.OneFontPoint;
321
if (fontSize >
TextEditorCharacters
.MaxFontPoint)
323
fontSize =
TextEditorCharacters
.MaxFontPoint;
327
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
333
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue);
360
if (fontSize >
TextEditorCharacters
.OneFontPoint)
362
fontSize -=
TextEditorCharacters
.OneFontPoint;
363
if (fontSize <
TextEditorCharacters
.OneFontPoint)
365
fontSize =
TextEditorCharacters
.OneFontPoint;
368
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
374
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue);
388
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
401
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter);
414
TextEditorCharacters
._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter);
427
TextEditorCharacters
._OnApplyProperty(This, TextElement.BackgroundProperty, args.Parameter);
451
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft);
460
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditorParagraphs.cs (6)
89
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Left, /*applyToParagraphs*/true);
104
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Center, /*applyToParagraphs*/true);
119
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Right, /*applyToParagraphs*/true);
134
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Justify, /*applyToParagraphs*/true);
158
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
168
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\Windows\Documents\TextRangeEdit.cs (4)
1933
if (newValue <
TextEditorCharacters
.OneFontPoint)
1935
newValue =
TextEditorCharacters
.OneFontPoint;
1937
else if (newValue >
TextEditorCharacters
.MaxFontPoint)
1939
newValue =
TextEditorCharacters
.MaxFontPoint;