166 instantiations of Thickness
Microsoft.CodeAnalysis.EditorFeatures.Wpf (9)
InlineDiagnostics\InlineDiagnosticsTag.cs (5)
63Padding = new Thickness(left: 2, top: 0, right: 2, bottom: 0), 88Margin = new Thickness(1, 0, 5, 0) 94BorderThickness = new Thickness(1), 104Margin = new Thickness(10, top: 0, right: 0, bottom: 1), 105Padding = 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)
107new 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)
79block.Margin = new Thickness(5.0, 0.0, 0.0, 0.0);
Microsoft.VisualStudio.LanguageServices.CSharp (5)
SemanticSearch\SemanticSearchToolWindowImpl.cs (5)
245Margin = new Thickness(8, 8, 0, 8), 258BorderThickness = new Thickness(1), 271Margin = new Thickness(4, 0, 4, 0), 275BorderThickness = new Thickness(0), 327BorderThickness = 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)
36return new Thickness( 54return new Thickness( 67return new Thickness( 105return new Thickness( 151return new Thickness(
MS\Internal\Documents\TextBoxView.cs (1)
36MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
MS\Internal\Helper.cs (2)
1093Thickness correctionFactor = new Thickness(0); 1168Thickness itemsCorrectionFactor = new Thickness();
MS\Internal\Ink\InkCanvasSelection.cs (1)
377Thickness thickness = new Thickness();
MS\Internal\PtsHost\FigureParagraph.cs (1)
498new Thickness(),
MS\Internal\PtsHost\FloaterParagraph.cs (2)
705new Thickness(), 748new Thickness(),
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
44return new Thickness(leftPadding, 0, 0, 0);
MS\Internal\PtsHost\MbpInfo.cs (12)
88_margin = new Thickness(); 89_border = new Thickness(); 90_padding = new Thickness(); 117defaultMargin = new Thickness(0); 121defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 126defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 130defaultMargin = new Thickness(0.5 * lineHeight); 134defaultMargin = new Thickness(0); 136mbp.Margin = new Thickness( 151defaultPadding = new Thickness(0.5 * lineHeight); 159defaultPadding = new Thickness(0); 161mbp.Padding = new Thickness(
MS\Internal\PtsHost\SubpageParaClient.cs (4)
79mbp.Border = new Thickness(mbp.Border.Left, 0.0, mbp.Border.Right, mbp.Border.Bottom); 80mbp.Padding = new Thickness(mbp.Padding.Left, 0.0, mbp.Padding.Right, mbp.Padding.Bottom); 85mbp.Border = new Thickness(mbp.Border.Left, mbp.Border.Top, mbp.Border.Right, 0.0); 86mbp.Padding = new Thickness(mbp.Padding.Left, mbp.Padding.Top, mbp.Padding.Right, 0.0);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
207new Thickness(), 382new Thickness(), 540new Thickness(),
System\Windows\Controls\Border.cs (4)
119new Thickness(), 145new Thickness(), 215borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY), 262borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
System\Windows\Controls\Control.cs (1)
369new Thickness(),
System\Windows\Controls\DataGrid.cs (2)
4039new FrameworkPropertyMetadata(new Thickness(0))); 4075NewItemMargin = new Thickness(marginLeft, 0, 0, 0);
System\Windows\Controls\DataGridTextColumn.cs (3)
38style.Setters.Add(new Setter(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0))); 60style.Setters.Add(new Setter(TextBox.BorderThicknessProperty, new Thickness(0.0))); 61style.Setters.Add(new Setter(TextBox.PaddingProperty, new Thickness(0.0)));
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
586Document.PagePadding = new Thickness(
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1121paddingHeader.Padding = new Thickness(0.0); 1154Margin = new Thickness(0),
System\Windows\Controls\GridViewRowPresenter.cs (1)
702private static readonly Thickness _defalutCellMargin = new Thickness(6, 0, 6, 0);
System\Windows\Controls\ProgressBar.cs (2)
254animation.KeyFrames.Add(new LinearThicknessKeyFrame(new Thickness(startPos,0,0,0), TimeSpan.FromSeconds(0))); 256animation.KeyFrames.Add(new LinearThicknessKeyFrame(new Thickness(endPos,0,0,0), translateTime));
System\Windows\Controls\RichTextBox.cs (1)
323renderScope.Document.PagePadding = new Thickness(CaretElement.CaretPaddingWidth, 0, CaretElement.CaretPaddingWidth, 0);
System\Windows\Controls\SinglePageViewer.cs (1)
701document.PagePadding = new Thickness(
System\Windows\Controls\TextBlock.cs (1)
1000new Thickness(),
System\Windows\Controls\Validation.cs (1)
596border.SetValue(Border.BorderThicknessProperty, new Thickness(1));
System\Windows\Controls\VirtualizingStackPanel.cs (4)
6391Thickness inset = new Thickness(); 6440Thickness margin = (fe == null) ? new Thickness() : fe.Margin; 6453Thickness inset = new Thickness(left, top, right, bottom); 6582Thickness margin = (container == null) ? new Thickness() : container.Margin;
System\Windows\Documents\AnchoredBlock.cs (3)
93new Thickness(Double.NaN), 112new Thickness(Double.NaN), 131new Thickness(),
System\Windows\Documents\Block.cs (3)
127new Thickness(), 149new Thickness(), 171new Thickness(),
System\Windows\Documents\FixedSOMTableCell.cs (1)
69element.SetValue(Block.BorderThicknessProperty, new Thickness(1));
System\Windows\Documents\FlowDocument.cs (1)
695new Thickness(Double.NaN),
System\Windows\Documents\ListItem.cs (3)
139new Thickness(), 158new Thickness(), 177new Thickness(),
System\Windows\Documents\Paragraph.cs (1)
230margin = new Thickness(0, lineHeight, 0, lineHeight);
System\Windows\Documents\Table.cs (1)
32MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN)));
System\Windows\Documents\TableCell.cs (2)
177new Thickness(), 196new Thickness(),
System\Windows\Documents\TextRange.cs (1)
1656value = new Thickness(
System\Windows\Documents\TextRangeEdit.cs (3)
1094return new Thickness(leftMargin, topMargin, rightMargin, bottomMargin); 1232object newValue = new Thickness( 1376Thickness thickness = new Thickness(increment, -1, -1, -1);
System\Windows\Documents\TextRangeEditTables.cs (1)
688return new Thickness(
System\Windows\FrameworkElement.cs (1)
3713new Thickness(),
System\Windows\Input\KeyboardNavigation.cs (1)
169new FrameworkPropertyMetadata(new Thickness()));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11214DefaultConstructor = delegate () { return new System.Windows.Thickness(); },
System\Windows\Markup\KnownTypes.cs (1)
1592case KnownElements.Thickness: o = new System.Windows.Thickness(); break;
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (4)
222Thickness from = new Thickness(); 223Thickness to = new Thickness(); 224Thickness accumulated = new Thickness(); 225Thickness foundation = new Thickness();
System\Windows\Shell\TaskbarItemInfo.cs (1)
181return new Thickness();
System\Windows\Shell\WindowChrome.cs (1)
48public static Thickness GlassFrameCompleteThickness { get { return new Thickness(-1); } }
System\Windows\Shell\WindowChromeWorker.cs (1)
1133rootElement.Margin = new Thickness();
System\Windows\Standard\DpiHelper.cs (1)
77return new Thickness(topLeft.X, topLeft.Y, bottomRight.X, bottomRight.Y);
System\Windows\SystemParameters.cs (2)
5704_windowResizeBorderThickness = new Thickness(frameSizeInDips.Width, frameSizeInDips.Height, frameSizeInDips.Width, frameSizeInDips.Height); 5730_windowNonClientFrameThickness = new Thickness(frameSizeInDips.Width, frameSizeInDips.Height + captionHeightInDips, frameSizeInDips.Width, frameSizeInDips.Height);
System\Windows\ThicknessConverter.cs (5)
96return new Thickness(sourceValue); 98return new Thickness(Convert.ToDouble(source, cultureInfo)); 2071 => new Thickness(lengths[0]), 2082 => new Thickness(lengths[0], lengths[1], lengths[0], lengths[1]), 2094 => new Thickness(lengths[0], lengths[1], lengths[2], lengths[3]),
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
26return new Thickness(5.0, 4.0, 5.0, 4.0);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
86new Thickness(1),
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181if (padding.Equals(new Thickness())) 226if (padding.Equals(new Thickness())) 253Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
26return new Thickness(5.0, 4.0, 5.0, 4.0);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
86new Thickness(1),
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181if (padding.Equals(new Thickness())) 226if (padding.Equals(new Thickness())) 253Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.AeroLite (4)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
26return new Thickness(5.0, 4.0, 5.0, 4.0);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181if (padding.Equals(new Thickness())) 226if (padding.Equals(new Thickness())) 253Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Classic (13)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (10)
561new Thickness(0.0), 742return 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); 1171_tabCache.Highlight2 = GenerateTabTopHighlightGeometry(HelperDeflateRect(bounds, new Thickness(1, 1, 1, 0)), false); 1184_tabCache.Shadow2 = GenerateTabTopShadowGeometry(HelperDeflateRect(bounds, new Thickness(1, 1, 1, 0)), false); 1235bounds = HelperDeflateRect(bounds, new Thickness(2, 2, 0, 2)); 1249bounds = HelperDeflateRect(bounds, new Thickness(2, 2, 2, 0)); 1271bounds = HelperDeflateRect(bounds, new Thickness(0, 2, 2, 2)); 1292bounds = HelperDeflateRect(bounds, new Thickness(2, 0, 2, 2));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181if (padding.Equals(new Thickness())) 226if (padding.Equals(new Thickness())) 253Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Luna (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181if (padding.Equals(new Thickness())) 226if (padding.Equals(new Thickness())) 253Thickness padding = new Thickness(3.0); // The default padding
PresentationFramework.Royale (3)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (3)
181if (padding.Equals(new Thickness())) 226if (padding.Equals(new Thickness())) 253Thickness padding = new Thickness(3.0); // The default padding
PresentationUI (2)
MS\Internal\Documents\Application\PageTextBox.cs (2)
338Padding = new Thickness(1); 339Margin = 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)
445ribbonTabHeader.Padding = new Thickness(leftPadding, ribbonTabHeader.DefaultPadding.Top, rightPadding, ribbonTabHeader.DefaultPadding.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (7)
42BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 428PartToggleButton.BorderThickness = new Thickness(BorderThickness.Left, 0.0, BorderThickness.Right, BorderThickness.Bottom); 432PartToggleButton.BorderThickness = new Thickness(); 433_headerButton.BorderThickness = new Thickness(0.0, 0.0, 0.0, 1.0); 441PartToggleButton.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom); 445PartToggleButton.BorderThickness = new Thickness(); 446_headerButton.BorderThickness = new Thickness(0.0, 0.0, 1.0, 0.0);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (3)
34BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 294_highlightLeftBorder.BorderThickness = new Thickness(BorderThickness.Left, BorderThickness.Top, 0.0, BorderThickness.Bottom); 299_highlightRightBorder.BorderThickness = new Thickness(0.0, BorderThickness.Top, BorderThickness.Right, BorderThickness.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (3)
293Thickness margin = _outerBorder != null ? _outerBorder.Margin : new Thickness(); 294Thickness borderThickness = _outerBorder != null ? _outerBorder.BorderThickness : new Thickness(); 608private Thickness _initialPadding = new Thickness(double.NaN);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
306childFrameworkElement.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)
34internal static Thickness InterpolateThickness(Thickness from, Thickness to, double progress) 52internal static Thickness AddThickness(Thickness value1, Thickness value2) 65internal static Thickness SubtractThickness(Thickness value1, Thickness value2) 83internal static double GetSegmentLengthThickness(Thickness from, Thickness to) 103internal static Thickness ScaleThickness(Thickness value, double factor) 126internal static bool IsValidAnimationValueThickness(Thickness value) 149internal static Thickness GetZeroValueThickness(Thickness baseValue)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
488internal Thickness PagePadding;
MS\Internal\Documents\FlowDocumentFormatter.cs (3)
53Thickness pageMargin; 218private Thickness ComputePageMargin() 221Thickness pageMargin = _document.PagePadding;
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
730Thickness pageMargin;
MS\Internal\Helper.cs (4)
1064Thickness itemsCorrectionFactor = GroupItem.DesiredPixelItemsSizeCorrectionFactorField.GetValue(virtualizingElement); 1093Thickness correctionFactor = new Thickness(0); 1168Thickness itemsCorrectionFactor = new Thickness(); 1193Thickness oldItemsCorrectionFactor = GroupItem.DesiredPixelItemsSizeCorrectionFactorField.GetValue(virtualizingElement);
MS\Internal\Ink\InkCanvasSelection.cs (1)
377Thickness thickness = new Thickness();
MS\Internal\PtsHost\FigureHelper.cs (3)
134Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin; 178Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin; 231Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\FigureParagraph.cs (2)
586Thickness pageMargin = StructuralCache.CurrentFormatContext.PageMargin; 624Thickness pageMargin = StructuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
115internal void FormatBottomless(Size pageSize, Thickness pageMargin) 175internal PageBreakRecord FormatFinite(Size pageSize, Thickness pageMargin, PageBreakRecord breakRecord) 674internal Thickness Margin { get { return _pageMargin; } } 1095private Thickness _pageMargin;
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
39internal static Thickness CalculatePadding(List list, double lineHeight, double pixelsPerDip)
MS\Internal\PtsHost\MbpInfo.cs (12)
68private static void ReverseFlowDirection(ref Thickness thickness) 100_margin = (Thickness)block.GetValue(Block.MarginProperty); 101_border = (Thickness)block.GetValue(Block.BorderThicknessProperty); 102_padding = (Thickness)block.GetValue(Block.PaddingProperty); 111Thickness defaultMargin; 148Thickness defaultPadding; 299internal Thickness Margin 308internal Thickness Border 314internal Thickness Padding 361private Thickness _margin; 366private Thickness _border; 371private Thickness _padding;
MS\Internal\PtsHost\ParagraphVisual.cs (4)
35internal void DrawBackgroundAndBorder(Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk) 38_borderBrush != borderBrush || !Thickness.AreClose(_borderThickness, borderThickness)) 59internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk) 164private Thickness _borderThickness; // Border thickness
MS\Internal\PtsHost\Section.cs (3)
113Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin; 215Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin; 357Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\StructuralCache.cs (4)
658internal Thickness DocumentPageMargin { get { return _owner._currentPage.Margin; } } 707internal void PushNewPageData(Size pageSize, Thickness pageMargin, bool incrementalUpdate, bool finitePage) 743internal Thickness PageMargin { get { return _currentFormatInfo.PageMargin; } } 775internal Thickness PageMargin;
MS\Internal\PtsHost\UIElementParagraph.cs (1)
428Thickness pageMargin = StructuralCache.CurrentFormatContext.DocumentPageMargin;
MS\Internal\Text\TextDpi.cs (1)
162internal static void EnsureValidPageMargin(ref Thickness pageMargin, Size pageSize)
System\Windows\Controls\Border.cs (15)
64/// <see cref="System.Windows.Thickness" /> containing values for each of the Left, Top, Right, 67public Thickness BorderThickness 69get { return (Thickness) GetValue(BorderThicknessProperty); } 77public Thickness Padding 79get { return (Thickness) GetValue(PaddingProperty); } 117= DependencyProperty.Register("BorderThickness", typeof(Thickness), typeof(Border), 135Thickness t = (Thickness)value; 143= DependencyProperty.Register("Padding", typeof(Thickness), typeof(Border), 211Thickness borders = this.BorderThickness; 258Thickness borders = BorderThickness; 386Thickness border = BorderThickness; 624private static Size HelperCollapseThickness(Thickness th) 638private static Rect HelperDeflateRect(Rect rt, Thickness thick) 938internal Radii(CornerRadius radii, Thickness borders, bool outer)
System\Windows\Controls\Control.cs (7)
98public Thickness BorderThickness 100get { return (Thickness) GetValue(BorderThicknessProperty); } 367typeof(Thickness), typeof(Control), 374Thickness t = (Thickness)value; 385public Thickness Padding 387get { return (Thickness) GetValue(PaddingProperty); }
System\Windows\Controls\DataGrid.cs (3)
4026public Thickness NewItemMargin 4028get { return (Thickness)GetValue(NewItemMarginProperty); } 4037typeof(Thickness),
System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
165Thickness margin = _visualBrushCanvas.Margin; 178Thickness margin = _visualBrushCanvas.Margin;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
535Thickness pagePadding;
System\Windows\Controls\GridViewRowPresenter.cs (1)
702private static readonly Thickness _defalutCellMargin = new Thickness(6, 0, 6, 0);
System\Windows\Controls\GroupItem.cs (2)
466internal static readonly UncommonField<Thickness> DesiredPixelItemsSizeCorrectionFactorField = new UncommonField<Thickness>();
System\Windows\Controls\PasswordBox.cs (2)
1089if (padding is Thickness) 1091passwordBox.ScrollViewer.Padding = (Thickness)padding;
System\Windows\Controls\Primitives\TabPanel.cs (4)
201Thickness margin = (Thickness)element.GetValue(MarginProperty); 257Thickness margin = (Thickness)child.GetValue(MarginProperty);
System\Windows\Controls\SinglePageViewer.cs (1)
650Thickness pagePadding;
System\Windows\Controls\TextBlock.cs (5)
1006public Thickness Padding 1008get { return (Thickness)GetValue(PaddingProperty); } 1258Thickness padding = this.Padding; 1955Thickness padding = this.Padding; 3095Thickness padding = this.Padding;
System\Windows\Controls\TextRangeAdaptor.cs (12)
239Thickness padding = (Thickness)tp.GetValue(Block.PaddingProperty); 250Thickness padding = (Thickness)tp.GetValue(Block.PaddingProperty); 317Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 328Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 339Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 350Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty);
System\Windows\Controls\ToolBar.cs (1)
539Thickness margin = toolBarPanel.Margin;
System\Windows\Controls\VirtualizingStackPanel.cs (24)
88internal static readonly DependencyProperty ItemsHostInsetProperty = DependencyProperty.Register("ItemsHostInset", typeof(Thickness), typeof(VirtualizingStackPanel)); 1355Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 2993Thickness inset = GetItemsHostInsetForChild(firstContainer); 5262Thickness inset = GetItemsHostInsetForChild(virtualizationInfoProvider, parentItemStorageProvider, parentItem); 6364private Thickness GetItemsHostInsetForChild(IHierarchicalVirtualizationAndScrollInfo virtualizationInfoProvider, IContainItemStorage parentItemStorageProvider=null, object parentItem=null) 6387return (Thickness)container.GetValue(ItemsHostInsetProperty); 6391Thickness inset = new Thickness(); 6395inset = (Thickness)box; 6400inset = (Thickness)box; 6408Thickness margin = container.Margin; 6440Thickness margin = (fe == null) ? new Thickness() : fe.Margin; 6453Thickness inset = new Thickness(left, top, right, bottom); 6470Thickness oldInset = (Thickness)box; 6576private bool IsHeaderBeforeItems(bool isHorizontal, FrameworkElement container, ref Thickness inset) 6582Thickness margin = (container == null) ? new Thickness() : container.Margin; 7087Thickness inset = GetItemsHostInsetForChild(virtualizingChild); 7624Thickness inset = (Thickness)v; 11051Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 11064Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 12934private static void WriteThickness(BinaryWriter writer, ref Thickness thickness) 12948internal Thickness _inset; 13007_inset = (Thickness)child.GetValue(ItemsHostInsetProperty)
System\Windows\Documents\AnchoredBlock.cs (6)
99public Thickness Margin 101get { return (Thickness)GetValue(MarginProperty); } 118public Thickness Padding 120get { return (Thickness)GetValue(PaddingProperty); } 137public Thickness BorderThickness 139get { return (Thickness)GetValue(BorderThicknessProperty); }
System\Windows\Documents\Block.cs (16)
124typeof(Thickness), 134public Thickness Margin 136get { return (Thickness)GetValue(MarginProperty); } 146typeof(Thickness), 156public Thickness Padding 158get { return (Thickness)GetValue(PaddingProperty); } 168typeof(Thickness), 178public Thickness BorderThickness 180get { return (Thickness)GetValue(BorderThicknessProperty); } 433Thickness t = (Thickness)o; 439Thickness t = (Thickness)o; 445Thickness t = (Thickness)o; 528internal static bool IsValidThickness(Thickness t, bool allowNaN)
System\Windows\Documents\FlowDocument.cs (7)
692typeof(Thickness), 709public Thickness PagePadding 711get { return (Thickness) GetValue(PagePaddingProperty); } 995internal Thickness ComputePageMargin() 998Thickness pageMargin = this.PagePadding; 1560Thickness value = (Thickness)o;
System\Windows\Documents\ListItem.cs (6)
145public Thickness Margin 147get { return (Thickness)GetValue(MarginProperty); } 164public Thickness Padding 166get { return (Thickness)GetValue(PaddingProperty); } 183public Thickness BorderThickness 185get { return (Thickness)GetValue(BorderThicknessProperty); }
System\Windows\Documents\Paragraph.cs (2)
223internal void GetDefaultMarginValue(ref Thickness margin) 233internal static bool IsMarginAuto(Thickness margin)
System\Windows\Documents\TableCell.cs (4)
183public Thickness Padding 185get { return (Thickness)GetValue(PaddingProperty); } 202public Thickness BorderThickness 204get { return (Thickness)GetValue(BorderThicknessProperty); }
System\windows\Documents\TextEditorTyping.cs (1)
782Thickness margin = paragraphOrBlockUIContainer.Margin;
System\Windows\Documents\TextRange.cs (7)
797!(formattingProperty.PropertyType == typeof(Thickness) && (value is Thickness))) 1653if (formattingProperty.PropertyType == typeof(Thickness) && 1657((Thickness)value).Right, ((Thickness)value).Top, ((Thickness)value).Left, ((Thickness)value).Bottom);
System\Windows\Documents\TextRangeEdit.cs (15)
858if (property.PropertyType == typeof(Thickness)) 861Invariant.Assert(currentValue is Thickness, "Expecting the currentValue to be of Thinkness type"); 862Invariant.Assert(newValue is Thickness, "Expecting the newValue to be of Thinkness type"); 864newValue = ComputeNewThicknessValue((Thickness)currentValue, (Thickness)newValue, parentFlowDirection, flowDirection, propertyValueAction); 1055private static Thickness ComputeNewThicknessValue(Thickness currentThickness, Thickness newThickness, 1223if (value is Thickness) 1225if (Paragraph.IsMarginAuto((Thickness)value)) 1233/*left*/((Thickness)value).Right, 1234/*top:*/((Thickness)value).Top, 1235/*right:*/((Thickness)value).Left, 1236/*bottom:*/((Thickness)value).Bottom); 1376Thickness thickness = new Thickness(increment, -1, -1, -1);
System\Windows\Documents\TextRangeEditTables.cs (2)
686private static Thickness GetCellBorder(double thickness, int rowIndex, int columnIndex, int rowSpan, int columnSpan, int rowCount, int columnCount) 1288Thickness border = cell.BorderThickness;
System\Windows\Documents\TextRangeSerialization.cs (2)
889Thickness thickness = (Thickness)propertyValue;
System\Windows\Documents\TextSchema.cs (1)
758typeof(Thickness).IsAssignableFrom(propertyType);
System\Windows\FrameworkElement.cs (8)
3711= DependencyProperty.Register("Margin", typeof(Thickness), _typeofThis, 3719Thickness m = (Thickness)value; 3727public Thickness Margin 3729get { return (Thickness) GetValue(MarginProperty); } 4307Thickness margin = Margin; 4557Thickness margin = Margin; 4916Thickness margin = Margin;
System\Windows\Input\KeyboardNavigation.cs (3)
167typeof(Thickness), 2376Thickness deflateThickness = (Thickness)uiElement.GetValue(DirectionalNavigationMarginProperty);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
744case 651: t = () => typeof(Thickness); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
11211typeof(System.Windows.Thickness),
System\Windows\Markup\KnownTypes.cs (1)
6198case KnownElements.Thickness: t = typeof(System.Windows.Thickness); break;
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
41public DiscreteThicknessKeyFrame(Thickness value) 49public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) 77protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
42public EasingThicknessKeyFrame(Thickness value) 51public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime) 61public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime, IEasingFunction easingFunction) 90protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
37protected ThicknessKeyFrame(Thickness value) 46protected ThicknessKeyFrame(Thickness value, KeyTime keyTime) 89typeof(Thickness), 104Value = (Thickness)value; 111public Thickness Value 115return (Thickness)GetValue(ValueProperty); 132public Thickness InterpolateValue( 133Thickness baseValue, 150protected abstract Thickness InterpolateValueCore( 151Thickness baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
42public LinearThicknessKeyFrame(Thickness value) 50public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) 76protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
47public SplineThicknessKeyFrame(Thickness value) 56public SplineThicknessKeyFrame(Thickness value, KeyTime keyTime) 66public SplineThicknessKeyFrame(Thickness value, KeyTime keyTime, KeySpline keySpline) 97protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (32)
32private Thickness[] _keyValues; 47Type typeofProp = typeof(Thickness?); 56new PropertyMetadata((Thickness?)null, propCallback), 63new PropertyMetadata((Thickness?)null, propCallback), 70new PropertyMetadata((Thickness?)null, propCallback), 94public ThicknessAnimation(Thickness toValue, Duration duration) 106public ThicknessAnimation(Thickness toValue, Duration duration, FillBehavior fillBehavior) 119public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration) 132public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration, FillBehavior fillBehavior) 205protected override Thickness GetCurrentValueCore(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock) 222Thickness from = new Thickness(); 223Thickness to = new Thickness(); 224Thickness accumulated = new Thickness(); 225Thickness foundation = new Thickness(); 339Thickness accumulator = AnimatedTypeHelpers.SubtractThickness(to, from); 364_keyValues = new Thickness[2]; 371_keyValues = new Thickness[2]; 378_keyValues = new Thickness[1]; 385_keyValues = new Thickness[1]; 391_keyValues = new Thickness[1]; 412Thickness? typedValue = (Thickness?)value; 432public Thickness? From 436return (Thickness?)GetValue(FromProperty); 452public Thickness? To 456return (Thickness?)GetValue(ToProperty); 472public Thickness? By 476return (Thickness?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (9)
80return GetCurrentValue((Thickness)defaultOriginValue, (Thickness)defaultDestinationValue, animationClock); 92return typeof(Thickness); 129public Thickness GetCurrentValue(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock) 185protected abstract Thickness GetCurrentValueCore(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (8)
312protected sealed override Thickness GetCurrentValueCore( 313Thickness defaultOriginValue, 314Thickness defaultDestinationValue, 340Thickness currentIterationValue; 376Thickness fromValue; 621private Thickness GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 934Thickness prevKeyValue = _keyFrames[index - 1].Value; 938Thickness currentKeyValue = _keyFrames[index].Value;
System\Windows\Shell\TaskbarItemInfo.cs (7)
159typeof(Thickness), 162default(Thickness), 164(d, baseValue) => ((TaskbarItemInfo)d).CoerceThumbnailClipMargin((Thickness)baseValue))); 170public Thickness ThumbnailClipMargin 172get { return (Thickness)GetValue(ThumbnailClipMarginProperty); } 176private Thickness CoerceThumbnailClipMargin(Thickness margin)
System\Windows\Shell\WindowChrome.cs (12)
48public static Thickness GlassFrameCompleteThickness { get { return new Thickness(-1); } } 190typeof(Thickness), 192new PropertyMetadata(default(Thickness)), 193(value) => Utility.IsThicknessNonNegative((Thickness)value)); 195public Thickness ResizeBorderThickness 197get { return (Thickness)GetValue(ResizeBorderThicknessProperty); } 203typeof(Thickness), 206default(Thickness), 208(d, o) => _CoerceGlassFrameThickness((Thickness)o))); 210private static object _CoerceGlassFrameThickness(Thickness thickness) 222public Thickness GlassFrameThickness 224get { return (Thickness)GetValue(GlassFrameThicknessProperty); }
System\Windows\Shell\WindowChromeWorker.cs (8)
299Thickness templateFixupMargin = default(Thickness); 409Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 513if (Utility.IsOSVistaOrNewer && _chromeInfo.GlassFrameThickness != default(Thickness) && _isGlassEnabled) 723_isGlassEnabled = frameState && _chromeInfo.GlassFrameThickness != default(Thickness); 965Thickness deviceGlassThickness = DpiHelper.LogicalThicknessToDevice(_chromeInfo.GlassFrameThickness, dpi.DpiScaleX, dpi.DpiScaleY); 970Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 1077Thickness resizeBorderThickness = _chromeInfo.ResizeBorderThickness;
System\Windows\Standard\DpiHelper.cs (2)
72public static Thickness LogicalThicknessToDevice(Thickness logicalThickness, double dpiScaleX, double dpiScaleY)
System\Windows\Standard\Utilities.cs (1)
246public static bool IsThicknessNonNegative(Thickness thickness)
System\Windows\SystemParameters.cs (4)
5690public static Thickness WindowResizeBorderThickness 5715public static Thickness WindowNonClientFrameThickness 5940private static Thickness _windowNonClientFrameThickness; 5941private static Thickness _windowResizeBorderThickness;
System\Windows\Thickness.cs (10)
20public struct Thickness : IEquatable<Thickness> 72if (obj is Thickness otherObj) 85public bool Equals(Thickness thickness) 187internal bool IsClose(Thickness thickness) 203internal static bool AreClose(Thickness thickness0, Thickness thickness1) 226public static bool operator==(Thickness t1, Thickness t2) 242public static bool operator!=(Thickness t1, Thickness t2)
System\Windows\ThicknessConverter.cs (10)
123if (value is not Thickness thickness) 124throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(Thickness)), nameof(value)); 130ConstructorInfo ci = typeof(Thickness).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 134throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(Thickness), destinationType.FullName)); 151/// <param name="th">The <see cref="Thickness"/> to convert to string.</param> 154internal static string ToString(Thickness th, CultureInfo cultureInfo) 180/// Constructs a <see cref="Thickness"/> struct out of string representation supplied by <paramref name="s"/> and the specified <paramref name="cultureInfo"/>. 182/// <param name="s">The string representation of a <see cref="Thickness"/> struct.</param> 184/// <returns>A new instance of <see cref="Thickness"/> struct representing the data contained in <paramref name="s"/>.</returns> 186internal static Thickness FromString(string s, CultureInfo cultureInfo)
System\Windows\Window.cs (1)
6653Thickness margin = taskbarInfo.ThumbnailClipMargin;
PresentationFramework.Aero (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
20private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
92public Thickness BorderThickness 94get { return (Thickness)GetValue(BorderThicknessProperty); } 207Thickness border = BorderThickness; 268Thickness border = BorderThickness; 303Thickness border = BorderThickness; 470private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
180Thickness padding = Padding; 225Thickness padding = Padding; 249private Thickness DefaultPadding 253Thickness padding = new Thickness(3.0); // The default padding 254Thickness? themePadding = ThemeDefaultPadding; 265padding = (Thickness)themePadding;
PresentationFramework.Aero2 (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
20private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
92public Thickness BorderThickness 94get { return (Thickness)GetValue(BorderThicknessProperty); } 207Thickness border = BorderThickness; 268Thickness border = BorderThickness; 303Thickness border = BorderThickness; 470private static Geometry GetBorderGeometry(Thickness thickness, Rect bounds)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
180Thickness padding = Padding; 225Thickness padding = Padding; 249private Thickness DefaultPadding 253Thickness padding = new Thickness(3.0); // The default padding 254Thickness? themePadding = ThemeDefaultPadding; 265padding = (Thickness)themePadding;
PresentationFramework.AeroLite (7)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
20private Thickness? ThemeDefaultPadding
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
180Thickness padding = Padding; 225Thickness padding = Padding; 249private Thickness DefaultPadding 253Thickness padding = new Thickness(3.0); // The default padding 254Thickness? themePadding = ThemeDefaultPadding; 265padding = (Thickness)themePadding;
PresentationFramework.Classic (34)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (27)
558typeof(Thickness), 567Thickness thickness = (Thickness)o; 579public Thickness BorderThickness 581get { return (Thickness) GetValue(BorderThicknessProperty); } 591private static Size HelperCollapseThickness(Thickness th) 597private static Rect HelperDeflateRect(Rect rt, Thickness thick) 709Thickness border = BorderThickness; 740private static Thickness ScaleThickness(Thickness t, double s) 752Thickness borderThickness = BorderThickness; 756Thickness singleThickness = ScaleThickness(borderThickness, 1.0 / classicThickness); 887private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness) 902private Geometry GetBorder(Rect bounds, Thickness borderThickness) 929private void DrawBorder(Brush borderBrush, Thickness borderThickness, DrawingContext dc, ref Rect bounds) 983private void DrawBorderPair(Brush highlight, Brush shadow, Thickness singleThickness, DrawingContext dc, ref Rect bounds) 992private void DrawRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1002private void DrawRaisedPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1011private void DrawSunkenBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1021private void DrawEtchedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1032private void DrawHorizontalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1045private void DrawVerticalLine(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1297private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1305private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1313private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1322private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1459public Thickness BorderThickness;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
20private Thickness? ThemeDefaultPadding
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
180Thickness padding = Padding; 225Thickness padding = Padding; 249private Thickness DefaultPadding 253Thickness padding = new Thickness(3.0); // The default padding 254Thickness? themePadding = ThemeDefaultPadding; 265padding = (Thickness)themePadding;
PresentationFramework.Luna (17)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
20private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ScrollChrome.cs (3)
139public Thickness Padding 141get { return (Thickness)GetValue(PaddingProperty); } 224Thickness padding = Padding;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
81public Thickness BorderThickness 83get { return (Thickness)GetValue(BorderThicknessProperty); } 179Thickness thickness = BorderThickness; 197Thickness thickness = BorderThickness; 322private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness) 448private static Rect HelperDeflateRect(Rect rt, Thickness thick) 473private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
180Thickness padding = Padding; 225Thickness padding = Padding; 249private Thickness DefaultPadding 253Thickness padding = new Thickness(3.0); // The default padding 254Thickness? themePadding = ThemeDefaultPadding; 265padding = (Thickness)themePadding;
PresentationFramework.Royale (17)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
20private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ScrollChrome.cs (3)
121public Thickness Padding 123get { return (Thickness) GetValue(PaddingProperty); } 206Thickness padding = Padding;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
81public Thickness BorderThickness 83get { return (Thickness)GetValue(BorderThicknessProperty); } 179Thickness thickness = BorderThickness; 197Thickness thickness = BorderThickness; 322private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness) 448private static Rect HelperDeflateRect(Rect rt, Thickness thick) 473private static Geometry GenerateBorderGeometry(Rect rect, Thickness borderThickness)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (6)
180Thickness padding = Padding; 225Thickness padding = Padding; 249private Thickness DefaultPadding 253Thickness padding = new Thickness(3.0); // The default padding 254Thickness? themePadding = ThemeDefaultPadding; 265padding = (Thickness)themePadding;
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
124Thickness newPadding = ribbonTabHeader.Padding;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
209public static Size GetMinDropDownSize(RibbonMenuItemsPanel itemsHost, Popup popup, Thickness borderThickness)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
136internal Thickness DefaultPadding 293Thickness margin = _outerBorder != null ? _outerBorder.Margin : new Thickness(); 294Thickness borderThickness = _outerBorder != null ? _outerBorder.BorderThickness : new Thickness(); 608private Thickness _initialPadding = new Thickness(double.NaN);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
81public new Thickness Padding 83get { return (Thickness)GetValue(PaddingProperty); }
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (1)
297internal static Padding ToSystemWindowsFormsPadding(Thickness thickness)
System\Windows\Integration\WindowsFormsHost.cs (2)
571public Thickness Padding 573get { return (Thickness)GetValue(PaddingProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
254if (value is SW.Thickness) 256childControl.Padding = Convert.ToSystemWindowsFormsPadding((SW.Thickness)value);