21 references to MarginProperty
Microsoft.VisualStudio.LanguageServices.Implementation (5)
Options\AbstractOptionPageControl.cs (5)
43
groupBoxStyle.Setters.Add(new Setter(GroupBox.
MarginProperty
, new Thickness() { Bottom = 3 }));
48
checkBoxStyle.Setters.Add(new Setter(CheckBox.
MarginProperty
, new Thickness() { Bottom = 7 }));
53
textBoxStyle.Setters.Add(new Setter(TextBox.
MarginProperty
, new Thickness() { Left = 7, Right = 7 }));
58
radioButtonStyle.Setters.Add(new Setter(RadioButton.
MarginProperty
, new Thickness() { Bottom = 7 }));
63
comboBoxStyle.Setters.Add(new Setter(ComboBox.
MarginProperty
, new Thickness() { Bottom = 7 }));
PresentationFramework (16)
MS\Internal\Documents\TextBoxView.cs (1)
36
MarginProperty
.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
System\Windows\Controls\DataGridTextColumn.cs (1)
38
style.Setters.Add(new Setter(TextBlock.
MarginProperty
, new Thickness(2.0, 0.0, 2.0, 0.0)));
System\Windows\Controls\Primitives\TabPanel.cs (2)
201
Thickness margin = (Thickness)element.GetValue(
MarginProperty
);
257
Thickness margin = (Thickness)child.GetValue(
MarginProperty
);
System\Windows\Controls\ProgressBar.cs (2)
259
_glow.BeginAnimation(FrameworkElement.
MarginProperty
, animation);
263
_glow.BeginAnimation(FrameworkElement.
MarginProperty
, null);
System\Windows\Controls\ScrollViewer.cs (1)
2700
content.SetValue(ContentPresenter.
MarginProperty
, new TemplateBindingExtension(PaddingProperty));
System\Windows\Controls\TextRangeAdaptor.cs (4)
317
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
328
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
339
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
350
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
System\Windows\Documents\TextSchema.cs (1)
1171
FrameworkElement.
MarginProperty
,
System\Windows\FrameworkElement.cs (2)
3729
get { return (Thickness) GetValue(
MarginProperty
); }
3730
set { SetValue(
MarginProperty
, value); }
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2596
DependencyProperty dp = System.Windows.FrameworkElement.
MarginProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1771
return System.Windows.FrameworkElement.
MarginProperty
;