C# 클래스 Yuhan.WPF.MenuKiller.MenuKillerItem

상속: System.Windows.Controls.TreeViewItem, ICommandSource, ICustomAlignedControl
파일 보기 프로젝트 열기: hansuky/Yuhan 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
CommandTargetProperty System.Windows.DependencyProperty
MouseHoverEvent System.Windows.RoutedEvent
RootToolTipProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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'

보호된 메소드들

메소드 설명
MeasureOverride ( Size constraint ) : Size
OnRender ( System drawingContext ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

AddMouseHoverHandler() 공개 정적인 메소드

public static AddMouseHoverHandler ( DependencyObject o, RoutedEventHandler handler ) : void
o System.Windows.DependencyObject
handler RoutedEventHandler
리턴 void

MeasureOverride() 보호된 메소드

protected MeasureOverride ( Size constraint ) : Size
constraint System.Windows.Size
리턴 System.Windows.Size

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

OnRender() 보호된 메소드

protected OnRender ( System drawingContext ) : void
drawingContext System
리턴 void

RemoveMouseHoverHandler() 공개 정적인 메소드

public static RemoveMouseHoverHandler ( DependencyObject o, RoutedEventHandler handler ) : void
o System.Windows.DependencyObject
handler RoutedEventHandler
리턴 void

SetChildrenOpacity() 공개 메소드

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
리턴 void

프로퍼티 상세

CommandParameterProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows CommandParameterProperty
리턴 System.Windows.DependencyProperty

CommandProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows CommandProperty
리턴 System.Windows.DependencyProperty

CommandTargetProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows CommandTargetProperty
리턴 System.Windows.DependencyProperty

MouseHoverEvent 공개적으로 정적으로 프로퍼티

public static RoutedEvent,System.Windows MouseHoverEvent
리턴 System.Windows.RoutedEvent

RootToolTipProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows RootToolTipProperty
리턴 System.Windows.DependencyProperty