Click or drag to resize

CommonHelperApplyPadding(Orientation, Size, Padding) Method

Return the provided size with orientation specific padding applied.

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Size ApplyPadding(
	Orientation orientation,
	Size size,
	Padding padding
)

Parameters

orientation  Orientation
Orientation to apply padding with.
size  Size
Starting size.
padding  Padding
Padding to be applied.

Return Value

Size
Updated size.
See Also