C# Класс Nexus.UI.Controls.DetailsButton

A button with an arrow that alternates between pointing up and down when clicked.
Наследование: System.Windows.Forms.Button
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
PadImage System.Drawing.Bitmap
SetImages void

Открытые методы

Метод Описание
DetailsButton ( ) : System

The default constructor.

Защищенные методы

Метод Описание
OnClick ( EventArgs e ) : void

Raises the Control.Click event.

This alternates the image between the up arrow and the down arrow.

OnMouseEnter ( EventArgs e ) : void

Raises the Control.MouseEnter event.

This switches the image to the hot version of the current image.

OnMouseLeave ( EventArgs e ) : void

Raises the Control.MouseLeave event.

This switches the image to the normal version of the current image.

Приватные методы

Метод Описание
PadImage ( Image p_imgImage ) : Bitmap

Adds the TextImageSpacing to the image.

SetImages ( ) : void

This fills the image list with the padded images.

Описание методов

DetailsButton() публичный Метод

The default constructor.
public DetailsButton ( ) : System
Результат System

OnClick() защищенный Метод

Raises the Control.Click event.
This alternates the image between the up arrow and the down arrow.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
Результат void

OnMouseEnter() защищенный Метод

Raises the Control.MouseEnter event.
This switches the image to the hot version of the current image.
protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
Результат void

OnMouseLeave() защищенный Метод

Raises the Control.MouseLeave event.
This switches the image to the normal version of the current image.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
Результат void