28 references to FontStyleProperty
PresentationFramework (28)
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (2)
50
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
61
FontStyle fontStyle = (FontStyle) element.GetValue(TextElement.
FontStyleProperty
);
src\Framework\System\Windows\Controls\AccessText.cs (1)
174
TextElement.
FontStyleProperty
.AddOwner(typeof(AccessText));
src\Framework\System\Windows\Controls\Control.cs (1)
243
TextElement.
FontStyleProperty
.AddOwner(
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
118
DataGridHelper.SyncColumnProperty(this, e, TextElement.
FontStyleProperty
, FontStyleProperty);
142
DataGridHelper.SyncColumnProperty(this, textElement, TextElement.
FontStyleProperty
, FontStyleProperty);
345
TextElement.
FontStyleProperty
.AddOwner(
src\Framework\System\Windows\Controls\TextBlock.cs (1)
703
TextElement.
FontStyleProperty
.AddOwner(typeof(TextBlock));
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
279
FontStyle style = (FontStyle)tp.GetValue(TextElement.
FontStyleProperty
);
src\Framework\System\Windows\Documents\FixedElement.cs (1)
77
TextElement.
FontStyleProperty
.AddOwner(
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
243
element.SetValue(TextElement.
FontStyleProperty
, _fontStyle);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
227
TextElement.
FontStyleProperty
.AddOwner(_typeofThis);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (2)
212
object propertyValue = ((TextSelection)This.Selection).GetCurrentValue(TextElement.
FontStyleProperty
);
215
TextEditorCharacters._OnApplyProperty(This, TextElement.
FontStyleProperty
, fontStyle);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
442
object fontStylePropertyValue = dragPosition.GetValue(TextElement.
FontStyleProperty
);
src\Framework\System\Windows\Documents\TextElement.cs (4)
534
get { return (FontStyle) GetValue(
FontStyleProperty
); }
535
set { SetValue(
FontStyleProperty
, value); }
550
element.SetValue(
FontStyleProperty
, value);
564
return (FontStyle)element.GetValue(
FontStyleProperty
);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
51
TextElement.
FontStyleProperty
,
src\Framework\System\windows\Documents\TextSelection.cs (2)
2055
fontStylePropertyValue = ((TextSelection)textSelection).GetCurrentValue(TextElement.
FontStyleProperty
);
2145
object fontStylePropertyValue = GetPropertyValue(TextElement.
FontStyleProperty
);
src\Framework\System\Windows\FrameworkElement.cs (3)
2412
TextElement.
FontStyleProperty
.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle)));
5574
if (ShouldUseSystemFont((FrameworkElement)o, TextElement.
FontStyleProperty
))
5620
CoerceValue(TextElement.
FontStyleProperty
);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
3699
DependencyProperty dp = System.Windows.Documents.TextElement.
FontStyleProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1921
return System.Windows.Documents.TextElement.
FontStyleProperty
;
src\Framework\System\Windows\SystemResources.cs (1)
1335
fe.CoerceValue(TextElement.
FontStyleProperty
);