24 instantiations of Setter
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (3)
69
new
Setter
(BackgroundProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipBrushKey)),
70
new
Setter
(BorderBrushProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipBorderBrushKey)),
71
new
Setter
(ForegroundProperty, new DynamicResourceExtension(EnvironmentColors.ToolTipTextBrushKey)),
PresentationFramework (21)
System\Windows\Controls\AccessText.cs (1)
561
trigger.Setters.Add(new
Setter
(TextDecorationsProperty, System.Windows.TextDecorations.Underline));
System\Windows\Controls\DataGridCheckBoxColumn.cs (6)
46
style.Setters.Add(new
Setter
(UIElement.IsHitTestVisibleProperty, false));
47
style.Setters.Add(new
Setter
(UIElement.FocusableProperty, false));
48
style.Setters.Add(new
Setter
(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center));
49
style.Setters.Add(new
Setter
(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top));
77
style.Setters.Add(new
Setter
(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center));
78
style.Setters.Add(new
Setter
(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top));
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
231
style.Setters.Add(new
Setter
(ComboBox.IsSynchronizedWithCurrentItemProperty, false));
System\Windows\Controls\DataGridTextColumn.cs (3)
42
style.Setters.Add(new
Setter
(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0)));
64
style.Setters.Add(new
Setter
(TextBox.BorderThicknessProperty, new Thickness(0.0)));
65
style.Setters.Add(new
Setter
(TextBox.PaddingProperty, new Thickness(0.0)));
System\Windows\Controls\Image.cs (1)
419
style.Setters.Add (new
Setter
(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\InkCanvas.cs (6)
109
defaultStyle.Setters.Add(new
Setter
(InkCanvas.BackgroundProperty,
112
defaultStyle.Setters.Add(new
Setter
(Stylus.IsFlicksEnabledProperty, false));
114
defaultStyle.Setters.Add(new
Setter
(Stylus.IsTapFeedbackEnabledProperty, false));
116
defaultStyle.Setters.Add(new
Setter
(Stylus.IsTouchFeedbackEnabledProperty, false));
122
Setter setter = new
Setter
();
132
setter = new
Setter
();
System\Windows\Controls\MediaElement.cs (1)
110
style.Setters.Add (new
Setter
(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8846
bamlType.DefaultConstructor = delegate() { return new System.Windows.
Setter
(); };
System\Windows\Markup\KnownTypes.cs (1)
1527
case KnownElements.Setter: o = new System.Windows.
Setter
(); break;
34 references to Setter
PresentationFramework (34)
MS\Internal\Helper.cs (2)
731
if (typeof(
Setter
).IsAssignableFrom(type))
733
return
Setter
.ReceiveMarkupExtension;
System\Windows\Controls\InkCanvas.cs (1)
122
Setter
setter = new Setter();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
652
case 556: t = () => typeof(
Setter
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
6501
Type type = typeof(System.Windows.
Setter
);
6503
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
6510
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
Setter
)target).Value = (System.Object)value; };
6511
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
Setter
)target).Value; };
6519
Type type = typeof(System.Windows.
Setter
);
6521
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
6529
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
Setter
)target).TargetName = (System.String)value; };
6530
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
Setter
)target).TargetName; };
7506
Type type = typeof(System.Windows.
Setter
);
7508
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
7516
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
Setter
)target).Property = (System.Windows.DependencyProperty)value; };
7517
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
Setter
)target).Property; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8844
typeof(System.Windows.
Setter
),
System\Windows\Markup\Baml2006\WpfKnownType.cs (4)
266
if (typeof(
Setter
).IsAssignableFrom(_underlyingType))
268
return
Setter
.ReceiveMarkupExtension;
283
if (typeof(
Setter
).IsAssignableFrom(_underlyingType))
285
return
Setter
.ReceiveTypeConverter;
System\Windows\Markup\KnownTypes.cs (1)
6110
case KnownElements.Setter: t = typeof(System.Windows.
Setter
); break;
System\Windows\Setter.cs (4)
233
Setter
setter = targetObject as
Setter
;
257
Setter
setter = targetObject as
Setter
;
System\Windows\Style.cs (2)
657
Setter
setter = setterBase as
Setter
;
System\Windows\Trigger.cs (4)
180
internal static
Setter
CheckChildIsSetter( object o )
184
Setter
setter = o as
Setter
;
188
throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, o.GetType(), typeof(
Setter
)), "o");
System\Windows\TriggerBase.cs (2)
280
Setter
setter = setters[i] as
Setter
;