Click or drag to resize

RenderBaseDrawRibbonBack Method

Draw the background of a ribbon element.

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public abstract IDisposable DrawRibbonBack(
	PaletteRibbonShape shape,
	RenderContext context,
	Rectangle rect,
	PaletteState state,
	IPaletteRibbonBack palette,
	VisualOrientation orientation,
	bool composition,
	IDisposable memento
)

Parameters

shape
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteRibbonShape
Ribbon shape.
context
Type: Internal.ComponentFactory.Krypton.ToolkitRenderContext
Rendering context.
rect
Type: System.DrawingRectangle
Target rectangle.
state
Type: Internal.ComponentFactory.Krypton.ToolkitPaletteState
State associated with rendering.
palette
Type: Internal.ComponentFactory.Krypton.ToolkitIPaletteRibbonBack
Palette used for sourcing settings.
orientation
Type: Internal.ComponentFactory.Krypton.ToolkitVisualOrientation
Orientation for drawing.
composition
Type: SystemBoolean
Drawing onto a composition element.
memento
Type: SystemIDisposable
Cached values to use when drawing.

Return Value

Type: IDisposable

Implements

IRenderRibbonDrawRibbonBack(PaletteRibbonShape, RenderContext, Rectangle, PaletteState, IPaletteRibbonBack, VisualOrientation, Boolean, IDisposable)
See Also