6 references to SubtractFromSize
PresentationFramework (6)
System\Windows\Controls\DataGridCell.cs (4)
801
constraint = DataGridHelper.
SubtractFromSize
(constraint, horizontalLineThickness, /*height = */ true);
806
constraint = DataGridHelper.
SubtractFromSize
(constraint, verticalLineThickness, /*height = */ false);
836
arrangeSize = DataGridHelper.
SubtractFromSize
(arrangeSize, horizontalLineThickness, /*height = */ true);
841
arrangeSize = DataGridHelper.
SubtractFromSize
(arrangeSize, verticalLineThickness, /*height = */ false);
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (2)
223
Size desiredSize = base.MeasureOverride(DataGridHelper.
SubtractFromSize
(availableSize, thickness, /*height = */ true));
257
Size returnSize = base.ArrangeOverride(DataGridHelper.
SubtractFromSize
(finalSize, thickness, /*height = */ true));