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