10 writes to Margin
PresentationFramework (4)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1159
indicator.
Margin
= new Thickness(0);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
627
cell.
Margin
= _defalutCellMargin;
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
514
rootElement.
Margin
= templateFixupMargin;
1536
rootElement.
Margin
= new Thickness();
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (2)
38
Margin
= new Thickness(10),
41
Margin
= new Thickness(4, 0, 4, 0),
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
858
Margin
= new Thickness(locations[viewElement].X, locations[viewElement].Y, 0, 0),
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (2)
28
Margin
= new Thickness(10),
32
Margin
= new Thickness(4, 0, 4, 0),
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
93
errorGrid.
Margin
= new Thickness(20.0);
30 references to Margin
PresentationFramework (19)
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
409
thickness = frameworkElement.
Margin
;
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
170
Thickness margin = _visualBrushCanvas.
Margin
;
183
Thickness margin = _visualBrushCanvas.
Margin
;
src\Framework\System\Windows\Controls\ProgressBar.cs (3)
242
if (DoubleUtil.GreaterThan( _glow.
Margin
.Left,startPos) && ( DoubleUtil.LessThan(_glow.
Margin
.Left, endPos-1)))
246
startTime = TimeSpan.FromSeconds(-1*(_glow.
Margin
.Left-startPos)/200.0);
src\Framework\System\Windows\Controls\ToolBar.cs (1)
565
Thickness margin = toolBarPanel.
Margin
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (5)
1261
firstContainerOffsetFromViewport -= fe.
Margin
.Top;
1269
firstContainerOffsetFromViewport -= fe.
Margin
.Left;
6299
Thickness margin = container.
Margin
;
6331
Thickness margin = (fe == null) ? new Thickness() : fe.
Margin
;
6474
Thickness margin = (container == null) ? new Thickness() : container.
Margin
;
src\Framework\System\Windows\Documents\FixedPage.cs (4)
458
/// <seealso cref="FrameworkElement.
Margin
" />
475
/// <seealso cref="FrameworkElement.
Margin
" />
492
/// <seealso cref="FrameworkElement.
Margin
" />
510
/// <seealso cref="FrameworkElement.
Margin
" />
src\Framework\System\Windows\FrameworkElement.cs (3)
4327
Thickness margin =
Margin
;
4574
Thickness margin =
Margin
;
4930
Thickness margin =
Margin
;
System.Activities.Core.Presentation (4)
System\Activities\Core\Presentation\FlowchartConnectionPointsAdorner.cs (1)
46
Thickness margin = ((FrameworkElement)AdornedElement).
Margin
;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
889
bindings.ConverterParameter = new List<Object> { widthFraction, heightFraction, element.
Margin
};
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1047
bindings.ConverterParameter = new List<Object> { widthFraction, heightFraction, element.
Margin
};
System\Activities\Core\Presentation\StateMachineConnetionPointsAdorner.cs (1)
30
Thickness margin = ((FrameworkElement)AdornedElement).
Margin
;
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPoint.cs (6)
116
topLeft.Offset(parent.
Margin
.Left, parent.
Margin
.Top);
117
double parentWidth = parent.DesiredSize.Width - parent.
Margin
.Left - parent.
Margin
.Right;
118
double parentHeight = parent.DesiredSize.Height - parent.
Margin
.Top - parent.
Margin
.Bottom;
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
130
margin = frameworkChild.
Margin
;