RenderStandardDrawRibbonBack Method |
Draw the background of a ribbon element.
Namespace:
Internal.ComponentFactory.Krypton.Toolkit
Assembly:
NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public override 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:
IDisposableImplements
IRenderRibbonDrawRibbonBack(PaletteRibbonShape, RenderContext, Rectangle, PaletteState, IPaletteRibbonBack, VisualOrientation, Boolean, IDisposable)See Also