C# 클래스 SevenSoftware.Windows.Controls.UacButton

Provides a WPF button that displays a UAC Shield icon when required.
상속: System.Windows.Controls.Button, INotifyPropertyChanged
파일 보기 프로젝트 열기: robertbaker/SevenUpdate

공개 메소드들

메소드 설명
UacButton ( ) : System

Initializes a new instance of the UacButton class.

비공개 메소드들

메소드 설명
ChangeUacIcon ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Changes the UAC icon.

GetToolTip ( ) : object

Returns current "actual" ToolTip.

OnButtonTextChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles a change to the ButtonText property.

OnIsShieldNeededChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles a change to the IsShieldNeeded property.

Adds or removes the UACShieldAdorner as appropriate

OnLoaded ( object sender, RoutedEventArgs e ) : void

Called when the control is loaded.

OnPropertyChanged ( string name ) : void

When a property has changed, call the OnPropertyChanged Event.

OnShieldIconChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles a change to the ShieldIcon property.

메소드 상세

UacButton() 공개 메소드

Initializes a new instance of the UacButton class.
public UacButton ( ) : System
리턴 System