C# 클래스 RedisExplorer.Controls.GreyableImage

Class used to have an image that is able to be gray when the control is not enabled. Based on the version by Thomas LEBRUN (http://blogs.developpeur.org/tom)
상속: Image
파일 보기 프로젝트 열기: leegould/RedisExplorer 1 사용 예제들

보호된 메소드들

메소드 설명
ApplyGreyScaleImage ( GreyableImage greyScaleImg, System.Boolean isEnabled ) : void
GetImageWithSource ( DependencyObject source ) : GreyableImage
OnAutoGreyScaleImageIsEnabledPropertyChanged ( DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs args ) : void

Called when [auto grey scale image is enabled property changed].

OnAutoGreyScaleImageSourcePropertyChanged ( DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs args ) : void

Called when [auto grey scale image source property changed].

비공개 메소드들

메소드 설명
GreyableImage ( ) : System

Initializes a new instance of the GreyableImage class.

메소드 상세

ApplyGreyScaleImage() 보호된 정적인 메소드

protected static ApplyGreyScaleImage ( GreyableImage greyScaleImg, System.Boolean isEnabled ) : void
greyScaleImg GreyableImage
isEnabled System.Boolean
리턴 void

GetImageWithSource() 보호된 정적인 메소드

protected static GetImageWithSource ( DependencyObject source ) : GreyableImage
source System.Windows.DependencyObject
리턴 GreyableImage

OnAutoGreyScaleImageIsEnabledPropertyChanged() 보호된 정적인 메소드

Called when [auto grey scale image is enabled property changed].
protected static OnAutoGreyScaleImageIsEnabledPropertyChanged ( DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs args ) : void
source System.Windows.DependencyObject The source.
args System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
리턴 void

OnAutoGreyScaleImageSourcePropertyChanged() 보호된 정적인 메소드

Called when [auto grey scale image source property changed].
protected static OnAutoGreyScaleImageSourcePropertyChanged ( DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs args ) : void
source System.Windows.DependencyObject The source.
args System.Windows.DependencyPropertyChangedEventArgs The instance containing the event data.
리턴 void