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)
40
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
51
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Controls\AccessText.cs (1)
171
TextElement.
FontStyleProperty
.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
232
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
113
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontStyleProperty
, FontStyleProperty);
137
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontStyleProperty
, FontStyleProperty);
340
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
660
TextElement.
FontStyleProperty
.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
268
FontStyle style = (FontStyle)tp.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Documents\FixedElement.cs (1)
64
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
235
element.SetValue(TextElement.
FontStyleProperty
, _fontStyle);
System\Windows\Documents\FlowDocument.cs (1)
218
TextElement.
FontStyleProperty
.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
193
object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.
FontStyleProperty
);
196
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontStyleProperty
, fontStyle);
System\windows\Documents\TextEditorDragDrop.cs (1)
412
object fontStylePropertyValue = dragPosition.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Documents\TextElement.cs (4)
507
get { return (FontStyle) GetValue(
FontStyleProperty
); }
508
set { SetValue(
FontStyleProperty
, value); }
520
element.SetValue(
FontStyleProperty
, value);
531
return (FontStyle)element.GetValue(
FontStyleProperty
);
System\Windows\Documents\TextSchema.cs (1)
47
TextElement.
FontStyleProperty
,
System\windows\Documents\TextSelection.cs (2)
2028
fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.
FontStyleProperty
);
2118
object fontStylePropertyValue = GetPropertyValue(TextElement.
FontStyleProperty
);
System\Windows\FrameworkElement.cs (3)
2395
TextElement.
FontStyleProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle)));
5563
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontStyleProperty
))
5609
CoerceValue(TextElement.
FontStyleProperty
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3897
DependencyProperty dp = System.Windows.Documents.TextElement.
FontStyleProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1917
return System.Windows.Documents.TextElement.
FontStyleProperty
;
System\Windows\SystemResources.cs (1)
1253
fe.CoerceValue(TextElement.
FontStyleProperty
);