RenderStandardGetContentPreferredSize Method |
Get the preferred size for drawing the content.
Namespace: Internal.ComponentFactory.Krypton.ToolkitAssembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic override Size GetContentPreferredSize(
ViewLayoutContext context,
IPaletteContent palette,
IContentValues values,
VisualOrientation orientation,
PaletteState state,
bool composition,
bool glowing
)
Parameters
- context ViewLayoutContext
- Layout context.
- palette IPaletteContent
- Content palette details.
- values IContentValues
- Content values.
- orientation VisualOrientation
- Visual orientation of the content.
- state PaletteState
- State associated with rendering.
- composition Boolean
- Should draw on a composition element.
- glowing Boolean
- If composition, should glowing be drawn.
Return Value
SizePreferred size.
Implements
IRenderContentGetContentPreferredSize(ViewLayoutContext, IPaletteContent, IContentValues, VisualOrientation, PaletteState, Boolean, Boolean)
See Also