C# Class Microsoft.Samples.KMoore.WPFSamples.BlockBarSample.BlockBar

Inheritance: System.Windows.FrameworkElement
Show file Open project: daszat/zetbox Class Usage Examples

Public Properties

Property Type Description
BlockCountProperty System.Windows.DependencyProperty
BlockMarginProperty System.Windows.DependencyProperty
ValueProperty System.Windows.DependencyProperty

Protected Methods

Method Description
GetThreshold ( double value, int blockCount ) : int

Private Methods

Method Description
BlockBar ( ) : System
CoerceBlockCount ( int input ) : int
CoerceBlockCount ( DependencyObject element, object value ) : object
CoerceBlockMargin ( double input ) : double
CoerceBlockMargin ( DependencyObject element, object value ) : object
CoerceValue ( double input ) : double
CoerceValue ( DependencyObject element, object value ) : object

Method Details

GetThreshold() protected static method

protected static GetThreshold ( double value, int blockCount ) : int
value double
blockCount int
return int

Property Details

BlockCountProperty public static property

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

BlockMarginProperty public static property

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

ValueProperty public static property

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