25 instantiations of Setter
PresentationFramework (18)
src\Framework\System\Windows\Controls\AccessText.cs (1)
561trigger.Setters.Add(new Setter(TextDecorationsProperty, System.Windows.TextDecorations.Underline));
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (6)
41style.Setters.Add(new Setter(UIElement.IsHitTestVisibleProperty, false)); 42style.Setters.Add(new Setter(UIElement.FocusableProperty, false)); 43style.Setters.Add(new Setter(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center)); 44style.Setters.Add(new Setter(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top)); 66style.Setters.Add(new Setter(CheckBox.HorizontalAlignmentProperty, HorizontalAlignment.Center)); 67style.Setters.Add(new Setter(CheckBox.VerticalAlignmentProperty, VerticalAlignment.Top));
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (1)
232style.Setters.Add(new Setter(ComboBox.IsSynchronizedWithCurrentItemProperty, false));
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (3)
43style.Setters.Add(new Setter(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0))); 65style.Setters.Add(new Setter(TextBox.BorderThicknessProperty, new Thickness(0.0))); 66style.Setters.Add(new Setter(TextBox.PaddingProperty, new Thickness(0.0)));
src\Framework\System\Windows\Controls\Image.cs (1)
424style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
src\Framework\System\Windows\Controls\InkCanvas.cs (3)
120defaultStyle.Setters.Add(new Setter(InkCanvas.BackgroundProperty, 133Setter setter = new Setter(); 143setter = new Setter();
src\Framework\System\Windows\Controls\MediaElement.cs (1)
115style.Setters.Add (new Setter(FlowDirectionProperty, FlowDirection.LeftToRight));
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8842bamlType.DefaultConstructor = delegate() { return new System.Windows.Setter(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1528case KnownElements.Setter: o = new System.Windows.Setter(); break;
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (4)
55Setter visibilitySetter = new Setter(); 69Setter automationIdSetter = new Setter(); 76Setter enableSetter = new Setter(TreeViewItem.IsEnabledProperty, false); 114Setter automationIdSetter = new Setter();
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (3)
829style.Setters.Add(new Setter(DataGridCell.WidthProperty, new Binding("Column.ActualWidth") 835style.Setters.Add(new Setter(AutomationProperties.AutomationIdProperty, new Binding("Column.Header") 879errorTooltipTrigger.Setters.Add(new Setter(DataGridRow.TagProperty, null));
38 references to Setter
PresentationFramework (34)
src\Framework\MS\Internal\Helper.cs (2)
746if (typeof(Setter).IsAssignableFrom(type)) 748return Setter.ReceiveMarkupExtension;
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
133Setter setter = new Setter();
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
648case 556: t = () => typeof(Setter); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
6459Type type = typeof(System.Windows.Setter); 6461this.GetXamlType(typeof(System.Windows.Setter)), // DeclaringType 6468bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Setter)target).Value = (System.Object)value; }; 6469bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Setter)target).Value; }; 6477Type type = typeof(System.Windows.Setter); 6479this.GetXamlType(typeof(System.Windows.Setter)), // DeclaringType 6487bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Setter)target).TargetName = (System.String)value; }; 6488bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Setter)target).TargetName; }; 7464Type type = typeof(System.Windows.Setter); 7466this.GetXamlType(typeof(System.Windows.Setter)), // DeclaringType 7474bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Setter)target).Property = (System.Windows.DependencyProperty)value; }; 7475bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Setter)target).Property; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8840typeof(System.Windows.Setter),
src\Framework\System\Windows\Markup\Baml2006\WpfKnownType.cs (4)
262if (typeof(Setter).IsAssignableFrom(_underlyingType)) 264return Setter.ReceiveMarkupExtension; 279if (typeof(Setter).IsAssignableFrom(_underlyingType)) 281return Setter.ReceiveTypeConverter;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6100case KnownElements.Setter: t = typeof(System.Windows.Setter); break;
src\Framework\System\Windows\Setter.cs (4)
241Setter setter = targetObject as Setter; 265Setter setter = targetObject as Setter;
src\Framework\System\Windows\Style.cs (2)
663Setter setter = setterBase as Setter;
src\Framework\System\Windows\Trigger.cs (4)
176internal static Setter CheckChildIsSetter( object o ) 183Setter setter = o as Setter; 187throw new ArgumentException(SR.Get(SRID.UnexpectedParameterType, o.GetType(), typeof(Setter)), "o");
src\Framework\System\Windows\TriggerBase.cs (2)
281Setter setter = setters[i] as Setter;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (4)
55Setter visibilitySetter = new Setter(); 69Setter automationIdSetter = new Setter(); 76Setter enableSetter = new Setter(TreeViewItem.IsEnabledProperty, false); 114Setter automationIdSetter = new Setter();