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