C# Класс Open.Core.UI.Controls.VisualButton

Base class for buttons that are simple visuals.
Наследование: System.Windows.Controls.Button
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BackgroundTemplateProperty System.Windows.DependencyProperty
DisabledOpacityProperty System.Windows.DependencyProperty
DownOffsetProperty System.Windows.DependencyProperty
OverOffsetProperty System.Windows.DependencyProperty

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

Метод Описание
OnApplyTemplate ( ) : void

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

Метод Описание
OnVisualStateChanged ( ) : void
VisualButton ( ) : System

Constructor.

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

Метод Описание
OnMouseDown ( ) : void
OnMouseEnter ( ) : void
OnMouseLeave ( ) : void
OnMouseUp ( ) : void
UpdateOffset ( ) : void
UpdateOpacity ( ) : void
UpdateVisualState ( ) : void

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

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

public OnApplyTemplate ( ) : void
Результат void

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

protected OnVisualStateChanged ( ) : void
Результат void

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

Constructor.
protected VisualButton ( ) : System
Результат System

Описание свойств

BackgroundTemplateProperty публичное статическое свойство

Gets or sets the template used to render the button background.
public static DependencyProperty,System.Windows BackgroundTemplateProperty
Результат System.Windows.DependencyProperty

DisabledOpacityProperty публичное статическое свойство

Gets or sets the opacity of the button when in a disabled state.
public static DependencyProperty,System.Windows DisabledOpacityProperty
Результат System.Windows.DependencyProperty

DownOffsetProperty публичное статическое свойство

Gets or sets the pixel offset to adjust the button by when the mouse is depressed.
public static DependencyProperty,System.Windows DownOffsetProperty
Результат System.Windows.DependencyProperty

OverOffsetProperty публичное статическое свойство

Gets or sets the pixel offset to adjust the button by when the mouse is over it.
public static DependencyProperty,System.Windows OverOffsetProperty
Результат System.Windows.DependencyProperty