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