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)
559
trigger.Setters.Add(new
Setter
(TextDecorationsProperty, System.Windows.TextDecorations.Underline));
System\Windows\Controls\DataGridCheckBoxColumn.cs (6)
42
style.Setters.Add(new
Setter
(UIElement.IsHitTestVisibleProperty, false));
43
style.Setters.Add(new
Setter
(UIElement.FocusableProperty, false));
44
style.Setters.Add(new
Setter
(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center));
45
style.Setters.Add(new
Setter
(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top));
73
style.Setters.Add(new
Setter
(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center));
74
style.Setters.Add(new
Setter
(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top));
System\Windows\Controls\DataGridComboBoxColumn.cs (1)
227
style.Setters.Add(new
Setter
(ComboBox.IsSynchronizedWithCurrentItemProperty, false));
System\Windows\Controls\DataGridTextColumn.cs (3)
39
style.Setters.Add(new
Setter
(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0)));
61
style.Setters.Add(new
Setter
(TextBox.BorderThicknessProperty, new Thickness(0.0)));
62
style.Setters.Add(new
Setter
(TextBox.PaddingProperty, new Thickness(0.0)));
System\Windows\Controls\Image.cs (1)
411
style.Setters.Add (new
Setter
(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Controls\InkCanvas.cs (6)
97
defaultStyle.Setters.Add(new
Setter
(InkCanvas.BackgroundProperty,
100
defaultStyle.Setters.Add(new
Setter
(Stylus.IsFlicksEnabledProperty, false));
102
defaultStyle.Setters.Add(new
Setter
(Stylus.IsTapFeedbackEnabledProperty, false));
104
defaultStyle.Setters.Add(new
Setter
(Stylus.IsTouchFeedbackEnabledProperty, false));
110
Setter setter = new
Setter
();
120
setter = new
Setter
();
System\Windows\Controls\MediaElement.cs (1)
103
style.Setters.Add (new
Setter
(FlowDirectionProperty, FlowDirection.LeftToRight));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8844
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)
722
if (typeof(
Setter
).IsAssignableFrom(type))
724
return
Setter
.ReceiveMarkupExtension;
System\Windows\Controls\InkCanvas.cs (1)
110
Setter
setter = new Setter();
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
650
case 556: t = () => typeof(
Setter
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
6499
Type type = typeof(System.Windows.
Setter
);
6501
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
6508
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
Setter
)target).Value = (System.Object)value; };
6509
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
Setter
)target).Value; };
6517
Type type = typeof(System.Windows.
Setter
);
6519
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
6527
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
Setter
)target).TargetName = (System.String)value; };
6528
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
Setter
)target).TargetName; };
7504
Type type = typeof(System.Windows.
Setter
);
7506
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
7514
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
Setter
)target).Property = (System.Windows.DependencyProperty)value; };
7515
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
Setter
)target).Property; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8842
typeof(System.Windows.
Setter
),
System\Windows\Markup\Baml2006\WpfKnownType.cs (4)
263
if (typeof(
Setter
).IsAssignableFrom(_underlyingType))
265
return
Setter
.ReceiveMarkupExtension;
280
if (typeof(
Setter
).IsAssignableFrom(_underlyingType))
282
return
Setter
.ReceiveTypeConverter;
System\Windows\Markup\KnownTypes.cs (1)
6110
case KnownElements.Setter: t = typeof(System.Windows.
Setter
); break;
System\Windows\Setter.cs (4)
232
Setter
setter = targetObject as
Setter
;
256
Setter
setter = targetObject as
Setter
;
System\Windows\Style.cs (2)
647
Setter
setter = setterBase as
Setter
;
System\Windows\Trigger.cs (4)
174
internal static
Setter
CheckChildIsSetter( object o )
178
Setter
setter = o as
Setter
;
182
throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, o.GetType(), typeof(
Setter
)), "o");
System\Windows\TriggerBase.cs (2)
275
Setter
setter = setters[i] as
Setter
;