C# Class ModernWPF.Controls.AppButton

A button with circle around the content and optional text.
Inheritance: System.Windows.Controls.Primitives.ToggleButton
Show file Open project: soukoku/ModernWPF

Public Properties

Property Type Description
ButtonSizeProperty System.Windows.DependencyProperty
CollapseOnDisableProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
TextSizeProperty System.Windows.DependencyProperty

Protected Methods

Method Description
OnContextMenuOpening ( System.Windows.Controls.ContextMenuEventArgs e ) : void

Invoked whenever an unhandled E:System.Windows.FrameworkElement.ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.

Private Methods

Method Description
AppButton ( ) : System

Method Details

OnContextMenuOpening() protected method

Invoked whenever an unhandled E:System.Windows.FrameworkElement.ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.
protected OnContextMenuOpening ( System.Windows.Controls.ContextMenuEventArgs e ) : void
e System.Windows.Controls.ContextMenuEventArgs The that contains the event data.
return void

Property Details

ButtonSizeProperty public static property

Dependency property for ButtonSize.
public static DependencyProperty,System.Windows ButtonSizeProperty
return System.Windows.DependencyProperty

CollapseOnDisableProperty public static property

Dependency property for CollapseOnDisable.
public static DependencyProperty,System.Windows CollapseOnDisableProperty
return System.Windows.DependencyProperty

OrientationProperty public static property

Dependency property for Orientation.
public static DependencyProperty,System.Windows OrientationProperty
return System.Windows.DependencyProperty

TextProperty public static property

Dependency property for Text.
public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty

TextSizeProperty public static property

Dependency property for TextSize.
public static DependencyProperty,System.Windows TextSizeProperty
return System.Windows.DependencyProperty