10 references to sideThickness2
PresentationFramework.Luna (10)
Microsoft\Windows\Themes\ButtonChrome.cs (10)
330
bool isWidthTooSmall = (availableSize.Width <
sideThickness2
);
331
bool isHeightTooSmall = (availableSize.Height <
sideThickness2
);
335
childConstraint.Width = availableSize.Width -
sideThickness2
;
339
childConstraint.Height = availableSize.Height -
sideThickness2
;
348
desired.Width +=
sideThickness2
;
352
desired.Height +=
sideThickness2
;
357
desired = new Size(Math.Min(
sideThickness2
, availableSize.Width), Math.Min(
sideThickness2
, availableSize.Height));
375
childArrangeRect.Width = Math.Max(0d, finalSize.Width -
sideThickness2
);
376
childArrangeRect.Height = Math.Max(0d, finalSize.Height -
sideThickness2
);