C# 클래스 wpf_player.BusyIndicatorBehavior

Behaviour Class that implements the reaction of the animation visibility based on a busy state Dependency Property.
파일 보기 프로젝트 열기: zencoders/sambatyon

공개 프로퍼티들

프로퍼티 타입 설명
AddMarginsProperty System.Windows.DependencyProperty
BusyStateProperty System.Windows.DependencyProperty
DimBackgroundProperty System.Windows.DependencyProperty
DimTransitionDurationProperty System.Windows.DependencyProperty
DimmerBrushProperty System.Windows.DependencyProperty
DimmerOpacityProperty System.Windows.DependencyProperty
TargetVisualProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetAddMargins ( DependencyObject obj ) : bool

GetBusyState ( DependencyObject obj ) : bool

GetDimBackground ( DependencyObject obj ) : bool

GetDimTransitionDuration ( DependencyObject obj ) : Duration

GetDimmerBrush ( DependencyObject obj ) : System.Windows.Media.Brush

GetDimmerOpacity ( DependencyObject obj ) : double

GetTargetVisual ( DependencyObject obj ) : UIElement

SetAddMargins ( DependencyObject obj, bool value ) : void

SetBusyState ( DependencyObject obj, bool value ) : void

SetDimBackground ( DependencyObject obj, bool value ) : void

SetDimTransitionDuration ( DependencyObject obj, Duration value ) : void

SetDimmerBrush ( DependencyObject obj, System.Windows.Media.Brush value ) : void

SetDimmerOpacity ( DependencyObject obj, double value ) : void

SetTargetVisual ( DependencyObject obj, UIElement value ) : void

비공개 메소드들

메소드 설명
OnBusyStateChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

OnDimBackgroundChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

OnFadeOutAnimationCompleted ( DependencyObject d, System.Windows.Controls.Panel hostGrid, UIElement busyIndicator ) : void

OnPreProcessInput ( object sender, System.Windows.Input.PreProcessInputEventArgs e ) : void

메소드 상세

GetAddMargins() 공개 정적인 메소드

public static GetAddMargins ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

GetBusyState() 공개 정적인 메소드

public static GetBusyState ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

GetDimBackground() 공개 정적인 메소드

public static GetDimBackground ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

GetDimTransitionDuration() 공개 정적인 메소드

public static GetDimTransitionDuration ( DependencyObject obj ) : Duration
obj System.Windows.DependencyObject
리턴 Duration

GetDimmerBrush() 공개 정적인 메소드

public static GetDimmerBrush ( DependencyObject obj ) : System.Windows.Media.Brush
obj System.Windows.DependencyObject
리턴 System.Windows.Media.Brush

GetDimmerOpacity() 공개 정적인 메소드

public static GetDimmerOpacity ( DependencyObject obj ) : double
obj System.Windows.DependencyObject
리턴 double

GetTargetVisual() 공개 정적인 메소드

public static GetTargetVisual ( DependencyObject obj ) : UIElement
obj System.Windows.DependencyObject
리턴 UIElement

SetAddMargins() 공개 정적인 메소드

public static SetAddMargins ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
리턴 void

SetBusyState() 공개 정적인 메소드

public static SetBusyState ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
리턴 void

SetDimBackground() 공개 정적인 메소드

public static SetDimBackground ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
리턴 void

SetDimTransitionDuration() 공개 정적인 메소드

public static SetDimTransitionDuration ( DependencyObject obj, Duration value ) : void
obj System.Windows.DependencyObject
value Duration
리턴 void

SetDimmerBrush() 공개 정적인 메소드

public static SetDimmerBrush ( DependencyObject obj, System.Windows.Media.Brush value ) : void
obj System.Windows.DependencyObject
value System.Windows.Media.Brush
리턴 void

SetDimmerOpacity() 공개 정적인 메소드

public static SetDimmerOpacity ( DependencyObject obj, double value ) : void
obj System.Windows.DependencyObject
value double
리턴 void

SetTargetVisual() 공개 정적인 메소드

public static SetTargetVisual ( DependencyObject obj, UIElement value ) : void
obj System.Windows.DependencyObject
value UIElement
리턴 void

프로퍼티 상세

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

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

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

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

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

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

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

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

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

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

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

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

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

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