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 (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.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