Click or drag to resize

IRenderGlyphGetDropDownButtonPreferredSize 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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
Size GetDropDownButtonPreferredSize(
	ViewLayoutContext context,
	IPalette palette,
	PaletteState state,
	VisualOrientation orientation
)

Parameters

context
Type: Internal.ComponentFactory.Krypton.ToolkitViewLayoutContext
Render context.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPalette
Palette for sourcing display values.
state
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteState
State for which image size is needed.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
How to orientate the image.

Return Value

Type: Size
See Also