Click or drag to resize

CommonHelperApplyPadding(VisualOrientation, Rectangle, Padding) Method

Return the provided rectangle with visual 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 Rectangle ApplyPadding(
	VisualOrientation orientation,
	Rectangle rect,
	Padding padding
)

Parameters

orientation  VisualOrientation
Orientation to apply padding with.
rect  Rectangle
Starting rectangle.
padding  Padding
Padding to be applied.

Return Value

Rectangle
Updated rectangle.
See Also