C# Class FirstFloor.ModernUI.Windows.Controls.ContextMenuButton

Inheritance: System.Windows.Controls.Control
ファイルを表示 Open project: gro-ove/actools

Public Properties

Property Type Description
CommandProperty System.Windows.DependencyProperty
MenuProperty System.Windows.DependencyProperty

Public Methods

Method Description
ContextMenuButton ( ) : System.Windows
OnApplyTemplate ( ) : void

Protected Methods

Method Description
OnVisualParentChanged ( DependencyObject oldParent ) : void

Private Methods

Method Description
OnButtonClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnContextMenuClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
OnMenuChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMenuChanged ( FrameworkElement oldValue, FrameworkElement newValue ) : void
Open ( bool near ) : bool

Method Details

ContextMenuButton() public method

public ContextMenuButton ( ) : System.Windows
return System.Windows

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnVisualParentChanged() protected method

protected OnVisualParentChanged ( DependencyObject oldParent ) : void
oldParent System.Windows.DependencyObject
return void

Property Details

CommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandProperty
return System.Windows.DependencyProperty

MenuProperty public_oe static_oe property

public static DependencyProperty,System.Windows MenuProperty
return System.Windows.DependencyProperty