Show / Hide Table of Contents

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.

Inheritance
System.Object
ConstructAction.InputObject
ConstructAction.BooleanInput
Inherited Members
ConstructAction.InputObject.ReadOnly
ConstructAction.InputObject.Optional
ConstructAction.InputObject.Fixed
ConstructAction.InputObject.AdjustHighlight()
ConstructAction.InputObject.ResourceId
ConstructAction.InputObject.constructAction
ConstructAction.InputObject.ShowProperty
ConstructAction.InputObject.Init(ConstructAction)
ConstructAction.InputObject.Refresh()
ConstructAction.InputObject.BuildShowProperty()
ConstructAction.InputObject.AcceptInput(Boolean)
ConstructAction.InputObject.MouseLeft()
ConstructAction.InputObject.OnActionDone()
ConstructAction.InputObject.HasHotspot
ConstructAction.InputObject.HotspotPosition
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class BooleanInput : ConstructAction.InputObject, ConstructAction.IInputObject

Constructors

| Improve this Doc View Source

BooleanInput(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"

| Improve this Doc View Source

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 Source

DefaultBoolean

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
| Improve this Doc View Source

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
| Improve this Doc View Source

Value

Declaration
public bool Value { get; }
Property Value
Type Description
System.Boolean

Events

| Improve this Doc View Source

GetBooleanEvent

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX