C# Class Smrf.NodeXL.ExcelTemplate.DynamicFilterDateTimeRangeTrackBar

Wraps a DateTimeRangeTrackBar for use in the .
This wrapper implements IDynamicFilterRangeTrackBar, which allows DynamicFilterDialog to communicate with the and other track bar controls in a simple and consistent manner.

The main task of this wrapper is to convert the Decimal range values used by the DynamicFilterDialog to and from the DateTime values used by the DateTimeRangeTrackBar control.

Inheritance: DateTimeRangeTrackBar, IDynamicFilterRangeTrackBar
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_sColumnName String
m_sTableName String

Public Methods

Method Description
AssertValid ( ) : void
DynamicFilterDateTimeRangeTrackBar ( String tableName, String columnName ) : System

Initializes a new instance of the class.

SetAvailableRange ( Decimal availableMinimum, Decimal availableMaximum ) : void
SetCustomProperties ( DynamicFilterParameters dynamicFilterParameters ) : void
SetSelectedRange ( Decimal selectedMinimum, Decimal selectedMaximum ) : void
ValueToString ( Decimal value ) : String

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

DynamicFilterDateTimeRangeTrackBar() public method

Initializes a new instance of the class.
public DynamicFilterDateTimeRangeTrackBar ( String tableName, String columnName ) : System
tableName String /// Name of the table containing the column. ///
columnName String /// Name of the column. ///
return System

SetAvailableRange() public method

public SetAvailableRange ( Decimal availableMinimum, Decimal availableMaximum ) : void
availableMinimum Decimal
availableMaximum Decimal
return void

SetCustomProperties() public method

public SetCustomProperties ( DynamicFilterParameters dynamicFilterParameters ) : void
dynamicFilterParameters DynamicFilterParameters
return void

SetSelectedRange() public method

public SetSelectedRange ( Decimal selectedMinimum, Decimal selectedMaximum ) : void
selectedMinimum Decimal
selectedMaximum Decimal
return void

ValueToString() public method

public ValueToString ( Decimal value ) : String
value Decimal
return String

Property Details

m_sColumnName protected_oe property

protected String m_sColumnName
return String

m_sTableName protected_oe property

protected String m_sTableName
return String