16 writes to Style
PresentationFramework (12)
src\Framework\MS\Internal\FrameworkObject.cs (1)
384
_fe.
Style
= value;
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (1)
169
element.
Style
= style;
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
295
element.
Style
= style;
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
401
previewControl.
Style
= previewStyle;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1211
_floatingHeader.
Style
= srcHeader.Style;
1476
header.
Style
= null;
src\Framework\System\Windows\Controls\GroupItem.cs (1)
202
this.
Style
= style;
src\Framework\System\Windows\Controls\PasswordBox.cs (1)
1202
_border.
Style
= null;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
778
_columnHeaderDragIndicator.
Style
= style;
808
_columnHeaderDropLocationIndicator.
Style
= style;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
557
control.
Style
= focusVisualStyle;
668
control.
Style
= _focusVisualStyle;
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
87
return new MessageQueryComboBoxItem() {
Style
= (Style)this.FindResource("comboBoxStyle") };
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
92
this.dataGrid.
Style
= (Style)this.FindResource("defaultDataGridStyle");
454
e.Row.
Style
= (Style)this.FindResource("defaultNewRowStyle");
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
571
this.expressionEditorInstance.HostControl.
Style
= (Style)FindResource("editorStyle");
25 references to Style
PresentationFramework (25)
src\Framework\MS\Internal\FrameworkObject.cs (1)
369
return _fe.
Style
;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1211
_floatingHeader.Style = srcHeader.
Style
;
src\Framework\System\Windows\FrameworkElement.cs (10)
1232
style = fe.
Style
;
1667
if( fe.
Style
!= null &&
1668
fe.
Style
._resources != null )
1670
table = fe.
Style
._resources;
2116
if (
Style
!= null)
2118
StyleHelper.OnTriggerSourcePropertyInvalidated(
Style
, null, this, dp, e, true /*invalidateOnlyContainer*/,
2119
ref
Style
.TriggerSourceRecordFromChildIndex, ref
Style
.PropertyTriggersWithActions, 0 /*sourceChildIndex*/); // Style can only have triggers that are driven by properties on the container
2131
if (ThemeStyle != null &&
Style
!= ThemeStyle)
3002
selfStyle = fe.
Style
;
src\Framework\System\Windows\Generated\FrameworkElement.cs (3)
500
selfStyle =
Style
;
578
if(null !=
Style
&&
Style
.HasLoadedChangeHandler)
src\Framework\System\Windows\StyleHelper.cs (4)
135
style = fe.
Style
;
184
selfStyle = fe.
Style
;
2414
selfStyle = fe.
Style
;
5141
Style style = (fe != null) ? fe.
Style
: fce.Style;
src\Framework\System\Windows\TreeWalkHelper.cs (6)
579
(fe.HasImplicitStyleFromResources || fe.
Style
== FrameworkElement.StyleProperty.GetMetadata(fe.DependencyObjectType).DefaultValue))
760
(fe.HasImplicitStyleFromResources || fe.
Style
== FrameworkElement.StyleProperty.GetMetadata(fe.DependencyObjectType).DefaultValue))
773
if (fe.
Style
!= null && fe.
Style
.HasResourceReferences)
781
StyleHelper.InvalidateResourceDependents(d, info, ref fe.
Style
.ResourceDependents,
821
if (themeStyle != fe.
Style
)