29 references to FontStyleProperty
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
DependencyObjectExtensions.cs (1)
18
dependencyObject.SetValue(TextElement.
FontStyleProperty
, textProperties.Italic ? FontStyles.Italic : FontStyles.Normal);
PresentationFramework (28)
MS\Internal\Text\DynamicPropertyReader.cs (2)
41
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
52
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Controls\AccessText.cs (1)
172
TextElement.
FontStyleProperty
.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
233
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
114
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontStyleProperty
, FontStyleProperty);
138
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontStyleProperty
, FontStyleProperty);
341
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
663
TextElement.
FontStyleProperty
.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
269
FontStyle style = (FontStyle)tp.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Documents\FixedElement.cs (1)
65
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
234
element.SetValue(TextElement.
FontStyleProperty
, _fontStyle);
System\Windows\Documents\FlowDocument.cs (1)
219
TextElement.
FontStyleProperty
.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
194
object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.
FontStyleProperty
);
197
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontStyleProperty
, fontStyle);
System\windows\Documents\TextEditorDragDrop.cs (1)
413
object fontStylePropertyValue = dragPosition.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Documents\TextElement.cs (4)
522
get { return (FontStyle) GetValue(
FontStyleProperty
); }
523
set { SetValue(
FontStyleProperty
, value); }
535
element.SetValue(
FontStyleProperty
, value);
546
return (FontStyle)element.GetValue(
FontStyleProperty
);
System\Windows\Documents\TextSchema.cs (1)
48
TextElement.
FontStyleProperty
,
System\windows\Documents\TextSelection.cs (2)
2044
fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.
FontStyleProperty
);
2134
object fontStylePropertyValue = GetPropertyValue(TextElement.
FontStyleProperty
);
System\Windows\FrameworkElement.cs (3)
2404
TextElement.
FontStyleProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle)));
5565
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontStyleProperty
))
5611
CoerceValue(TextElement.
FontStyleProperty
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3722
DependencyProperty dp = System.Windows.Documents.TextElement.
FontStyleProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1924
return System.Windows.Documents.TextElement.
FontStyleProperty
;
System\Windows\SystemResources.cs (1)
1270
fe.CoerceValue(TextElement.
FontStyleProperty
);