Class MeasureTextBox
Measure TextBox
Inheritance
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class MeasureTextBox : TextBox
Constructors
MeasureTextBox()
Initializes a new instance of the MeasureTextBox class.
Declaration
public MeasureTextBox()
Properties
DefaultMeasureUnits
Gets or sets the default measure units.
Declaration
public MeasureUnits DefaultMeasureUnits { get; set; }
Property Value
Type | Description |
---|---|
MeasureUnits | The default measure units. |
DefaultValue
Gets or sets the default value.
Declaration
public float DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The default value. |
MeasureUnits
Gets or sets the measure units.
Declaration
public MeasureUnits MeasureUnits { get; set; }
Property Value
Type | Description |
---|---|
MeasureUnits | The measure units. |
Text
Gets or sets the current text in the System.Windows.Forms.TextBox.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
ValidatedValue
Gets a value indicating whether value is validated.
Declaration
public bool ValidatedValue { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Value
Gets or sets the value.
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The value. |
Methods
OnEnter(EventArgs)
Raises the System.Windows.Forms.Control.Enter event.
Declaration
protected override void OnEnter(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
OnLostFocus(EventArgs)
Raises the System.Windows.Forms.Control.LostFocus event.
Declaration
protected override void OnLostFocus(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
OnTextChanged(EventArgs)
Raises the TextChanged event.
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs that contains the event data. |
SetValue(Single, MeasureUnits)
Sets the value.
Declaration
public void SetValue(float fValue, MeasureUnits unit)
Parameters
Type | Name | Description |
---|---|---|
System.Single | fValue | The value. |
MeasureUnits | unit | The unit. |
Events
ValueChanged
Occurs when value is changed.
Declaration
public event EventHandler ValueChanged
Event Type
Type |
---|
System.EventHandler |
ValueChanging
Occurs when value is changing.
Declaration
public event EventHandler ValueChanging
Event Type
Type |
---|
System.EventHandler |