34 references to TextEditorCharacters
PresentationFramework (34)
src\Framework\System\windows\Documents\TextEditor.cs (1)
399
TextEditorCharacters
._RegisterClassHandlers(controlType, registerEventListeners);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (23)
195
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight);
215
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle);
249
TextEditorCharacters
._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations);
268
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
287
TextEditorCharacters
._OnApplyProperty(This, Typography.VariantsProperty, fontVariants);
320
if (fontSize <
TextEditorCharacters
.MaxFontPoint)
322
fontSize +=
TextEditorCharacters
.OneFontPoint;
323
if (fontSize >
TextEditorCharacters
.MaxFontPoint)
325
fontSize =
TextEditorCharacters
.MaxFontPoint;
329
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
335
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue);
362
if (fontSize >
TextEditorCharacters
.OneFontPoint)
364
fontSize -=
TextEditorCharacters
.OneFontPoint;
365
if (fontSize <
TextEditorCharacters
.OneFontPoint)
367
fontSize =
TextEditorCharacters
.OneFontPoint;
370
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize);
376
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue);
390
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter);
403
TextEditorCharacters
._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter);
416
TextEditorCharacters
._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter);
429
TextEditorCharacters
._OnApplyProperty(This, TextElement.BackgroundProperty, args.Parameter);
453
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft);
462
TextEditorCharacters
._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
src\Framework\System\windows\Documents\TextEditorParagraphs.cs (6)
90
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Left, /*applyToParagraphs*/true);
105
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Center, /*applyToParagraphs*/true);
120
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Right, /*applyToParagraphs*/true);
135
TextEditorCharacters
._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Justify, /*applyToParagraphs*/true);
159
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
169
TextEditorCharacters
._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
src\Framework\System\Windows\Documents\TextRangeEdit.cs (4)
1935
if (newValue <
TextEditorCharacters
.OneFontPoint)
1937
newValue =
TextEditorCharacters
.OneFontPoint;
1939
else if (newValue >
TextEditorCharacters
.MaxFontPoint)
1941
newValue =
TextEditorCharacters
.MaxFontPoint;