Class ConstructAction.BooleanInput
Defines an input object for an action derived from ConstructAction. This input object extpects the input of a boolen value. The boolen value is selected from a combobox. Pressing enter or TAB or clicking the mouse proceeds to the next input object.
Inherited Members
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class BooleanInput : ConstructAction.InputObject, ConstructAction.IInputObject
Constructors
| Improve this Doc View SourceBooleanInput(String, String)
Constructs a BooleanInput object with no initial value
Declaration
public BooleanInput(string resourceId, string resourceIdValues)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | resourceId | the resource id to specify a string from the StringTable. ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text. |
| System.String | resourceIdValues | resource id of the strings for the values starting with a delimiter and seperated by the same delimiter e.g. "|true|false" |
BooleanInput(String, String, Boolean)
Constructs a BooleanInput object with an initial value
Declaration
public BooleanInput(string resourceId, string resourceIdValues, bool StartValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | resourceId | the resource id to specify a string from the StringTable. ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text. |
| System.String | resourceIdValues | resource id of the strings for the values starting with a delimiter and seperated by the same delimiter e.g. "|true|false" |
| System.Boolean | StartValue | the initial value |
Properties
| Improve this Doc View SourceDefaultBoolean
Sets a DefaultGeoVector, which should be a static value, that carries the last input value of this vector to the next instantiation of the action.
Declaration
public ConstructAction.DefaultBoolean DefaultBoolean { get; set; }
Property Value
| Type | Description |
|---|---|
| ConstructAction.DefaultBoolean |
ForwardMouseInputTo
Mouse input should be forwarded to another input object and only processed by this input, when the other input object is fixed.
Declaration
public object ForwardMouseInputTo { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Value
Declaration
public bool Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Events
| Improve this Doc View SourceGetBooleanEvent
Provide a method here, if the boolean value not only depends from this input, but is also modified by other means.
Declaration
public event ConstructAction.BooleanInput.GetBooleanDelegate GetBooleanEvent
Event Type
| Type | Description |
|---|---|
| ConstructAction.BooleanInput.GetBooleanDelegate |
SetBooleanEvent
Provide a method here to get the result of this input (and modify your object)
Declaration
public event ConstructAction.BooleanInput.SetBooleanDelegate SetBooleanEvent
Event Type
| Type | Description |
|---|---|
| ConstructAction.BooleanInput.SetBooleanDelegate |