Show / Hide Table of Contents

Class ConstructAction.MultipleChoiceInput

Defines an input object for an action derived from ConstructAction. This input object extpects the input of a integer value. The integer value is entered in a editbox and/or with an up/down control. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

Inheritance
System.Object
ConstructAction.InputObject
ConstructAction.MultipleChoiceInput
Inherited Members
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 MultipleChoiceInput : ConstructAction.InputObject, ConstructAction.IInputObject

Constructors

| Improve this Doc View Source

MultipleChoiceInput(String, String)

Constructs a MultipleChoiceInput object with no initial value

Declaration
public MultipleChoiceInput(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. "|first|second|third"

| Improve this Doc View Source

MultipleChoiceInput(String, String, Int32)

Constructs a MultipleChoiceInput object with no initial value

Declaration
public MultipleChoiceInput(string resourceId, string resourceIdValues, int 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. "|first|second|third"

System.Int32 StartValue

the initial value

| Improve this Doc View Source

MultipleChoiceInput(String, String[], Int32)

Declaration
public MultipleChoiceInput(string resourceId, string[] values, int StartValue)
Parameters
Type Name Description
System.String resourceId
System.String[] values
System.Int32 StartValue

Fields

| Improve this Doc View Source

DefaultChoice

Sets a DefaultInteger, 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.DefaultInteger DefaultChoice
Field Value
Type Description
ConstructAction.DefaultInteger

Properties

| 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

ReadOnly

Declaration
public override bool ReadOnly { get; set; }
Property Value
Type Description
System.Boolean
Overrides
ConstructAction.InputObject.ReadOnly

Events

| Improve this Doc View Source

GetChoiceEvent

Provide a method here, if the integer value not only depends from this input, but is also modified by other means.

Declaration
public event ConstructAction.MultipleChoiceInput.GetChoiceDelegate GetChoiceEvent
Event Type
Type Description
ConstructAction.MultipleChoiceInput.GetChoiceDelegate
| Improve this Doc View Source

SetChoiceEvent

Provide a method here to get the result of this input (and modify your object)

Declaration
public event ConstructAction.MultipleChoiceInput.SetChoiceDelegate SetChoiceEvent
Event Type
Type Description
ConstructAction.MultipleChoiceInput.SetChoiceDelegate
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX