16 references to MarginProperty
PresentationFramework (16)
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
41
MarginProperty
.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (1)
43
style.Setters.Add(new Setter(TextBlock.
MarginProperty
, new Thickness(2.0, 0.0, 2.0, 0.0)));
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (2)
211
Thickness margin = (Thickness)element.GetValue(
MarginProperty
);
265
Thickness margin = (Thickness)child.GetValue(
MarginProperty
);
src\Framework\System\Windows\Controls\ProgressBar.cs (2)
266
_glow.BeginAnimation(FrameworkElement.
MarginProperty
, animation);
270
_glow.BeginAnimation(FrameworkElement.
MarginProperty
, null);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2752
content.SetValue(ContentPresenter.
MarginProperty
, new TemplateBindingExtension(PaddingProperty));
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (4)
328
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
339
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
350
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
361
Thickness margin = (Thickness)tp.GetValue(FrameworkElement.
MarginProperty
);
src\Framework\System\Windows\Documents\TextSchema.cs (1)
1180
FrameworkElement.
MarginProperty
,
src\Framework\System\Windows\FrameworkElement.cs (2)
3749
get { return (Thickness) GetValue(
MarginProperty
); }
3750
set { SetValue(
MarginProperty
, value); }
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (1)
2521
DependencyProperty dp = System.Windows.FrameworkElement.
MarginProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1779
return System.Windows.FrameworkElement.
MarginProperty
;