[]
        
(Showing Draft Content)

C1.Win.C1Input.C1Button

C1Button Class

Represents a Windows button control supporting additional visual styles.

Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1Button), "C1Button.png")]
public class C1Button : Button, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IButtonControl, ISupportInitialize

Constructors

Name Description
C1Button()

Initializes a new instance of the C1Button class.

Properties

Name Description
BackColor
ButtonType

Gets or sets the button style type value.

DefaultThemeRootPath

Default Theme root path.

ForeColor
VisualStyle

Gets or sets the visual style of the control.

Methods

Name Description
BeginInit()
CreateAccessibilityInstance()
Dispose(bool)

Releases the resources used by the C1Button.

EndInit()
GetPreferredSize(Size)

Retrieves the size of a rectangular area into which a control can be fitted.

OnGotFocus(EventArgs)
OnKeyDown(KeyEventArgs)
OnKeyUp(KeyEventArgs)
OnLostFocus(EventArgs)
OnMouseDown(MouseEventArgs)
OnMouseEnter(EventArgs)
OnMouseLeave(EventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnPaint(PaintEventArgs)
OnParentForeColorChanged(EventArgs)
OnVisualStyleChanged(EventArgs)

Invokes the VisualStyleChanged event.

ResetVisualStyle()

Resets VisualStyle to the default value.

ResetVisualStyleBaseStyle()

This method is for internal use only.

ShouldSerializeVisualStyle()

Tests whether VisualStyle should be serialized.

ShouldSerializeVisualStyleBaseStyle()

This method is for internal use only.

WndProc(ref Message)

Events

Name Description
VisualStyleChanged

Occurs when the VisualStyle property has changed.