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