34 references to TextEditorCharacters
PresentationFramework (34)
System\windows\Documents\TextEditor.cs (1)
369
TextEditorCharacters
._RegisterClassHandlers(controlType, registerEventListeners);
System\windows\Documents\TextEditorCharacters.cs (23)
176
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
196
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
230
TextEditorCharacters
._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations);
249
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
268
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
301
if (fontSize <
TextEditorCharacters
.MaxFontPoint)
303
fontSize +=
TextEditorCharacters
.OneFontPoint;
304
if (fontSize >
TextEditorCharacters
.MaxFontPoint)
306
fontSize =
TextEditorCharacters
.MaxFontPoint;
310
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
316
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue);
343
if (fontSize >
TextEditorCharacters
.OneFontPoint)
345
fontSize -=
TextEditorCharacters
.OneFontPoint;
346
if (fontSize <
TextEditorCharacters
.OneFontPoint)
348
fontSize =
TextEditorCharacters
.OneFontPoint;
351
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
357
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue);
371
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
384
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter);
397
TextEditorCharacters
._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter);
410
TextEditorCharacters
._OnApplyProperty(This, TextElement.BackgroundProperty, args.Parameter);
434
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft);
443
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditorParagraphs.cs (6)
71
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Left, /*applyToParagraphs*/true);
86
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Center, /*applyToParagraphs*/true);
101
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Right, /*applyToParagraphs*/true);
116
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Justify, /*applyToParagraphs*/true);
140
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
150
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\Windows\Documents\TextRangeEdit.cs (4)
1930
if (newValue <
TextEditorCharacters
.OneFontPoint)
1932
newValue =
TextEditorCharacters
.OneFontPoint;
1934
else if (newValue >
TextEditorCharacters
.MaxFontPoint)
1936
newValue =
TextEditorCharacters
.MaxFontPoint;