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)
47
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
58
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Controls\AccessText.cs (1)
174
TextElement.
FontStyleProperty
.AddOwner(typeof(AccessText));
System\Windows\Controls\Control.cs (1)
242
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Controls\DataGridTextColumn.cs (3)
117
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontStyleProperty
, FontStyleProperty);
141
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontStyleProperty
, FontStyleProperty);
344
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Controls\TextBlock.cs (1)
673
TextElement.
FontStyleProperty
.AddOwner(typeof(TextBlock));
System\Windows\Controls\TextRangeAdaptor.cs (1)
271
FontStyle style = (FontStyle)tp.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Documents\FixedElement.cs (1)
73
TextElement.
FontStyleProperty
.AddOwner(
System\Windows\Documents\FixedSOMTextRun.cs (1)
238
element.SetValue(TextElement.
FontStyleProperty
, _fontStyle);
System\Windows\Documents\FlowDocument.cs (1)
219
TextElement.
FontStyleProperty
.AddOwner(_typeofThis);
System\windows\Documents\TextEditorCharacters.cs (2)
210
object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.
FontStyleProperty
);
213
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontStyleProperty
, fontStyle);
System\windows\Documents\TextEditorDragDrop.cs (1)
430
object fontStylePropertyValue = dragPosition.GetValue(TextElement.
FontStyleProperty
);
System\Windows\Documents\TextElement.cs (4)
523
get { return (FontStyle) GetValue(
FontStyleProperty
); }
524
set { SetValue(
FontStyleProperty
, value); }
536
element.SetValue(
FontStyleProperty
, value);
547
return (FontStyle)element.GetValue(
FontStyleProperty
);
System\Windows\Documents\TextSchema.cs (1)
49
TextElement.
FontStyleProperty
,
System\windows\Documents\TextSelection.cs (2)
2047
fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.
FontStyleProperty
);
2137
object fontStylePropertyValue = GetPropertyValue(TextElement.
FontStyleProperty
);
System\Windows\FrameworkElement.cs (3)
2415
TextElement.
FontStyleProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle)));
5576
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontStyleProperty
))
5622
CoerceValue(TextElement.
FontStyleProperty
);
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3724
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)
1277
fe.CoerceValue(TextElement.
FontStyleProperty
);