10 references to GetCurrentValue
PresentationFramework (10)
System\windows\Documents\TextEditorCharacters.cs (7)
174
object propertyValue = ((TextSelection)This.Selection).
GetCurrentValue
(TextElement.FontWeightProperty);
194
object propertyValue = ((TextSelection)This.Selection).
GetCurrentValue
(TextElement.FontStyleProperty);
217
object propertyValue = ((TextSelection)This.Selection).
GetCurrentValue
(Inline.TextDecorationsProperty);
246
FontVariants fontVariants = (FontVariants)((TextSelection)This.Selection).
GetCurrentValue
(Typography.VariantsProperty);
265
FontVariants fontVariants = (FontVariants)((TextSelection)This.Selection).
GetCurrentValue
(Typography.VariantsProperty);
296
double fontSize = (double)((TextSelection)This.Selection).
GetCurrentValue
(TextElement.FontSizeProperty);
338
double fontSize = (double)((TextSelection)This.Selection).
GetCurrentValue
(TextElement.FontSizeProperty);
System\windows\Documents\TextSelection.cs (3)
173
propertyValue = ((TextSelection)this).
GetCurrentValue
(formattingProperty);
1645
backgroundPropertyValue = ((TextSelection)focusedTextSelection).
GetCurrentValue
(TextElement.BackgroundProperty);
2044
fontStylePropertyValue = ((TextSelection)textSelection).
GetCurrentValue
(TextElement.FontStyleProperty);