Click or drag to resize

RenderStandardGetDropDownButtonPreferredSize Method

Calculate the requested display size for the drop down button.

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 override Size GetDropDownButtonPreferredSize(
	ViewLayoutContext context,
	IPalette palette,
	PaletteState state,
	VisualOrientation orientation
)

Parameters

context  ViewLayoutContext
Render context.
palette  IPalette
Palette for sourcing display values.
state  PaletteState
State for which image size is needed.
orientation  VisualOrientation
How to orientate the image.

Return Value

Size

Implements

IRenderGlyphGetDropDownButtonPreferredSize(ViewLayoutContext, IPalette, PaletteState, VisualOrientation)
See Also