166 instantiations of Thickness
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
InlineDiagnostics\InlineDiagnosticsTag.cs (5)
64Padding = new Thickness(left: 2, top: 0, right: 2, bottom: 0), 89Margin = new Thickness(1, 0, 5, 0) 95BorderThickness = new Thickness(1), 105Margin = new Thickness(10, top: 0, right: 0, bottom: 1), 106Padding = new Thickness(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),
QuickInfo\OnTheFlyDocsView.xaml.cs (1)
106new SmoothProgressBar { IsIndeterminate = true, Height = 2, Margin = new Thickness { Top = 2 } },
Microsoft.VisualStudio.LanguageServices (3)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (1)
80templateBorder.SetValue(Border.BorderThicknessProperty, new Thickness(1));
PreviewPane\PreviewPane.xaml.cs (1)
271Margin = new Thickness(5),
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (1)
80block.Margin = new Thickness(5.0, 0.0, 0.0, 0.0);
Microsoft.VisualStudio.LanguageServices.CSharp (5)
SemanticSearch\SemanticSearchToolWindowImpl.cs (5)
227Margin = new Thickness(8, 8, 0, 8), 240BorderThickness = new Thickness(1), 253Margin = new Thickness(4, 0, 4, 0), 257BorderThickness = new Thickness(0), 309BorderThickness = 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 (95)
MS\Internal\AnimatedTypeHelpers.cs (5)
37return new Thickness( 55return new Thickness( 68return new Thickness( 106return new Thickness( 152return new Thickness(
MS\Internal\Documents\TextBoxView.cs (1)
37MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
MS\Internal\Helper.cs (2)
1094Thickness correctionFactor = new Thickness(0); 1169Thickness itemsCorrectionFactor = new Thickness();
MS\Internal\Ink\InkCanvasSelection.cs (1)
378Thickness thickness = new Thickness();
MS\Internal\PtsHost\FigureParagraph.cs (1)
499new Thickness(),
MS\Internal\PtsHost\FloaterParagraph.cs (2)
706new Thickness(), 749new Thickness(),
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
45return new Thickness(leftPadding, 0, 0, 0);
MS\Internal\PtsHost\MbpInfo.cs (12)
89_margin = new Thickness(); 90_border = new Thickness(); 91_padding = new Thickness(); 118defaultMargin = new Thickness(0); 122defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 127defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 131defaultMargin = new Thickness(0.5 * lineHeight); 135defaultMargin = new Thickness(0); 137mbp.Margin = new Thickness( 152defaultPadding = new Thickness(0.5 * lineHeight); 160defaultPadding = new Thickness(0); 162mbp.Padding = new Thickness(
MS\Internal\PtsHost\SubpageParaClient.cs (4)
80mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom); 81mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom); 86mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0); 87mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
208new Thickness(), 383new Thickness(), 541new Thickness(),
System\Windows\Controls\Border.cs (4)
120new Thickness(), 146new Thickness(), 216borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY), 263borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
System\Windows\Controls\Control.cs (1)
370new Thickness(),
System\Windows\Controls\DataGrid.cs (2)
4040new FrameworkPropertyMetadata(new Thickness(0))); 4076NewItemMargin = new Thickness(marginLeft, 0, 0, 0);
System\Windows\Controls\DataGridTextColumn.cs (3)
39style.Setters.Add(new Setter(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0))); 61style.Setters.Add(new Setter(TextBox.BorderThicknessProperty, new Thickness(0.0))); 62style.Setters.Add(new Setter(TextBox.PaddingProperty, new Thickness(0.0)));
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
587Document.PagePadding = new Thickness(
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1122paddingHeader.Padding = new Thickness(0.0); 1155Margin = new Thickness(0),
System\Windows\Controls\GridViewRowPresenter.cs (1)
703private static readonly Thickness _defalutCellMargin = new Thickness(6, 0, 6, 0);
System\Windows\Controls\ProgressBar.cs (2)
255animation.KeyFrames.Add(new LinearThicknessKeyFrame(new Thickness(startPos,0,0,0), TimeSpan.FromSeconds(0))); 257animation.KeyFrames.Add(new LinearThicknessKeyFrame(new Thickness(endPos,0,0,0), translateTime));
System\Windows\Controls\RichTextBox.cs (1)
324renderScope.Document.PagePadding = new Thickness(CaretElement.CaretPaddingWidth, 0, CaretElement.CaretPaddingWidth, 0);
System\Windows\Controls\SinglePageViewer.cs (1)
702document.PagePadding = new Thickness(
System\Windows\Controls\TextBlock.cs (1)
1001new Thickness(),
System\Windows\Controls\Validation.cs (1)
597border.SetValue(Border.BorderThicknessProperty, new Thickness(1));
System\Windows\Controls\VirtualizingStackPanel.cs (4)
6392Thickness inset = new Thickness(); 6441Thickness margin = (fe == null) ? new Thickness() : fe.Margin; 6454Thickness inset = new Thickness(left, top, right, bottom); 6583Thickness margin = (container == null) ? new Thickness() : container.Margin;
System\Windows\Documents\AnchoredBlock.cs (3)
94new Thickness(Double.NaN), 113new Thickness(Double.NaN), 132new Thickness(),
System\Windows\Documents\Block.cs (3)
128new Thickness(), 150new Thickness(), 172new Thickness(),
System\Windows\Documents\FixedSOMTableCell.cs (1)
70element.SetValue(Block.BorderThicknessProperty, new Thickness(1));
System\Windows\Documents\FlowDocument.cs (1)
696new Thickness(Double.NaN),
System\Windows\Documents\ListItem.cs (3)
140new Thickness(), 159new Thickness(), 178new Thickness(),
System\Windows\Documents\Paragraph.cs (1)
231margin = new Thickness(0, lineHeight, 0, lineHeight);
System\Windows\Documents\Table.cs (1)
33MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN)));
System\Windows\Documents\TableCell.cs (2)
178new Thickness(), 197new Thickness(),
System\Windows\Documents\TextRange.cs (1)
1657value = new Thickness(
System\Windows\Documents\TextRangeEdit.cs (3)
1095return new Thickness(leftMargin, topMargin, rightMargin, bottomMargin); 1233object newValue = new Thickness( 1377Thickness thickness = new Thickness(increment, -1, -1, -1);
System\Windows\Documents\TextRangeEditTables.cs (1)
689return new Thickness(
System\Windows\FrameworkElement.cs (1)
3714new Thickness(),
System\Windows\Input\KeyboardNavigation.cs (1)
170new FrameworkPropertyMetadata(new Thickness()));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11215DefaultConstructor = delegate () { return new System.Windows.Thickness(); },
System\Windows\Markup\KnownTypes.cs (1)
1593case KnownElements.Thickness: o = new System.Windows.Thickness(); break;
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (4)
223Thickness from = new Thickness(); 224Thickness to = new Thickness(); 225Thickness accumulated = new Thickness(); 226Thickness foundation = new Thickness();
System\Windows\Shell\TaskbarItemInfo.cs (1)
182return new Thickness();
System\Windows\Shell\WindowChrome.cs (1)
49public static Thickness GlassFrameCompleteThickness { get { return new Thickness(-1); } }
System\Windows\Shell\WindowChromeWorker.cs (1)
1134rootElement.Margin = new Thickness();
System\Windows\Standard\DpiHelper.cs (1)
78return new Thickness(topLeft.X, topLeft.Y, bottomRight.X, bottomRight.Y);
System\Windows\SystemParameters.cs (2)
5705_windowResizeBorderThickness = new Thickness(frameSizeInDips.Width, frameSizeInDips.Height, frameSizeInDips.Width, frameSizeInDips.Height); 5731_windowNonClientFrameThickness = new Thickness(frameSizeInDips.Width, frameSizeInDips.Height + captionHeightInDips, frameSizeInDips.Width, frameSizeInDips.Height);
System\Windows\ThicknessConverter.cs (5)
97return new Thickness(sourceValue); 99return new Thickness(Convert.ToDouble(source, cultureInfo)); 2081 => new Thickness(lengths[0]), 2092 => new Thickness(lengths[0], lengths[1], lengths[0], lengths[1]), 2104 => new Thickness(lengths[0], lengths[1], lengths[2], lengths[3]),
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
27return new Thickness(5.0, 4.0, 5.0, 4.0);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
87new Thickness(1),
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
182if (padding.Equals(new Thickness())) 227if (padding.Equals(new Thickness())) 254Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
27return new Thickness(5.0, 4.0, 5.0, 4.0);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
87new Thickness(1),
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
182if (padding.Equals(new Thickness())) 227if (padding.Equals(new Thickness())) 254Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.AeroLite (4)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
27return new Thickness(5.0, 4.0, 5.0, 4.0);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
182if (padding.Equals(new Thickness())) 227if (padding.Equals(new Thickness())) 254Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Classic (13)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
562new Thickness(0.0), 743return new Thickness(t.Left * s, t.Top * s, t.Right * s, t.Bottom * s); 986DrawBorder(shadow, new Thickness(0, 0, singleThickness.Right, singleThickness.Bottom), dc, ref bounds); 987DrawBorder(highlight, new Thickness(singleThickness.Left, singleThickness.Top, 0, 0), dc, ref bounds); 1172_tabCache.Highlight2 = GenerateTabTopHighlightGeometry(HelperDeflateRect(bounds, new Thickness(1, 1, 1, 0)), false); 1185_tabCache.Shadow2 = GenerateTabTopShadowGeometry(HelperDeflateRect(bounds, new Thickness(1, 1, 1, 0)), false); 1236bounds = HelperDeflateRect(bounds, new Thickness(2, 2, 0, 2)); 1250bounds = HelperDeflateRect(bounds, new Thickness(2, 2, 2, 0)); 1272bounds = HelperDeflateRect(bounds, new Thickness(0, 2, 2, 2)); 1293bounds = HelperDeflateRect(bounds, new Thickness(2, 0, 2, 2));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
182if (padding.Equals(new Thickness())) 227if (padding.Equals(new Thickness())) 254Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Luna (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
182if (padding.Equals(new Thickness())) 227if (padding.Equals(new Thickness())) 254Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Royale (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
182if (padding.Equals(new Thickness())) 227if (padding.Equals(new Thickness())) 254Thickness padding = new Thickness(3.0); // The default padding
PresentationUI (2)
MS\Internal\Documents\Application\PageTextBox.cs (2)
339Padding = new Thickness(1); 340Margin = new Thickness(0);
Roslyn.VisualStudio.DiagnosticsWindow (2)
OptionPages\InternalOptionsControl.cs (2)
73Margin = new Thickness(5), 91Margin = new Thickness(5),
System.Windows.Controls.Ribbon (14)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
446ribbonTabHeader.Padding = new Thickness(leftPadding, ribbonTabHeader.DefaultPadding.Top, rightPadding, ribbonTabHeader.DefaultPadding.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (7)
43BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 429PartToggleButton.BorderThickness = new Thickness(BorderThickness.Left, 0.0, BorderThickness.Right, BorderThickness.Bottom); 433PartToggleButton.BorderThickness = new Thickness(); 434_headerButton.BorderThickness = new Thickness(0.0, 0.0, 0.0, 1.0); 442PartToggleButton.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom); 446PartToggleButton.BorderThickness = new Thickness(); 447_headerButton.BorderThickness = new Thickness(0.0, 0.0, 1.0, 0.0);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (3)
35BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 295_highlightLeftBorder.BorderThickness = new Thickness(BorderThickness.Left, BorderThickness.Top, 0.0, BorderThickness.Bottom); 300_highlightRightBorder.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (3)
294Thickness margin = _outerBorder != null ? _outerBorder.Margin : new Thickness(); 295Thickness borderThickness = _outerBorder != null ? _outerBorder.BorderThickness : new Thickness(); 609private Thickness _initialPadding = new Thickness(double.NaN);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
307childFrameworkElement.Margin = new Thickness(0d);
472 references to Thickness
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 (356)
MS\Internal\AnimatedTypeHelpers.cs (16)
35internal static Thickness InterpolateThickness(Thickness from, Thickness to, double progress) 53internal static Thickness AddThickness(Thickness value1, Thickness value2) 66internal static Thickness SubtractThickness(Thickness value1, Thickness value2) 84internal static double GetSegmentLengthThickness(Thickness from, Thickness to) 104internal static Thickness ScaleThickness(Thickness value, double factor) 127internal static bool IsValidAnimationValueThickness(Thickness value) 150internal static Thickness GetZeroValueThickness(Thickness baseValue)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
489internal Thickness PagePadding;
MS\Internal\Documents\FlowDocumentFormatter.cs (3)
54Thickness pageMargin; 219private Thickness ComputePageMargin() 222Thickness pageMargin = _document.PagePadding;
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
731Thickness pageMargin;
MS\Internal\Helper.cs (4)
1065Thickness itemsCorrectionFactor = GroupItem.DesiredPixelItemsSizeCorrectionFactorField.GetValue(virtualizingElement); 1094Thickness correctionFactor = new Thickness(0); 1169Thickness itemsCorrectionFactor = new Thickness(); 1194Thickness oldItemsCorrectionFactor = GroupItem.DesiredPixelItemsSizeCorrectionFactorField.GetValue(virtualizingElement);
MS\Internal\Ink\InkCanvasSelection.cs (1)
378Thickness thickness = new Thickness();
MS\Internal\PtsHost\FigureHelper.cs (3)
135Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin; 179Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin; 232Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\FigureParagraph.cs (2)
587Thickness pageMargin = StructuralCache.CurrentFormatContext.PageMargin; 625Thickness pageMargin = StructuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
116internal void FormatBottomless(Size pageSize, Thickness pageMargin) 176internal PageBreakRecord FormatFinite(Size pageSize, Thickness pageMargin, PageBreakRecord breakRecord) 675internal Thickness Margin { get { return _pageMargin; } } 1096private Thickness _pageMargin;
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
40internal static Thickness CalculatePadding(List list, double lineHeight, double pixelsPerDip)
MS\Internal\PtsHost\MbpInfo.cs (12)
69private static void ReverseFlowDirection(ref Thickness thickness) 101_margin = (Thickness)block.GetValue(Block.MarginProperty); 102_border = (Thickness)block.GetValue(Block.BorderThicknessProperty); 103_padding = (Thickness)block.GetValue(Block.PaddingProperty); 112Thickness defaultMargin; 149Thickness defaultPadding; 300internal Thickness Margin 309internal Thickness Border 315internal Thickness Padding 362private Thickness _margin; 367private Thickness _border; 372private Thickness _padding;
MS\Internal\PtsHost\ParagraphVisual.cs (4)
36internal void DrawBackgroundAndBorder(Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk) 39_borderBrush != borderBrush || !Thickness.AreClose(_borderThickness, borderThickness)) 60internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk) 165private Thickness _borderThickness; // Border thickness
MS\Internal\PtsHost\Section.cs (3)
114Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin; 216Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin; 358Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\StructuralCache.cs (4)
659internal Thickness DocumentPageMargin { get { return _owner._currentPage.Margin; } } 708internal void PushNewPageData(Size pageSize, Thickness pageMargin, bool incrementalUpdate, bool finitePage) 744internal Thickness PageMargin { get { return _currentFormatInfo.PageMargin; } } 776internal Thickness PageMargin;
MS\Internal\PtsHost\UIElementParagraph.cs (1)
429Thickness pageMargin = StructuralCache.CurrentFormatContext.DocumentPageMargin;
MS\Internal\Text\TextDpi.cs (1)
163internal static void EnsureValidPageMargin(ref Thickness pageMargin, Size pageSize)
System\Windows\Controls\Border.cs (15)
65/// <see cref="System.Windows.Thickness" /> containing values for each of the Left, Top, Right, 68public Thickness BorderThickness 70get { return (Thickness) GetValue(BorderThicknessProperty); } 78public Thickness Padding 80get { return (Thickness) GetValue(PaddingProperty); } 118= DependencyProperty.Register("BorderThickness", typeof(Thickness), typeof(Border), 136Thickness t = (Thickness)value; 144= DependencyProperty.Register("Padding", typeof(Thickness), typeof(Border), 212Thickness borders = this.BorderThickness; 259Thickness borders = BorderThickness; 387Thickness border = BorderThickness; 625private static Size HelperCollapseThickness(Thickness th) 639private static Rect HelperDeflateRect(Rect rt, Thickness thick) 939internal Radii(CornerRadius radii, Thickness borders, bool outer)
System\Windows\Controls\Control.cs (7)
99public Thickness BorderThickness 101get { return (Thickness) GetValue(BorderThicknessProperty); } 368typeof(Thickness), typeof(Control), 375Thickness t = (Thickness)value; 386public Thickness Padding 388get { return (Thickness) GetValue(PaddingProperty); }
System\Windows\Controls\DataGrid.cs (3)
4027public Thickness NewItemMargin 4029get { return (Thickness)GetValue(NewItemMarginProperty); } 4038typeof(Thickness),
System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
166Thickness margin = _visualBrushCanvas.Margin; 179Thickness margin = _visualBrushCanvas.Margin;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
536Thickness pagePadding;
System\Windows\Controls\GridViewRowPresenter.cs (1)
703private static readonly Thickness _defalutCellMargin = new Thickness(6, 0, 6, 0);
System\Windows\Controls\GroupItem.cs (2)
467internal static readonly UncommonField<Thickness> DesiredPixelItemsSizeCorrectionFactorField = new UncommonField<Thickness>();
System\Windows\Controls\PasswordBox.cs (2)
1090if (padding is Thickness) 1092passwordBox.ScrollViewer.Padding = (Thickness)padding;
System\Windows\Controls\Primitives\TabPanel.cs (4)
202Thickness margin = (Thickness)element.GetValue(MarginProperty); 258Thickness margin = (Thickness)child.GetValue(MarginProperty);
System\Windows\Controls\SinglePageViewer.cs (1)
651Thickness pagePadding;
System\Windows\Controls\TextBlock.cs (5)
1007public Thickness Padding 1009get { return (Thickness)GetValue(PaddingProperty); } 1259Thickness padding = this.Padding; 1956Thickness padding = this.Padding; 3096Thickness padding = this.Padding;
System\Windows\Controls\TextRangeAdaptor.cs (12)
240Thickness padding = (Thickness)tp.GetValue(Block.PaddingProperty); 251Thickness padding = (Thickness)tp.GetValue(Block.PaddingProperty); 318Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 329Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 340Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 351Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty);
System\Windows\Controls\ToolBar.cs (1)
540Thickness margin = toolBarPanel.Margin;
System\Windows\Controls\VirtualizingStackPanel.cs (24)
89internal static readonly DependencyProperty ItemsHostInsetProperty = DependencyProperty.Register("ItemsHostInset", typeof(Thickness), typeof(VirtualizingStackPanel)); 1356Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 2994Thickness inset = GetItemsHostInsetForChild(firstContainer); 5263Thickness inset = GetItemsHostInsetForChild(virtualizationInfoProvider, parentItemStorageProvider, parentItem); 6365private Thickness GetItemsHostInsetForChild(IHierarchicalVirtualizationAndScrollInfo virtualizationInfoProvider, IContainItemStorage parentItemStorageProvider=null, object parentItem=null) 6388return (Thickness)container.GetValue(ItemsHostInsetProperty); 6392Thickness inset = new Thickness(); 6396inset = (Thickness)box; 6401inset = (Thickness)box; 6409Thickness margin = container.Margin; 6441Thickness margin = (fe == null) ? new Thickness() : fe.Margin; 6454Thickness inset = new Thickness(left, top, right, bottom); 6471Thickness oldInset = (Thickness)box; 6577private bool IsHeaderBeforeItems(bool isHorizontal, FrameworkElement container, ref Thickness inset) 6583Thickness margin = (container == null) ? new Thickness() : container.Margin; 7088Thickness inset = GetItemsHostInsetForChild(virtualizingChild); 7625Thickness inset = (Thickness)v; 11052Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 11065Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 12935private static void WriteThickness(BinaryWriter writer, ref Thickness thickness) 12949internal Thickness _inset; 13008_inset = (Thickness)child.GetValue(ItemsHostInsetProperty)
System\Windows\Documents\AnchoredBlock.cs (6)
100public Thickness Margin 102get { return (Thickness)GetValue(MarginProperty); } 119public Thickness Padding 121get { return (Thickness)GetValue(PaddingProperty); } 138public Thickness BorderThickness 140get { return (Thickness)GetValue(BorderThicknessProperty); }
System\Windows\Documents\Block.cs (16)
125typeof(Thickness), 135public Thickness Margin 137get { return (Thickness)GetValue(MarginProperty); } 147typeof(Thickness), 157public Thickness Padding 159get { return (Thickness)GetValue(PaddingProperty); } 169typeof(Thickness), 179public Thickness BorderThickness 181get { return (Thickness)GetValue(BorderThicknessProperty); } 434Thickness t = (Thickness)o; 440Thickness t = (Thickness)o; 446Thickness t = (Thickness)o; 529internal static bool IsValidThickness(Thickness t, bool allowNaN)
System\Windows\Documents\FlowDocument.cs (7)
693typeof(Thickness), 710public Thickness PagePadding 712get { return (Thickness) GetValue(PagePaddingProperty); } 996internal Thickness ComputePageMargin() 999Thickness pageMargin = this.PagePadding; 1561Thickness value = (Thickness)o;
System\Windows\Documents\ListItem.cs (6)
146public Thickness Margin 148get { return (Thickness)GetValue(MarginProperty); } 165public Thickness Padding 167get { return (Thickness)GetValue(PaddingProperty); } 184public Thickness BorderThickness 186get { return (Thickness)GetValue(BorderThicknessProperty); }
System\Windows\Documents\Paragraph.cs (2)
224internal void GetDefaultMarginValue(ref Thickness margin) 234internal static bool IsMarginAuto(Thickness margin)
System\Windows\Documents\TableCell.cs (4)
184public Thickness Padding 186get { return (Thickness)GetValue(PaddingProperty); } 203public Thickness BorderThickness 205get { return (Thickness)GetValue(BorderThicknessProperty); }
System\windows\Documents\TextEditorTyping.cs (1)
783Thickness margin = paragraphOrBlockUIContainer.Margin;
System\Windows\Documents\TextRange.cs (7)
798!(formattingProperty.PropertyType == typeof(Thickness) && (value is Thickness))) 1654if (formattingProperty.PropertyType == typeof(Thickness) && 1658((Thickness)value).Right, ((Thickness)value).Top, ((Thickness)value).Left, ((Thickness)value).Bottom);
System\Windows\Documents\TextRangeEdit.cs (15)
859if (property.PropertyType == typeof(Thickness)) 862Invariant.Assert(currentValue is Thickness, "Expecting the currentValue to be of Thinkness type"); 863Invariant.Assert(newValue is Thickness, "Expecting the newValue to be of Thinkness type"); 865newValue = ComputeNewThicknessValue((Thickness)currentValue, (Thickness)newValue, parentFlowDirection, flowDirection, propertyValueAction); 1056private static Thickness ComputeNewThicknessValue(Thickness currentThickness, Thickness newThickness, 1224if (value is Thickness) 1226if (Paragraph.IsMarginAuto((Thickness)value)) 1234/*left*/((Thickness)value).Right, 1235/*top:*/((Thickness)value).Top, 1236/*right:*/((Thickness)value).Left, 1237/*bottom:*/((Thickness)value).Bottom); 1377Thickness thickness = new Thickness(increment, -1, -1, -1);
System\Windows\Documents\TextRangeEditTables.cs (2)
687private static Thickness GetCellBorder(double thickness, int rowIndex, int columnIndex, int rowSpan, int columnSpan, int rowCount, int columnCount) 1289Thickness border = cell.BorderThickness;
System\Windows\Documents\TextRangeSerialization.cs (2)
890Thickness thickness = (Thickness)propertyValue;
System\Windows\Documents\TextSchema.cs (1)
759typeof(Thickness).IsAssignableFrom(propertyType);
System\Windows\FrameworkElement.cs (8)
3712= DependencyProperty.Register("Margin", typeof(Thickness), _typeofThis, 3720Thickness m = (Thickness)value; 3728public Thickness Margin 3730get { return (Thickness) GetValue(MarginProperty); } 4308Thickness margin = Margin; 4558Thickness margin = Margin; 4917Thickness margin = Margin;
System\Windows\Input\KeyboardNavigation.cs (3)
168typeof(Thickness), 2378Thickness deflateThickness = (Thickness)uiElement.GetValue(DirectionalNavigationMarginProperty);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
745case 651: t = () => typeof(Thickness); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11212typeof(System.Windows.Thickness),
System\Windows\Markup\KnownTypes.cs (1)
6199case KnownElements.Thickness: t = typeof(System.Windows.Thickness); break;
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
42public DiscreteThicknessKeyFrame(Thickness value) 50public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) 78protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
43public EasingThicknessKeyFrame(Thickness value) 52public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime) 62public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime, IEasingFunction easingFunction) 91protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
38protected ThicknessKeyFrame(Thickness value) 47protected ThicknessKeyFrame(Thickness value, KeyTime keyTime) 90typeof(Thickness), 105Value = (Thickness)value; 112public Thickness Value 116return (Thickness)GetValue(ValueProperty); 133public Thickness InterpolateValue( 134Thickness baseValue, 151protected abstract Thickness InterpolateValueCore( 152Thickness baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
43public LinearThicknessKeyFrame(Thickness value) 51public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) 77protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
48public SplineThicknessKeyFrame(Thickness value) 57public SplineThicknessKeyFrame(Thickness value, KeyTime keyTime) 67public SplineThicknessKeyFrame(Thickness value, KeyTime keyTime, KeySpline keySpline) 98protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (32)
33private Thickness[] _keyValues; 48Type typeofProp = typeof(Thickness?); 57new PropertyMetadata((Thickness?)null, propCallback), 64new PropertyMetadata((Thickness?)null, propCallback), 71new PropertyMetadata((Thickness?)null, propCallback), 95public ThicknessAnimation(Thickness toValue, Duration duration) 107public ThicknessAnimation(Thickness toValue, Duration duration, FillBehavior fillBehavior) 120public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration) 133public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration, FillBehavior fillBehavior) 206protected override Thickness GetCurrentValueCore(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock) 223Thickness from = new Thickness(); 224Thickness to = new Thickness(); 225Thickness accumulated = new Thickness(); 226Thickness foundation = new Thickness(); 340Thickness accumulator = AnimatedTypeHelpers.SubtractThickness(to, from); 365_keyValues = new Thickness[2]; 372_keyValues = new Thickness[2]; 379_keyValues = new Thickness[1]; 386_keyValues = new Thickness[1]; 392_keyValues = new Thickness[1]; 413Thickness? typedValue = (Thickness?)value; 433public Thickness? From 437return (Thickness?)GetValue(FromProperty); 453public Thickness? To 457return (Thickness?)GetValue(ToProperty); 473public Thickness? By 477return (Thickness?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (9)
81return GetCurrentValue((Thickness)defaultOriginValue, (Thickness)defaultDestinationValue, animationClock); 93return typeof(Thickness); 130public Thickness GetCurrentValue(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock) 186protected abstract Thickness GetCurrentValueCore(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (8)
313protected sealed override Thickness GetCurrentValueCore( 314Thickness defaultOriginValue, 315Thickness defaultDestinationValue, 341Thickness currentIterationValue; 377Thickness fromValue; 622private Thickness GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 935Thickness prevKeyValue = _keyFrames[index - 1].Value; 939Thickness currentKeyValue = _keyFrames[index].Value;
System\Windows\Shell\TaskbarItemInfo.cs (7)
160typeof(Thickness), 163default(Thickness), 165(d, baseValue) => ((TaskbarItemInfo)d).CoerceThumbnailClipMargin((Thickness)baseValue))); 171public Thickness ThumbnailClipMargin 173get { return (Thickness)GetValue(ThumbnailClipMarginProperty); } 177private Thickness CoerceThumbnailClipMargin(Thickness margin)
System\Windows\Shell\WindowChrome.cs (12)
49public static Thickness GlassFrameCompleteThickness { get { return new Thickness(-1); } } 191typeof(Thickness), 193new PropertyMetadata(default(Thickness)), 194(value) => Utility.IsThicknessNonNegative((Thickness)value)); 196public Thickness ResizeBorderThickness 198get { return (Thickness)GetValue(ResizeBorderThicknessProperty); } 204typeof(Thickness), 207default(Thickness), 209(d, o) => _CoerceGlassFrameThickness((Thickness)o))); 211private static object _CoerceGlassFrameThickness(Thickness thickness) 223public Thickness GlassFrameThickness 225get { return (Thickness)GetValue(GlassFrameThicknessProperty); }
System\Windows\Shell\WindowChromeWorker.cs (8)
300Thickness templateFixupMargin = default(Thickness); 410Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 514if (Utility.IsOSVistaOrNewer && _chromeInfo.GlassFrameThickness != default(Thickness) && _isGlassEnabled) 724_isGlassEnabled = frameState && _chromeInfo.GlassFrameThickness != default(Thickness); 966Thickness deviceGlassThickness = DpiHelper.LogicalThicknessToDevice(_chromeInfo.GlassFrameThickness, dpi.DpiScaleX, dpi.DpiScaleY); 971Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 1078Thickness resizeBorderThickness = _chromeInfo.ResizeBorderThickness;
System\Windows\Standard\DpiHelper.cs (2)
73public static Thickness LogicalThicknessToDevice(Thickness logicalThickness, double dpiScaleX, double dpiScaleY)
System\Windows\Standard\Utilities.cs (1)
247public static bool IsThicknessNonNegative(Thickness thickness)
System\Windows\SystemParameters.cs (4)
5691public static Thickness WindowResizeBorderThickness 5716public static Thickness WindowNonClientFrameThickness 5941private static Thickness _windowNonClientFrameThickness; 5942private static Thickness _windowResizeBorderThickness;
System\Windows\Thickness.cs (10)
21public struct Thickness : IEquatable<Thickness> 73if (obj is Thickness otherObj) 86public bool Equals(Thickness thickness) 188internal bool IsClose(Thickness thickness) 204static internal bool AreClose(Thickness thickness0, Thickness thickness1) 227public static bool operator==(Thickness t1, Thickness t2) 243public static bool operator!=(Thickness t1, Thickness t2)
System\Windows\ThicknessConverter.cs (10)
124if (value is not Thickness thickness) 125throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(Thickness)), nameof(value)); 131ConstructorInfo ci = typeof(Thickness).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 135throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(Thickness), destinationType.FullName)); 152/// <param name="th">The <see cref="Thickness"/> to convert to string.</param> 155internal static string ToString(Thickness th, CultureInfo cultureInfo) 181/// Constructs a <see cref="Thickness"/> struct out of string representation supplied by <paramref name="s"/> and the specified <paramref name="cultureInfo"/>. 183/// <param name="s">The string representation of a <see cref="Thickness"/> struct.</param> 185/// <returns>A new instance of <see cref="Thickness"/> struct representing the data contained in <paramref name="s"/>.</returns> 187internal static Thickness FromString(string s, CultureInfo cultureInfo)
System\Windows\Window.cs (1)
6654Thickness margin = taskbarInfo.ThumbnailClipMargin;
PresentationFramework.Aero (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
21private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
93public Thickness BorderThickness 95get { return (Thickness)GetValue(BorderThicknessProperty); } 208Thickness border = BorderThickness; 269Thickness border = BorderThickness; 304Thickness border = BorderThickness; 471private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181Thickness padding = Padding; 226Thickness padding = Padding; 250private Thickness DefaultPadding 254Thickness padding = new Thickness(3.0); // The default padding 255Thickness? themePadding = ThemeDefaultPadding; 266padding = (Thickness)themePadding;
PresentationFramework.Aero2 (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
21private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
93public Thickness BorderThickness 95get { return (Thickness)GetValue(BorderThicknessProperty); } 208Thickness border = BorderThickness; 269Thickness border = BorderThickness; 304Thickness border = BorderThickness; 471private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181Thickness padding = Padding; 226Thickness padding = Padding; 250private Thickness DefaultPadding 254Thickness padding = new Thickness(3.0); // The default padding 255Thickness? themePadding = ThemeDefaultPadding; 266padding = (Thickness)themePadding;
PresentationFramework.AeroLite (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
21private Thickness? ThemeDefaultPadding
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181Thickness padding = Padding; 226Thickness padding = Padding; 250private Thickness DefaultPadding 254Thickness padding = new Thickness(3.0); // The default padding 255Thickness? themePadding = ThemeDefaultPadding; 266padding = (Thickness)themePadding;
PresentationFramework.Classic (34)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (27)
559typeof(Thickness), 568Thickness thickness = (Thickness)o; 580public Thickness BorderThickness 582get { return (Thickness) GetValue(BorderThicknessProperty); } 592private static Size HelperCollapseThickness(Thickness th) 598private static Rect HelperDeflateRect(Rect rt, Thickness thick) 710Thickness border = BorderThickness; 741private static Thickness ScaleThickness(Thickness t, double s) 753Thickness borderThickness = BorderThickness; 757Thickness singleThickness = ScaleThickness(borderThickness, 1.0 / classicThickness); 888private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 903private Geometry GetBorder(Rect bounds, Thickness borderThickness) 930private void DrawBorder(Brush borderBrush, Thickness borderThickness, DrawingContext dc, ref Rect bounds) 984private void DrawBorderPair(Brush highlight, Brush shadow, Thickness singleThickness, DrawingContext dc, ref Rect bounds) 993private void DrawRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1003private void DrawRaisedPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1012private void DrawSunkenBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1022private void DrawEtchedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1033private void DrawHorizontalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1046private void DrawVerticalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1298private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1306private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1314private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1323private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1460public Thickness BorderThickness;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
21private Thickness? ThemeDefaultPadding
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181Thickness padding = Padding; 226Thickness padding = Padding; 250private Thickness DefaultPadding 254Thickness padding = new Thickness(3.0); // The default padding 255Thickness? themePadding = ThemeDefaultPadding; 266padding = (Thickness)themePadding;
PresentationFramework.Luna (17)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
21private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ScrollChrome.cs (3)
140public Thickness Padding 142get { return (Thickness)GetValue(PaddingProperty); } 225Thickness padding = Padding;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
84public Thickness BorderThickness 86get { return (Thickness)GetValue(BorderThicknessProperty); } 182Thickness thickness = BorderThickness; 200Thickness thickness = BorderThickness; 325private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness) 451private static Rect HelperDeflateRect(Rect rt, Thickness thick) 476private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181Thickness padding = Padding; 226Thickness padding = Padding; 250private Thickness DefaultPadding 254Thickness padding = new Thickness(3.0); // The default padding 255Thickness? themePadding = ThemeDefaultPadding; 266padding = (Thickness)themePadding;
PresentationFramework.Royale (17)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
21private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ScrollChrome.cs (3)
122public Thickness Padding 124get { return (Thickness) GetValue(PaddingProperty); } 207Thickness padding = Padding;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
84public Thickness BorderThickness 86get { return (Thickness)GetValue(BorderThicknessProperty); } 182Thickness thickness = BorderThickness; 200Thickness thickness = BorderThickness; 325private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness) 451private static Rect HelperDeflateRect(Rect rt, Thickness thick) 476private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
181Thickness padding = Padding; 226Thickness padding = Padding; 250private Thickness DefaultPadding 254Thickness padding = new Thickness(3.0); // The default padding 255Thickness? themePadding = ThemeDefaultPadding; 266padding = (Thickness)themePadding;
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
125Thickness newPadding = ribbonTabHeader.Padding;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
210public static Size GetMinDropDownSize(RibbonMenuItemsPanel itemsHost, Popup popup, Thickness borderThickness)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
137internal Thickness DefaultPadding 294Thickness margin = _outerBorder != null ? _outerBorder.Margin : new Thickness(); 295Thickness borderThickness = _outerBorder != null ? _outerBorder.BorderThickness : new Thickness(); 609private Thickness _initialPadding = new Thickness(double.NaN);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
82new public Thickness Padding 84get { return (Thickness)GetValue(PaddingProperty); }
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (1)
298internal static Padding ToSystemWindowsFormsPadding(Thickness thickness)
System\Windows\Integration\WindowsFormsHost.cs (2)
572public Thickness Padding 574get { return (Thickness)GetValue(PaddingProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
255if (value is SW.Thickness) 257childControl.Padding = Convert.ToSystemWindowsFormsPadding((SW.Thickness)value);