Click or drag to resize

NumberBoxOptionsAttribute Constructor (swNumberboxUnitType_e, Double, Double, Double, Boolean, Double, Double, swPropMgrPageNumberBoxStyle_e)

Constructor for specifying number box options

Namespace:  CodeStack.SwEx.PMPage.Attributes
Assembly:  CodeStack.SwEx.PMPage (in CodeStack.SwEx.PMPage.dll) Version: 0.7.2.0 (0.7.2.0)
Syntax
public NumberBoxOptionsAttribute(
	swNumberboxUnitType_e units,
	double minimum,
	double maximum,
	double increment,
	bool inclusive,
	double fastIncrement,
	double slowIncrement,
	swPropMgrPageNumberBoxStyle_e style = 
)

Parameters

units
Type: swNumberboxUnitType_e
Number box units as defined in swNumberboxUnitType_e Enumeration 0 for not using units. If units are specified corresponding current user unit system will be used and the corresponding units marks will be displayed in the number box. Regardless of the current unit system the value will be stored in system units (MKS)
minimum
Type: SystemDouble
Minimum allowed value for the number box
maximum
Type: SystemDouble
Maximum allowed value for the number box
increment
Type: SystemDouble
Default increment when up or down increment button is clicked
inclusive
Type: SystemBoolean
True sets the minimum-maximum as inclusive, false sets it as exclusive
fastIncrement
Type: SystemDouble
Fast increment for mouse wheel or scroll
slowIncrement
Type: SystemDouble
Slow increment for mouse wheel or scroll
style (Optional)
Type: swPropMgrPageNumberBoxStyle_e
Number box style as defined in swPropMgrPageNumberBoxStyle_e Enumeration0 for default style
See Also