C# Class Yuhan.WPF.MenuKiller.MenuKillerItem

Inheritance: System.Windows.Controls.TreeViewItem, ICommandSource, ICustomAlignedControl
Afficher le fichier Open project: hansuky/Yuhan Class Usage Examples

Méthodes publiques

Свойство Type Description
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
CommandTargetProperty System.Windows.DependencyProperty
MouseHoverEvent System.Windows.RoutedEvent
RootToolTipProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
AddCommand void
CanExecuteChanged void
CanToggleExpand bool
CanToggleHandler void
CommandChanged void
HookUpCommand void
InvalidateTreeMeasure void
MenuKillerItem System
MenuKillerItem_MouseEnter void
RemoveCommand void
SetOpacityRecursively void
ToggleCommandHandler void
ToggleExpand void
mCenterButton_Click void
mPanel_ChildArranged void

Méthodes publiques

Méthode Description
AddMouseHoverHandler ( DependencyObject o, RoutedEventHandler handler ) : void
OnApplyTemplate ( ) : void
RemoveMouseHoverHandler ( DependencyObject o, RoutedEventHandler handler ) : void
SetChildrenOpacity ( UIElement exception, double dOpacity ) : void

Multiplies the opacity of all children with a given value, except for the center button and the 'exception'

Méthodes protégées

Méthode Description
MeasureOverride ( Size constraint ) : Size
OnRender ( System drawingContext ) : void

Private Methods

Méthode Description
AddCommand ( ICommand oldCommand, ICommand newCommand ) : void
CanExecuteChanged ( object sender, EventArgs e ) : void
CanToggleExpand ( ) : bool
CanToggleHandler ( object target, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CommandChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
HookUpCommand ( ICommand oldCommand, ICommand newCommand ) : void
InvalidateTreeMeasure ( ) : void
MenuKillerItem ( ) : System
MenuKillerItem_MouseEnter ( object o, System.Windows.Input.MouseEventArgs e ) : void
RemoveCommand ( ICommand oldCommand, ICommand newCommand ) : void
SetOpacityRecursively ( int iLevel ) : void
ToggleCommandHandler ( object target, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ToggleExpand ( ) : void
mCenterButton_Click ( object sender, System e ) : void
mPanel_ChildArranged ( object sender, UIElement child, double angle ) : void

Method Details

AddMouseHoverHandler() public static méthode

public static AddMouseHoverHandler ( DependencyObject o, RoutedEventHandler handler ) : void
o System.Windows.DependencyObject
handler RoutedEventHandler
Résultat void

MeasureOverride() protected méthode

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
Résultat System.Windows.Size

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnRender() protected méthode

protected OnRender ( System drawingContext ) : void
drawingContext System
Résultat void

RemoveMouseHoverHandler() public static méthode

public static RemoveMouseHoverHandler ( DependencyObject o, RoutedEventHandler handler ) : void
o System.Windows.DependencyObject
handler RoutedEventHandler
Résultat void

SetChildrenOpacity() public méthode

Multiplies the opacity of all children with a given value, except for the center button and the 'exception'
public SetChildrenOpacity ( UIElement exception, double dOpacity ) : void
exception UIElement The item whose opacity is to be preserved. may be null.
dOpacity double
Résultat void

Property Details

CommandParameterProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandParameterProperty
Résultat System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandProperty
Résultat System.Windows.DependencyProperty

CommandTargetProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandTargetProperty
Résultat System.Windows.DependencyProperty

MouseHoverEvent public_oe static_oe property

public static RoutedEvent,System.Windows MouseHoverEvent
Résultat System.Windows.RoutedEvent

RootToolTipProperty public_oe static_oe property

public static DependencyProperty,System.Windows RootToolTipProperty
Résultat System.Windows.DependencyProperty