C# Class Yuhan.WPF.Controls.GaugeBar

GuageBar.xaml에 대한 상호 작용 논리
Inheritance: System.Windows.Controls.UserControl
Show file Open project: hansuky/Yuhan Class Usage Examples

Public Properties

Property Type Description
BorderBrushProperty System.Windows.DependencyProperty
PercentageProperty System.Windows.DependencyProperty
ShowValueProperty System.Windows.DependencyProperty
TBarBackgroundProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
VBarBackgroundProperty System.Windows.DependencyProperty

Public Methods

Method Description
GaugeBar ( ) : System
PercentageChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Protected Methods

Method Description
OnBorderBrushChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTBarBackgroundChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnVBarBackgroundChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Private Methods

Method Description
GaugeBar_Loaded ( object sender, RoutedEventArgs e ) : void
GaugeBar_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
SetPercentageBarSize ( ) : void
SetPercentageBarSize ( Double percentage ) : void

Method Details

GaugeBar() public method

public GaugeBar ( ) : System
return System

OnBorderBrushChanged() protected static method

protected static OnBorderBrushChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnTBarBackgroundChanged() protected static method

protected static OnTBarBackgroundChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnVBarBackgroundChanged() protected static method

protected static OnVBarBackgroundChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

PercentageChanged() public static method

public static PercentageChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

Property Details

BorderBrushProperty public static property

public static DependencyProperty,System.Windows BorderBrushProperty
return System.Windows.DependencyProperty

PercentageProperty public static property

public static DependencyProperty,System.Windows PercentageProperty
return System.Windows.DependencyProperty

ShowValueProperty public static property

public static DependencyProperty,System.Windows ShowValueProperty
return System.Windows.DependencyProperty

TBarBackgroundProperty public static property

public static DependencyProperty,System.Windows TBarBackgroundProperty
return System.Windows.DependencyProperty

TextProperty public static property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty

VBarBackgroundProperty public static property

public static DependencyProperty,System.Windows VBarBackgroundProperty
return System.Windows.DependencyProperty