Click or drag to resize

ButtonSpecViewCreateController Method

Create a button controller for the view.

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#
public virtual ButtonSpecViewControllers CreateController(
	ViewDrawButton viewButton,
	NeedPaintHandler needPaint,
	MouseEventHandler clickHandler
)

Parameters

viewButton
Type: Internal.ComponentFactory.Krypton.ToolkitViewDrawButton
View to be controlled.
needPaint
Type: Internal.ComponentFactory.Krypton.ToolkitNeedPaintHandler
Paint delegate.
clickHandler
Type: System.Windows.FormsMouseEventHandler
Reference to click handler.

Return Value

Type: ButtonSpecViewControllers
Controller instance.
See Also