C# Class TrakHound_UI.LevelIndicator.Indicator

Interaction logic for Indicator.xaml
Inheritance: System.Windows.Controls.UserControl
Mostra file Open project: TrakHound/TrakHound-Community

Public Properties

Property Type Description
ActiveLevelBrushProperty System.Windows.DependencyProperty
ActiveLevelCountProperty System.Windows.DependencyProperty
InactiveLevelBrushProperty System.Windows.DependencyProperty
TotalLevelCountProperty System.Windows.DependencyProperty

Public Methods

Method Description
Indicator ( ) : System
Indicator ( int totalLevelCount ) : System
Init ( int levelCount ) : void

Private Methods

Method Description
ActiveLevelCountPropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs eventArgs ) : void
CalculateSizes ( ) : void
LevelBrushFormatPropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs eventArgs ) : void
SetActiveLevels ( int activeLevelCount ) : void
TotalLevelCountPropertyChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs eventArgs ) : void
UserControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

Indicator() public method

public Indicator ( ) : System
return System

Indicator() public method

public Indicator ( int totalLevelCount ) : System
totalLevelCount int
return System

Init() public method

public Init ( int levelCount ) : void
levelCount int
return void

Property Details

ActiveLevelBrushProperty public_oe static_oe property

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

ActiveLevelCountProperty public_oe static_oe property

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

InactiveLevelBrushProperty public_oe static_oe property

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

TotalLevelCountProperty public_oe static_oe property

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