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)
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));
112
Setter setter = new
Setter
126
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)
9785
DefaultConstructor = delegate () { return new System.Windows.
Setter
(); }
System\Windows\Markup\KnownTypes.cs (1)
1521
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)
112
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)
6979
Type type = typeof(System.Windows.
Setter
);
6981
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
6989
SetDelegate = delegate (object target, object value) { ((System.Windows.
Setter
)target).Value = (System.Object)value; },
6990
GetDelegate = delegate (object target) { return ((System.Windows.
Setter
)target).Value; }
6999
Type type = typeof(System.Windows.
Setter
);
7001
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
7010
SetDelegate = delegate (object target, object value) { ((System.Windows.
Setter
)target).TargetName = (System.String)value; },
7011
GetDelegate = delegate (object target) { return ((System.Windows.
Setter
)target).TargetName; }
8096
Type type = typeof(System.Windows.
Setter
);
8098
this.GetXamlType(typeof(System.Windows.
Setter
)), // DeclaringType
8107
SetDelegate = delegate (object target, object value) { ((System.Windows.
Setter
)target).Property = (System.Windows.DependencyProperty)value; },
8108
GetDelegate = delegate (object target) { return ((System.Windows.
Setter
)target).Property; }
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9782
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)
6104
case KnownElements.Setter: t = typeof(System.Windows.
Setter
); break;
System\Windows\Setter.cs (4)
223
Setter
setter = targetObject as
Setter
;
247
Setter
setter = targetObject as
Setter
;
System\Windows\Style.cs (2)
640
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)
277
Setter
setter = setters[i] as
Setter
;