10 references to sideThickness2
PresentationFramework.Luna (10)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
319bool isWidthTooSmall = (availableSize.Width < sideThickness2); 320bool isHeightTooSmall = (availableSize.Height < sideThickness2); 324childConstraint.Width = availableSize.Width - sideThickness2; 328childConstraint.Height = availableSize.Height - sideThickness2; 337desired.Width += sideThickness2; 341desired.Height += sideThickness2; 346desired = new Size(Math.Min(sideThickness2, availableSize.Width), Math.Min(sideThickness2, availableSize.Height)); 364childArrangeRect.Width = Math.Max(0d, finalSize.Width - sideThickness2); 365childArrangeRect.Height = Math.Max(0d, finalSize.Height - sideThickness2);