[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.SideButtonBase

SideButtonBase Class

Represents the base class of side buttons.

Namespace: GrapeCity.Win.Spread.InputMan.CellType
Assembly: GrapeCity.Win.PluginInputMan.dll
Syntax
[TypeConverter(typeof(SideButtonConverter))]
public class SideButtonBase : Component, IComponent, IDisposable, INotifyPropertyChanged, INamedObject
<TypeConverter(GetType(SideButtonConverter))>
Public Class SideButtonBase
    Inherits Component
    Implements IComponent, IDisposable, INotifyPropertyChanged, INamedObject

Properties

Name Description
BackColor

Gets or sets the backcolor of the side button.

ButtonWidth

Gets or sets the width of the side button.

Enabled

Gets or sets a value that indicates whether this SideButtonBase is enabled.

FlatAppearance

Gets the appearance of the border and the colors used to indicate check state and mouse state.

ForeColor

Gets or sets the foreground color.

Name

Gets or sets the name of the object.

Parent

Gets the control object that owns this SideButton.

Position

Gets or sets the position of the side button.

Size

Gets the size of the SideButtonBase.

Tag

Gets or sets the object that contains data about the side button object.

UseVisualStyleBackColor

Gets or sets whether to use the visual style backcolor when flat style is system and system theme is active.

Visible

Gets or sets the visibility of the side button.

Methods

Name Description
Dispose(bool)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.

OnClick(object, EventArgs)

Raises the Click event.

OnMouseDown(object, MouseEventArgs)

Raises the MouseDown event.

OnMouseUp(object, MouseEventArgs)

Raises the MouseUp event.

OnPropertyChanged(PropertyChangedEventArgs)

Raises the PropertyChanged event.

Events

Name Description
Click

Occurs when the button is clicked.

MouseDown

Occurs when the mouse button is pressed down.

MouseUp

Occurs when the mouse button is released.

Paint

Occurs after rendering the SideButtonBase.

PropertyChanged

Occurs when a property of the SideButtonBase is changed.