Click or drag to resize

RenderStandardGetBorderDisplayPadding 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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public override Padding GetBorderDisplayPadding(
	IPaletteBorder palette,
	PaletteState state,
	VisualOrientation orientation
)

Parameters

palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteBorder
Palette used for drawing.
state
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteState
State associated with rendering.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Visual orientation of the border.

Return Value

Type: Padding
Padding structure detailing all four edges.

Implements

IRenderBorderGetBorderDisplayPadding(IPaletteBorder, PaletteState, VisualOrientation)
See Also