C# Class csShared.Controls.PopupButton

Inheritance: SurfaceButton
显示文件 Open project: TNOCS/csTouch

Public Properties

Property Type Description
OptionsProperty System.Windows.DependencyProperty
ShowValueProperty System.Windows.DependencyProperty
ValueChangedEvent System.Windows.RoutedEvent
ValueProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void
OptionValueChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs value ) : void

Private Methods

Method Description
GetMenu ( FrameworkElement fe ) : MenuPopupViewModel
PopupButton_Click ( object sender, System e ) : void
RaiseValueChangedEvent ( ) : void
menu_Selected ( object sender, MenuSelectedEventArgs e ) : void

Method Details

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OptionValueChanged() public static method

public static OptionValueChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs value ) : void
obj System.Windows.DependencyObject
value System.Windows.DependencyPropertyChangedEventArgs
return void

Property Details

OptionsProperty public_oe static_oe property

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

ShowValueProperty public_oe static_oe property

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

ValueChangedEvent public_oe static_oe property

public static RoutedEvent,System.Windows ValueChangedEvent
return System.Windows.RoutedEvent

ValueProperty public_oe static_oe property

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