34 references to TextEditorCharacters
PresentationFramework (34)
System\windows\Documents\TextEditor.cs (1)
378TextEditorCharacters._RegisterClassHandlers(controlType, registerEventListeners);
System\windows\Documents\TextEditorCharacters.cs (23)
177TextEditorCharacters._OnApplyProperty(This, TextElement.FontWeightProperty, fontWeight); 197TextEditorCharacters._OnApplyProperty(This, TextElement.FontStyleProperty, fontStyle); 231TextEditorCharacters._OnApplyProperty(This, Inline.TextDecorationsProperty, toggledTextDecorations); 250TextEditorCharacters._OnApplyProperty(This, Typography.VariantsProperty, fontVariants); 269TextEditorCharacters._OnApplyProperty(This, Typography.VariantsProperty, fontVariants); 302if (fontSize < TextEditorCharacters.MaxFontPoint) 304fontSize += TextEditorCharacters.OneFontPoint; 305if (fontSize > TextEditorCharacters.MaxFontPoint) 307fontSize = TextEditorCharacters.MaxFontPoint; 311TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 317TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.IncreaseByAbsoluteValue); 344if (fontSize > TextEditorCharacters.OneFontPoint) 346fontSize -= TextEditorCharacters.OneFontPoint; 347if (fontSize < TextEditorCharacters.OneFontPoint) 349fontSize = TextEditorCharacters.OneFontPoint; 352TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, fontSize); 358TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, OneFontPoint, /*applyToParagraphs:*/false, PropertyValueAction.DecreaseByAbsoluteValue); 372TextEditorCharacters._OnApplyProperty(This, TextElement.FontSizeProperty, args.Parameter); 385TextEditorCharacters._OnApplyProperty(This, TextElement.FontFamilyProperty, args.Parameter); 398TextEditorCharacters._OnApplyProperty(This, TextElement.ForegroundProperty, args.Parameter); 411TextEditorCharacters._OnApplyProperty(This, TextElement.BackgroundProperty, args.Parameter); 435TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.RightToLeft); 444TextEditorCharacters._OnApplyProperty(This, Inline.FlowDirectionProperty, FlowDirection.LeftToRight);
System\windows\Documents\TextEditorParagraphs.cs (6)
72TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Left, /*applyToParagraphs*/true); 87TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Center, /*applyToParagraphs*/true); 102TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Right, /*applyToParagraphs*/true); 117TextEditorCharacters._OnApplyProperty(This, Block.TextAlignmentProperty, TextAlignment.Justify, /*applyToParagraphs*/true); 141TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty, 151TextEditorCharacters._OnApplyProperty(This, FrameworkElement.FlowDirectionProperty,
System\Windows\Documents\TextRangeEdit.cs (4)
1931if (newValue < TextEditorCharacters.OneFontPoint) 1933newValue = TextEditorCharacters.OneFontPoint; 1935else if (newValue > TextEditorCharacters.MaxFontPoint) 1937newValue = TextEditorCharacters.MaxFontPoint;