Click or drag to resize

IRenderBorderGetBorderDisplayPadding Method

Gets the padding used to position display elements completely inside border drawing.

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#
Padding GetBorderDisplayPadding(
	IPaletteBorder palette,
	PaletteState state,
	VisualOrientation orientation
)

Parameters

palette  IPaletteBorder
Palette used for drawing.
state  PaletteState
State associated with rendering.
orientation  VisualOrientation
Visual orientation of the border.

Return Value

Padding
Padding structure detailing all four edges.
See Also