C# Класс P02Project.RightButton

This class is the UserControl for the buttons on the Right The buttons can have a custom colour and caption
Наследование: System.Windows.Controls.UserControl
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
RightButton ( ) : System.Windows.Controls

constructor

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

Метод Описание
Background_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

When the mouse is down, the shadow of the button is hidden to make it look like the button is moving down

Background_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

When the mouse if up, the shadow of the button is made visible to make the button look like it's moving up

hideShadow ( ) : void

Sets the opacity of the shadow to 0% Makes the shadow invisible

showShadow ( ) : void

Sets the opacity of the shadow to 100% Makes the shadow visible

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

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

constructor
public RightButton ( ) : System.Windows.Controls
Результат System.Windows.Controls