Extensions 2Add Numeric Stepper Method
Adds a numeric stepper (selector)
Definition
Namespace: DWSIM.ExtensionMethods.Eto
Assembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 10.0.0.0
Assembly: DWSIM.ExtensionMethods.Eto (in DWSIM.ExtensionMethods.Eto.dll) Version: 10.0.0.0
C#
public static TextBox AddNumericStepper(
DynamicLayout container,
string text,
double value,
double minvalue,
double maxvalue,
int decimalplaces,
Action<TextBox, EventArgs> valuechangedhandler = null
)VB
Public Shared Function AddNumericStepper (
container As DynamicLayout,
text As String,
value As Double,
minvalue As Double,
maxvalue As Double,
decimalplaces As Integer,
Optional valuechangedhandler As Action(Of TextBox, EventArgs) = Nothing
) As TextBoxParameters
- container DynamicLayout
- Layout container
- text String
- Text (description)
- value Double
- The current value of the stepper
- minvalue Double
- Maximum selectable value
- maxvalue Double
- Minimum selectable value
- decimalplaces Int32
- Decimal places
- valuechangedhandler ActionTextBox, EventArgs (Optional)
- Handler for the ValueChanged event