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