66 references to Thickness
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
InlineDiagnostics\InlineDiagnosticsTag.cs (3)
64Padding = new Thickness(left: 2, top: 0, right: 2, bottom: 0), 89Margin = new Thickness(1, 0, 5, 0) 105Margin = new Thickness(10, top: 0, right: 0, bottom: 1),
InlineHints\InlineHintsTag.cs (2)
137Padding = new Thickness(left: 2, top: 0, right: 2, bottom: 0) 170Margin = new Thickness(left, top: 0, right, bottom: 0),
LineSeparators\LineSeparatorTag.cs (1)
41BorderThickness = new Thickness(0, 0, 0, bottom: 1),
Microsoft.VisualStudio.LanguageServices (1)
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
80block.Margin = new Thickness(5.0, 0.0, 0.0, 0.0);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
194BorderThickness = new Thickness(0, 0, 0, 0),
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
InheritanceMargin\InheritanceMarginViewModelTests.vb (2)
30Private Shared ReadOnly s_defaultMargin As Thickness = New Thickness(4, 1, 4, 1) 32Private Shared ReadOnly s_indentMargin As Thickness = New Thickness(22, 1, 4, 1)
PresentationFramework (37)
MS\Internal\AnimatedTypeHelpers.cs (5)
40return new Thickness( 58return new Thickness( 71return new Thickness( 109return new Thickness( 155return new Thickness(
MS\Internal\Documents\TextBoxView.cs (1)
39MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
48return new Thickness(leftPadding, 0, 0, 0);
MS\Internal\PtsHost\MbpInfo.cs (4)
124defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 129defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 139mbp.Margin = new Thickness( 164mbp.Padding = new Thickness(
MS\Internal\PtsHost\SubpageParaClient.cs (4)
85mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom); 86mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom); 91mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0); 92mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
System\Windows\Controls\Border.cs (2)
220borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY), 267borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
System\Windows\Controls\DataGrid.cs (1)
4105NewItemMargin = new Thickness(marginLeft, 0, 0, 0);
System\Windows\Controls\DataGridTextColumn.cs (1)
42style.Setters.Add(new Setter(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0)));
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
591Document.PagePadding = new Thickness(
System\Windows\Controls\GridViewRowPresenter.cs (1)
704private static readonly Thickness _defalutCellMargin = new Thickness(6, 0, 6, 0);
System\Windows\Controls\ProgressBar.cs (2)
261animation.KeyFrames.Add(new LinearThicknessKeyFrame(new Thickness(startPos,0,0,0), TimeSpan.FromSeconds(0))); 263animation.KeyFrames.Add(new LinearThicknessKeyFrame(new Thickness(endPos,0,0,0), translateTime));
System\Windows\Controls\RichTextBox.cs (1)
326renderScope.Document.PagePadding = new Thickness(CaretElement.CaretPaddingWidth, 0, CaretElement.CaretPaddingWidth, 0);
System\Windows\Controls\SinglePageViewer.cs (1)
703document.PagePadding = new Thickness(
System\Windows\Controls\VirtualizingStackPanel.cs (1)
6482Thickness inset = new Thickness(left, top, right, bottom);
System\Windows\Documents\Paragraph.cs (1)
231margin = new Thickness(0, lineHeight, 0, lineHeight);
System\Windows\Documents\TextRange.cs (1)
1667value = new Thickness(
System\Windows\Documents\TextRangeEdit.cs (3)
1097return new Thickness(leftMargin, topMargin, rightMargin, bottomMargin); 1235object newValue = new Thickness( 1379Thickness thickness = new Thickness(increment, -1, -1, -1);
System\Windows\Documents\TextRangeEditTables.cs (1)
687return new Thickness(
System\Windows\Standard\DpiHelper.cs (1)
80return new Thickness(topLeft.X, topLeft.Y, bottomRight.X, bottomRight.Y);
System\Windows\SystemParameters.cs (2)
5723_windowResizeBorderThickness = new Thickness(frameSizeInDips.Width, frameSizeInDips.Height, frameSizeInDips.Width, frameSizeInDips.Height); 5749_windowNonClientFrameThickness = new Thickness(frameSizeInDips.Width, frameSizeInDips.Height + captionHeightInDips, frameSizeInDips.Width, frameSizeInDips.Height);
System\Windows\ThicknessConverter.cs (2)
2162 => new Thickness(lengths[0], lengths[1], lengths[0], lengths[1]), 2174 => new Thickness(lengths[0], lengths[1], lengths[2], lengths[3]),
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
30return new Thickness(5.0, 4.0, 5.0, 4.0);
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
30return new Thickness(5.0, 4.0, 5.0, 4.0);
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
30return new Thickness(5.0, 4.0, 5.0, 4.0);
PresentationFramework.Classic (9)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (9)
744return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s); 985DrawBorder(shadow, new Thickness(0, 0, singleThickness.Right, singleThickness.Bottom), dc, ref bounds); 986DrawBorder(highlight, new Thickness(singleThickness.Left, singleThickness.Top, 0, 0), dc, ref bounds); 1167_tabCache.Highlight2 = GenerateTabTopHighlightGeometry(HelperDeflateRect(bounds, new Thickness(1, 1, 1, 0)), false); 1180_tabCache.Shadow2 = GenerateTabTopShadowGeometry(HelperDeflateRect(bounds, new Thickness(1, 1, 1, 0)), false); 1231bounds = HelperDeflateRect(bounds, new Thickness(2, 2, 0, 2)); 1245bounds = HelperDeflateRect(bounds, new Thickness(2, 2, 2, 0)); 1267bounds = HelperDeflateRect(bounds, new Thickness(0, 2, 2, 2)); 1288bounds = HelperDeflateRect(bounds, new Thickness(2, 0, 2, 2));
System.Windows.Controls.Ribbon (7)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
449ribbonTabHeader.Padding = new Thickness(leftPadding, ribbonTabHeader.DefaultPadding.Top, rightPadding, ribbonTabHeader.DefaultPadding.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (4)
440PartToggleButton.BorderThickness = new Thickness(BorderThickness.Left, 0.0, BorderThickness.Right, BorderThickness.Bottom); 445_headerButton.BorderThickness = new Thickness(0.0, 0.0, 0.0, 1.0); 453PartToggleButton.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom); 458_headerButton.BorderThickness = new Thickness(0.0, 0.0, 1.0, 0.0);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (2)
299_highlightLeftBorder.BorderThickness = new Thickness(BorderThickness.Left, BorderThickness.Top, 0.0, BorderThickness.Bottom); 304_highlightRightBorder.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);