162 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)
92new 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)
270Margin = 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 (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 (95)
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\Helper.cs (2)
1109Thickness correctionFactor = new Thickness(0); 1184Thickness itemsCorrectionFactor = new Thickness();
MS\Internal\Ink\InkCanvasSelection.cs (1)
390Thickness thickness = new Thickness();
MS\Internal\PtsHost\FigureParagraph.cs (1)
514new Thickness(),
MS\Internal\PtsHost\FloaterParagraph.cs (2)
715new Thickness(), 758new Thickness(),
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
48return new Thickness(leftPadding, 0, 0, 0);
MS\Internal\PtsHost\MbpInfo.cs (12)
91_margin = new Thickness(); 92_border = new Thickness(); 93_padding = new Thickness(); 120defaultMargin = new Thickness(0); 124defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 129defaultMargin = new Thickness(0, lineHeight, 0, lineHeight); 133defaultMargin = new Thickness(0.5 * lineHeight); 137defaultMargin = new Thickness(0); 139mbp.Margin = new Thickness( 154defaultPadding = new Thickness(0.5 * lineHeight); 162defaultPadding = new Thickness(0); 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);
MS\Internal\PtsHost\SubpageParagraph.cs (3)
223new Thickness(), 398new Thickness(), 556new Thickness(),
System\Windows\Controls\Border.cs (4)
124new Thickness(), 150new Thickness(), 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\Control.cs (1)
379new Thickness(),
System\Windows\Controls\DataGrid.cs (2)
4069new FrameworkPropertyMetadata(new Thickness(0))); 4105NewItemMargin = new Thickness(marginLeft, 0, 0, 0);
System\Windows\Controls\DataGridTextColumn.cs (3)
42style.Setters.Add(new Setter(TextBlock.MarginProperty, new Thickness(2.0, 0.0, 2.0, 0.0))); 64style.Setters.Add(new Setter(TextBox.BorderThicknessProperty, new Thickness(0.0))); 65style.Setters.Add(new Setter(TextBox.PaddingProperty, new Thickness(0.0)));
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
591Document.PagePadding = new Thickness(
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
1124paddingHeader.Padding = new Thickness(0.0); 1156indicator.Margin = new Thickness(0);
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\TextBlock.cs (1)
1013new Thickness(),
System\Windows\Controls\Validation.cs (1)
611border.SetValue(Border.BorderThicknessProperty, new Thickness(1));
System\Windows\Controls\VirtualizingStackPanel.cs (4)
6420Thickness inset = new Thickness(); 6469Thickness margin = (fe == null) ? new Thickness() : fe.Margin; 6482Thickness inset = new Thickness(left, top, right, bottom); 6611Thickness margin = (container == null) ? new Thickness() : container.Margin;
System\Windows\Documents\AnchoredBlock.cs (3)
104new Thickness(Double.NaN), 123new Thickness(Double.NaN), 142new Thickness(),
System\Windows\Documents\Block.cs (3)
130new Thickness(), 152new Thickness(), 174new Thickness(),
System\Windows\Documents\FixedSOMTableCell.cs (1)
74element.SetValue(Block.BorderThicknessProperty, new Thickness(1));
System\Windows\Documents\FlowDocument.cs (1)
696new Thickness(Double.NaN),
System\Windows\Documents\ListItem.cs (3)
141new Thickness(), 160new Thickness(), 179new Thickness(),
System\Windows\Documents\Paragraph.cs (1)
231margin = new Thickness(0, lineHeight, 0, lineHeight);
System\Windows\Documents\Table.cs (1)
50MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN)));
System\Windows\Documents\TableCell.cs (2)
191new Thickness(), 210new Thickness(),
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\FrameworkElement.cs (1)
3734new Thickness(),
System\Windows\Input\KeyboardNavigation.cs (1)
180new FrameworkPropertyMetadata(new Thickness()));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10110bamlType.DefaultConstructor = delegate() { return new System.Windows.Thickness(); };
System\Windows\Markup\KnownTypes.cs (1)
1599case KnownElements.Thickness: o = new System.Windows.Thickness(); break;
System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (4)
232Thickness from = new Thickness(); 233Thickness to = new Thickness(); 234Thickness accumulated = new Thickness(); 235Thickness foundation = new Thickness();
System\Windows\Shell\TaskbarItemInfo.cs (1)
184return new Thickness();
System\Windows\Shell\WindowChrome.cs (1)
52public static Thickness GlassFrameCompleteThickness { get { return new Thickness(-1); } }
System\Windows\Shell\WindowChromeWorker.cs (1)
1139rootElement.Margin = 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 (5)
104return new Thickness(sourceValue); 106return new Thickness(Convert.ToDouble(source, cultureInfo)); 2151 => new Thickness(lengths[0]), 2162 => new Thickness(lengths[0], lengths[1], lengths[0], lengths[1]), 2174 => new Thickness(lengths[0], lengths[1], lengths[2], lengths[3]),
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
30return new Thickness(5.0, 4.0, 5.0, 4.0);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
93new 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)
30return new Thickness(5.0, 4.0, 5.0, 4.0);
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
93new 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)
30return 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)
563new Thickness(0.0), 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));
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)
341Padding = new Thickness(1); 342Margin = 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)
449ribbonTabHeader.Padding = new Thickness(leftPadding, ribbonTabHeader.DefaultPadding.Top, rightPadding, ribbonTabHeader.DefaultPadding.Bottom);
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (7)
45BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 440PartToggleButton.BorderThickness = new Thickness(BorderThickness.Left, 0.0, BorderThickness.Right, BorderThickness.Bottom); 444PartToggleButton.BorderThickness = new Thickness(); 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); 457PartToggleButton.BorderThickness = new Thickness(); 458_headerButton.BorderThickness = new Thickness(0.0, 0.0, 1.0, 0.0);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (3)
38BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 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);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (3)
296Thickness margin = _outerBorder != null ? _outerBorder.Margin : new Thickness(); 297Thickness borderThickness = _outerBorder != null ? _outerBorder.BorderThickness : new Thickness(); 614private Thickness _initialPadding = new Thickness(double.NaN);
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
311childFrameworkElement.Margin = new Thickness(0d);
474 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 (358)
MS\Internal\AnimatedTypeHelpers.cs (16)
38internal static Thickness InterpolateThickness(Thickness from, Thickness to, double progress) 56internal static Thickness AddThickness(Thickness value1, Thickness value2) 69internal static Thickness SubtractThickness(Thickness value1, Thickness value2) 87internal static double GetSegmentLengthThickness(Thickness from, Thickness to) 107internal static Thickness ScaleThickness(Thickness value, double factor) 130internal static bool IsValidAnimationValueThickness(Thickness value) 153internal static Thickness GetZeroValueThickness(Thickness baseValue)
MS\Internal\Documents\DocumentViewerHelper.cs (1)
491internal Thickness PagePadding;
MS\Internal\Documents\FlowDocumentFormatter.cs (3)
57Thickness pageMargin; 222private Thickness ComputePageMargin() 225Thickness pageMargin = _document.PagePadding;
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
735Thickness pageMargin;
MS\Internal\Helper.cs (4)
1080Thickness itemsCorrectionFactor = GroupItem.DesiredPixelItemsSizeCorrectionFactorField.GetValue(virtualizingElement); 1109Thickness correctionFactor = new Thickness(0); 1184Thickness itemsCorrectionFactor = new Thickness(); 1209Thickness oldItemsCorrectionFactor = GroupItem.DesiredPixelItemsSizeCorrectionFactorField.GetValue(virtualizingElement);
MS\Internal\Ink\InkCanvasSelection.cs (1)
390Thickness thickness = new Thickness();
MS\Internal\PtsHost\FigureHelper.cs (3)
144Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin; 188Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin; 241Thickness pageMargin = structuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\FigureParagraph.cs (2)
602Thickness pageMargin = StructuralCache.CurrentFormatContext.PageMargin; 640Thickness pageMargin = StructuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
124internal void FormatBottomless(Size pageSize, Thickness pageMargin) 184internal PageBreakRecord FormatFinite(Size pageSize, Thickness pageMargin, PageBreakRecord breakRecord) 683internal Thickness Margin { get { return _pageMargin; } } 1113private Thickness _pageMargin;
MS\Internal\PtsHost\ListMarkerSourceInfo.cs (1)
43internal static Thickness CalculatePadding(List list, double lineHeight, double pixelsPerDip)
MS\Internal\PtsHost\MbpInfo.cs (12)
71private static void ReverseFlowDirection(ref Thickness thickness) 103_margin = (Thickness)block.GetValue(Block.MarginProperty); 104_border = (Thickness)block.GetValue(Block.BorderThicknessProperty); 105_padding = (Thickness)block.GetValue(Block.PaddingProperty); 114Thickness defaultMargin; 151Thickness defaultPadding; 302internal Thickness Margin 311internal Thickness Border 317internal Thickness Padding 364private Thickness _margin; 369private Thickness _border; 374private Thickness _padding;
MS\Internal\PtsHost\ParagraphVisual.cs (4)
37internal void DrawBackgroundAndBorder(Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk) 40_borderBrush != borderBrush || !Thickness.AreClose(_borderThickness, borderThickness)) 61internal void DrawBackgroundAndBorderIntoContext(DrawingContext dc, Brush backgroundBrush, Brush borderBrush, Thickness borderThickness, Rect renderBounds, bool isFirstChunk, bool isLastChunk) 158private Thickness _borderThickness; // Border thickness
MS\Internal\PtsHost\Section.cs (3)
116Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin; 218Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin; 360Thickness pageMargin = _structuralCache.CurrentFormatContext.PageMargin;
MS\Internal\PtsHost\StructuralCache.cs (4)
665internal Thickness DocumentPageMargin { get { return _owner._currentPage.Margin; } } 714internal void PushNewPageData(Size pageSize, Thickness pageMargin, bool incrementalUpdate, bool finitePage) 750internal Thickness PageMargin { get { return _currentFormatInfo.PageMargin; } } 782internal Thickness PageMargin;
MS\Internal\PtsHost\UIElementParagraph.cs (1)
426Thickness 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)
69/// <see cref="System.Windows.Thickness" /> containing values for each of the Left, Top, Right, 72public Thickness BorderThickness 74get { return (Thickness) GetValue(BorderThicknessProperty); } 82public Thickness Padding 84get { return (Thickness) GetValue(PaddingProperty); } 122= DependencyProperty.Register("BorderThickness", typeof(Thickness), typeof(Border), 140Thickness t = (Thickness)value; 148= DependencyProperty.Register("Padding", typeof(Thickness), typeof(Border), 216Thickness borders = this.BorderThickness; 263Thickness borders = BorderThickness; 391Thickness border = BorderThickness; 621private static Size HelperCollapseThickness(Thickness th) 635private static Rect HelperDeflateRect(Rect rt, Thickness thick) 935internal Radii(CornerRadius radii, Thickness borders, bool outer)
System\Windows\Controls\Control.cs (7)
108public Thickness BorderThickness 110get { return (Thickness) GetValue(BorderThicknessProperty); } 377typeof(Thickness), typeof(Control), 384Thickness t = (Thickness)value; 395public Thickness Padding 397get { return (Thickness) GetValue(PaddingProperty); }
System\Windows\Controls\DataGrid.cs (3)
4056public Thickness NewItemMargin 4058get { return (Thickness)GetValue(NewItemMarginProperty); } 4067typeof(Thickness),
System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
169Thickness margin = _visualBrushCanvas.Margin; 182Thickness margin = _visualBrushCanvas.Margin;
System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
539Thickness pagePadding;
System\Windows\Controls\GridViewRowPresenter.cs (1)
704private static readonly Thickness _defalutCellMargin = new Thickness(6, 0, 6, 0);
System\Windows\Controls\GroupItem.cs (2)
478internal static readonly UncommonField<Thickness> DesiredPixelItemsSizeCorrectionFactorField = new UncommonField<Thickness>();
System\Windows\Controls\PasswordBox.cs (2)
1113if (padding is Thickness) 1115passwordBox.ScrollViewer.Padding = (Thickness)padding;
System\Windows\Controls\Primitives\TabPanel.cs (4)
210Thickness margin = (Thickness)element.GetValue(MarginProperty); 264Thickness margin = (Thickness)child.GetValue(MarginProperty);
System\Windows\Controls\SinglePageViewer.cs (1)
654Thickness pagePadding;
System\Windows\Controls\TextBlock.cs (5)
1019public Thickness Padding 1021get { return (Thickness)GetValue(PaddingProperty); } 1274Thickness padding = this.Padding; 1977Thickness padding = this.Padding; 3115Thickness padding = this.Padding;
System\Windows\Controls\TextRangeAdaptor.cs (12)
242Thickness padding = (Thickness)tp.GetValue(Block.PaddingProperty); 253Thickness padding = (Thickness)tp.GetValue(Block.PaddingProperty); 320Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 331Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 342Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty); 353Thickness margin = (Thickness)tp.GetValue(FrameworkElement.MarginProperty);
System\Windows\Controls\ToolBar.cs (1)
555Thickness margin = toolBarPanel.Margin;
System\Windows\Controls\VirtualizingStackPanel.cs (24)
94internal static readonly DependencyProperty ItemsHostInsetProperty = DependencyProperty.Register("ItemsHostInset", typeof(Thickness), typeof(VirtualizingStackPanel)); 1361Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 3010Thickness inset = GetItemsHostInsetForChild(firstContainer); 5291Thickness inset = GetItemsHostInsetForChild(virtualizationInfoProvider, parentItemStorageProvider, parentItem); 6393private Thickness GetItemsHostInsetForChild(IHierarchicalVirtualizationAndScrollInfo virtualizationInfoProvider, IContainItemStorage parentItemStorageProvider=null, object parentItem=null) 6416return (Thickness)container.GetValue(ItemsHostInsetProperty); 6420Thickness inset = new Thickness(); 6424inset = (Thickness)box; 6429inset = (Thickness)box; 6437Thickness margin = container.Margin; 6469Thickness margin = (fe == null) ? new Thickness() : fe.Margin; 6482Thickness inset = new Thickness(left, top, right, bottom); 6499Thickness oldInset = (Thickness)box; 6605private bool IsHeaderBeforeItems(bool isHorizontal, FrameworkElement container, ref Thickness inset) 6611Thickness margin = (container == null) ? new Thickness() : container.Margin; 7114Thickness inset = GetItemsHostInsetForChild(virtualizingChild); 7651Thickness inset = (Thickness)v; 11079Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 11092Thickness inset = GetItemsHostInsetForChild(virtualizingElement); 12969private static void WriteThickness(BinaryWriter writer, ref Thickness thickness) 12983internal Thickness _inset; 13039info._inset = (Thickness)child.GetValue(ItemsHostInsetProperty);
System\Windows\Documents\AnchoredBlock.cs (6)
110public Thickness Margin 112get { return (Thickness)GetValue(MarginProperty); } 129public Thickness Padding 131get { return (Thickness)GetValue(PaddingProperty); } 148public Thickness BorderThickness 150get { return (Thickness)GetValue(BorderThicknessProperty); }
System\Windows\Documents\Block.cs (16)
127typeof(Thickness), 137public Thickness Margin 139get { return (Thickness)GetValue(MarginProperty); } 149typeof(Thickness), 159public Thickness Padding 161get { return (Thickness)GetValue(PaddingProperty); } 171typeof(Thickness), 181public Thickness BorderThickness 183get { return (Thickness)GetValue(BorderThicknessProperty); } 436Thickness t = (Thickness)o; 442Thickness t = (Thickness)o; 448Thickness t = (Thickness)o; 531internal static bool IsValidThickness(Thickness t, bool allowNaN)
System\Windows\Documents\FlowDocument.cs (7)
693typeof(Thickness), 710public Thickness PagePadding 712get { return (Thickness) GetValue(PagePaddingProperty); } 1002internal Thickness ComputePageMargin() 1005Thickness pageMargin = this.PagePadding; 1573Thickness value = (Thickness)o;
System\Windows\Documents\ListItem.cs (6)
147public Thickness Margin 149get { return (Thickness)GetValue(MarginProperty); } 166public Thickness Padding 168get { return (Thickness)GetValue(PaddingProperty); } 185public Thickness BorderThickness 187get { 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)
197public Thickness Padding 199get { return (Thickness)GetValue(PaddingProperty); } 216public Thickness BorderThickness 218get { return (Thickness)GetValue(BorderThicknessProperty); }
System\windows\Documents\TextEditorTyping.cs (1)
801Thickness margin = paragraphOrBlockUIContainer.Margin;
System\Windows\Documents\TextRange.cs (7)
808!(formattingProperty.PropertyType == typeof(Thickness) && (value is Thickness))) 1664if (formattingProperty.PropertyType == typeof(Thickness) && 1668((Thickness)value).Right, ((Thickness)value).Top, ((Thickness)value).Left, ((Thickness)value).Bottom);
System\Windows\Documents\TextRangeEdit.cs (15)
861if (property.PropertyType == typeof(Thickness)) 864Invariant.Assert(currentValue is Thickness, "Expecting the currentValue to be of Thinkness type"); 865Invariant.Assert(newValue is Thickness, "Expecting the newValue to be of Thinkness type"); 867newValue = ComputeNewThicknessValue((Thickness)currentValue, (Thickness)newValue, parentFlowDirection, flowDirection, propertyValueAction); 1058private static Thickness ComputeNewThicknessValue(Thickness currentThickness, Thickness newThickness, 1226if (value is Thickness) 1228if (Paragraph.IsMarginAuto((Thickness)value)) 1236/*left*/((Thickness)value).Right, 1237/*top:*/((Thickness)value).Top, 1238/*right:*/((Thickness)value).Left, 1239/*bottom:*/((Thickness)value).Bottom); 1379Thickness thickness = new Thickness(increment, -1, -1, -1);
System\Windows\Documents\TextRangeEditTables.cs (2)
685private static Thickness GetCellBorder(double thickness, int rowIndex, int columnIndex, int rowSpan, int columnSpan, int rowCount, int columnCount) 1287Thickness border = cell.BorderThickness;
System\Windows\Documents\TextRangeSerialization.cs (2)
896Thickness thickness = (Thickness)propertyValue;
System\Windows\Documents\TextSchema.cs (1)
765typeof(Thickness).IsAssignableFrom(propertyType);
System\Windows\FrameworkElement.cs (8)
3732= DependencyProperty.Register("Margin", typeof(Thickness), _typeofThis, 3740Thickness m = (Thickness)value; 3748public Thickness Margin 3750get { return (Thickness) GetValue(MarginProperty); } 4328Thickness margin = Margin; 4578Thickness margin = Margin; 4935Thickness margin = Margin;
System\Windows\Input\KeyboardNavigation.cs (3)
178typeof(Thickness), 2388Thickness deflateThickness = (Thickness)uiElement.GetValue(DirectionalNavigationMarginProperty);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
747case 651: t = () => typeof(Thickness); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10108typeof(System.Windows.Thickness),
System\Windows\Markup\KnownTypes.cs (1)
6205case KnownElements.Thickness: t = typeof(System.Windows.Thickness); break;
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
48public DiscreteThicknessKeyFrame(Thickness value) 56public DiscreteThicknessKeyFrame(Thickness value, KeyTime keyTime) 84protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
47public EasingThicknessKeyFrame(Thickness value) 56public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime) 66public EasingThicknessKeyFrame(Thickness value, KeyTime keyTime, IEasingFunction easingFunction) 95protected override Thickness InterpolateValueCore(Thickness baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
44protected ThicknessKeyFrame(Thickness value) 53protected ThicknessKeyFrame(Thickness value, KeyTime keyTime) 96typeof(Thickness), 111Value = (Thickness)value; 118public Thickness Value 122return (Thickness)GetValue(ValueProperty); 139public Thickness InterpolateValue( 140Thickness baseValue, 157protected abstract Thickness InterpolateValueCore( 158Thickness baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
47public LinearThicknessKeyFrame(Thickness value) 55public LinearThicknessKeyFrame(Thickness value, KeyTime keyTime) 81protected 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)
42private Thickness[] _keyValues; 57Type typeofProp = typeof(Thickness?); 66new PropertyMetadata((Thickness?)null, propCallback), 73new PropertyMetadata((Thickness?)null, propCallback), 80new PropertyMetadata((Thickness?)null, propCallback), 104public ThicknessAnimation(Thickness toValue, Duration duration) 116public ThicknessAnimation(Thickness toValue, Duration duration, FillBehavior fillBehavior) 129public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration) 142public ThicknessAnimation(Thickness fromValue, Thickness toValue, Duration duration, FillBehavior fillBehavior) 215protected override Thickness GetCurrentValueCore(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock) 232Thickness from = new Thickness(); 233Thickness to = new Thickness(); 234Thickness accumulated = new Thickness(); 235Thickness foundation = new Thickness(); 349Thickness accumulator = AnimatedTypeHelpers.SubtractThickness(to, from); 374_keyValues = new Thickness[2]; 381_keyValues = new Thickness[2]; 388_keyValues = new Thickness[1]; 395_keyValues = new Thickness[1]; 401_keyValues = new Thickness[1]; 422Thickness? typedValue = (Thickness?)value; 442public Thickness? From 446return (Thickness?)GetValue(FromProperty); 462public Thickness? To 466return (Thickness?)GetValue(ToProperty); 482public Thickness? By 486return (Thickness?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\ThicknessAnimationBase.cs (9)
94return GetCurrentValue((Thickness)defaultOriginValue, (Thickness)defaultDestinationValue, animationClock); 106return typeof(Thickness); 143public Thickness GetCurrentValue(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock) 203protected abstract Thickness GetCurrentValueCore(Thickness defaultOriginValue, Thickness defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (8)
322protected sealed override Thickness GetCurrentValueCore( 323Thickness defaultOriginValue, 324Thickness defaultDestinationValue, 350Thickness currentIterationValue; 386Thickness fromValue; 631private Thickness GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 942Thickness prevKeyValue = _keyFrames[index - 1].Value; 946Thickness currentKeyValue = _keyFrames[index].Value;
System\Windows\Shell\TaskbarItemInfo.cs (7)
162typeof(Thickness), 165default(Thickness), 167(d, baseValue) => ((TaskbarItemInfo)d).CoerceThumbnailClipMargin((Thickness)baseValue))); 173public Thickness ThumbnailClipMargin 175get { return (Thickness)GetValue(ThumbnailClipMarginProperty); } 179private Thickness CoerceThumbnailClipMargin(Thickness margin)
System\Windows\Shell\WindowChrome.cs (12)
52public static Thickness GlassFrameCompleteThickness { get { return new Thickness(-1); } } 194typeof(Thickness), 196new PropertyMetadata(default(Thickness)), 197(value) => Utility.IsThicknessNonNegative((Thickness)value)); 199public Thickness ResizeBorderThickness 201get { return (Thickness)GetValue(ResizeBorderThicknessProperty); } 207typeof(Thickness), 210default(Thickness), 212(d, o) => _CoerceGlassFrameThickness((Thickness)o))); 214private static object _CoerceGlassFrameThickness(Thickness thickness) 226public Thickness GlassFrameThickness 228get { return (Thickness)GetValue(GlassFrameThicknessProperty); }
System\Windows\Shell\WindowChromeWorker.cs (8)
305Thickness templateFixupMargin = default(Thickness); 415Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 519if (Utility.IsOSVistaOrNewer && _chromeInfo.GlassFrameThickness != default(Thickness) && _isGlassEnabled) 729_isGlassEnabled = frameState && _chromeInfo.GlassFrameThickness != default(Thickness); 971Thickness deviceGlassThickness = DpiHelper.LogicalThicknessToDevice(_chromeInfo.GlassFrameThickness, dpi.DpiScaleX, dpi.DpiScaleY); 976Thickness windowResizeBorderThicknessDevice = DpiHelper.LogicalThicknessToDevice(SystemParameters.WindowResizeBorderThickness, dpi.DpiScaleX, dpi.DpiScaleY); 1083Thickness resizeBorderThickness = _chromeInfo.ResizeBorderThickness;
System\Windows\Standard\DpiHelper.cs (2)
75public static Thickness LogicalThicknessToDevice(Thickness logicalThickness, double dpiScaleX, double dpiScaleY)
System\Windows\Standard\Utilities.cs (1)
256public static bool IsThicknessNonNegative(Thickness thickness)
System\Windows\SystemParameters.cs (4)
5709public static Thickness WindowResizeBorderThickness 5734public static Thickness WindowNonClientFrameThickness 5964private static Thickness _windowNonClientFrameThickness; 5965private static Thickness _windowResizeBorderThickness;
System\Windows\Thickness.cs (12)
21public struct Thickness : IEquatable<Thickness> 73if (obj is Thickness) 75Thickness otherObj = (Thickness)obj; 87public bool Equals(Thickness thickness) 189internal bool IsClose(Thickness thickness) 205static internal bool AreClose(Thickness thickness0, Thickness thickness1) 228public static bool operator==(Thickness t1, Thickness t2) 244public static bool operator!=(Thickness t1, Thickness t2)
System\Windows\ThicknessConverter.cs (10)
131if (value is not Thickness thickness) 132throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(Thickness)), nameof(value)); 138ConstructorInfo ci = typeof(Thickness).GetConstructor(new Type[] { typeof(double), typeof(double), typeof(double), typeof(double) }); 142throw new ArgumentException(SR.Format(SR.CannotConvertType, typeof(Thickness), destinationType.FullName)); 159/// <param name="th">The <see cref="Thickness"/> to convert to string.</param> 162internal static string ToString(Thickness th, CultureInfo cultureInfo) 188/// Constructs a <see cref="Thickness"/> struct out of string representation supplied by <paramref name="s"/> and the specified <paramref name="cultureInfo"/>. 190/// <param name="s">The string representation of a <see cref="Thickness"/> struct.</param> 192/// <returns>A new instance of <see cref="Thickness"/> struct representing the data contained in <paramref name="s"/>.</returns> 194internal static Thickness FromString(string s, CultureInfo cultureInfo)
System\Windows\Window.cs (1)
6685Thickness margin = taskbarInfo.ThumbnailClipMargin;
PresentationFramework.Aero (13)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
24private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
99public Thickness BorderThickness 101get { return (Thickness)GetValue(BorderThicknessProperty); } 212Thickness border = BorderThickness; 273Thickness border = BorderThickness; 311Thickness border = BorderThickness; 478private 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)
24private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
99public Thickness BorderThickness 101get { return (Thickness)GetValue(BorderThicknessProperty); } 212Thickness border = BorderThickness; 273Thickness border = BorderThickness; 311Thickness border = BorderThickness; 478private 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)
24private 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)
560typeof(Thickness), 569Thickness thickness = (Thickness)o; 581public Thickness BorderThickness 583get { return (Thickness) GetValue(BorderThicknessProperty); } 593private static Size HelperCollapseThickness(Thickness th) 599private static Rect HelperDeflateRect(Rect rt, Thickness thick) 711Thickness border = BorderThickness; 742private static Thickness ScaleThickness(Thickness t, double s) 754Thickness borderThickness = BorderThickness; 758Thickness 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) 1293private void DrawThinRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1301private void DrawThinPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1309private void DrawAltRaisedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1318private void DrawAltPressedBorder(Thickness singleThickness, DrawingContext dc, ref Rect bounds) 1455public Thickness BorderThickness;
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
25private 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)
24private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ScrollChrome.cs (3)
144public Thickness Padding 146get { return (Thickness)GetValue(PaddingProperty); } 229Thickness padding = Padding;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
88public Thickness BorderThickness 90get { return (Thickness)GetValue(BorderThicknessProperty); } 186Thickness thickness = BorderThickness; 204Thickness thickness = BorderThickness; 329private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness) 455private static Rect HelperDeflateRect(Rect rt, Thickness thick) 478private 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)
24private Thickness? ThemeDefaultPadding
Microsoft\Windows\Themes\ScrollChrome.cs (3)
126public Thickness Padding 128get { return (Thickness) GetValue(PaddingProperty); } 211Thickness padding = Padding;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
88public Thickness BorderThickness 90get { return (Thickness)GetValue(BorderThicknessProperty); } 186Thickness thickness = BorderThickness; 204Thickness thickness = BorderThickness; 329private void DrawBorder(DrawingContext dc, ref Rect bounds, Thickness thickness, bool isUnitThickness) 455private static Rect HelperDeflateRect(Rect rt, Thickness thick) 478private 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)
128Thickness newPadding = ribbonTabHeader.Padding;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
215public static Size GetMinDropDownSize(RibbonMenuItemsPanel itemsHost, Popup popup, Thickness borderThickness)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
139internal Thickness DefaultPadding 296Thickness margin = _outerBorder != null ? _outerBorder.Margin : new Thickness(); 297Thickness borderThickness = _outerBorder != null ? _outerBorder.BorderThickness : new Thickness(); 614private Thickness _initialPadding = new Thickness(double.NaN);
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (2)
85new public Thickness Padding 87get { return (Thickness)GetValue(PaddingProperty); }
WindowsFormsIntegration (5)
System\Windows\Integration\Convert.cs (1)
300internal static Padding ToSystemWindowsFormsPadding(Thickness thickness)
System\Windows\Integration\WindowsFormsHost.cs (2)
592public Thickness Padding 594get { return (Thickness)GetValue(PaddingProperty); }
System\Windows\Integration\WindowsFormsHostPropertyMap.cs (2)
256if (value is SW.Thickness) 258childControl.Padding = Convert.ToSystemWindowsFormsPadding((SW.Thickness)value);