Click or drag to resize

IRenderTabBorderGetTabBorderDisplayPadding Method

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

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
Padding GetTabBorderDisplayPadding(
	ViewLayoutContext context,
	IPaletteBorder palette,
	PaletteState state,
	VisualOrientation orientation,
	TabBorderStyle tabBorderStyle
)

Parameters

context
Type: Internal.ComponentFactory.Krypton.ToolkitViewLayoutContext
Layout context.
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.
tabBorderStyle
Type: Internal.ComponentFactory.Krypton.ToolkitTabBorderStyle
Style of tab border.

Return Value

Type: Padding
Padding structure detailing all four edges.
See Also