Show / Hide Table of Contents

Class MultipleChoiceSetting

Wrappes an int value. The value represents a choice of severel predefined choices. It represents a setting defined by a name and a value. This setting can be displayed and modified in the control center. It is represented as a combo box. The label left of the combo box is given by the resourceId GetString(String, StringTable.Category), the values are

Inheritance
System.Object
PropertyEntryImpl
MultipleChoiceProperty
MultipleChoiceSetting
Implements
IPropertyEntry
IShowProperty
System.Runtime.Serialization.ISerializable
ISettingChanged
IJsonSerialize
Inherited Members
MultipleChoiceProperty.propertyLabelText
MultipleChoiceProperty.selectedText
MultipleChoiceProperty.unselectedText
MultipleChoiceProperty.user
MultipleChoiceProperty.Choices
MultipleChoiceProperty.SelectedText
MultipleChoiceProperty.ChoiceIndex(String)
MultipleChoiceProperty.SetUnselectedText(String)
MultipleChoiceProperty.SelectionChangedEvent
MultipleChoiceProperty.ValueChangedEvent
MultipleChoiceProperty.CurrentIndex
MultipleChoiceProperty.Flags
MultipleChoiceProperty.GetDropDownList()
MultipleChoiceProperty.Value
MultipleChoiceProperty.ListBoxSelected(Int32)
PropertyEntryImpl.resourceId
PropertyEntryImpl.labelText
PropertyEntryImpl.PropertyEntryChangedState(StateChangedArgs)
PropertyEntryImpl.Frame
PropertyEntryImpl.Refresh()
PropertyEntryImpl.propertyPage
PropertyEntryImpl.propertyTreeView
PropertyEntryImpl.IsOpen
PropertyEntryImpl.Label
PropertyEntryImpl.LabelText
PropertyEntryImpl.ResourceId
PropertyEntryImpl.Parent
PropertyEntryImpl.Index
PropertyEntryImpl.IndentLevel
PropertyEntryImpl.SubItems
PropertyEntryImpl.ContextMenu
PropertyEntryImpl.DeferUpdate
PropertyEntryImpl.PropertyEntryChangedStateEvent
PropertyEntryImpl.Added(IPropertyPage)
PropertyEntryImpl.ButtonClicked(PropertyEntryButton)
PropertyEntryImpl.EditTextChanged(String)
PropertyEntryImpl.EndEdit(Boolean, Boolean, String)
PropertyEntryImpl.Opened(Boolean)
PropertyEntryImpl.OpenOrCloseSubEntries()
PropertyEntryImpl.Removed(IPropertyPage)
PropertyEntryImpl.Select()
PropertyEntryImpl.Selected(IPropertyEntry)
PropertyEntryImpl.StartEdit(Boolean)
PropertyEntryImpl.UnSelected(IPropertyEntry)
PropertyEntryImpl.ReadOnly
PropertyEntryImpl.StateChangedEvent
PropertyEntryImpl.IShowProperty.LabelText
PropertyEntryImpl.IShowProperty.HelpLink
PropertyEntryImpl.IShowProperty.InfoText
PropertyEntryImpl.IShowProperty.LabelType
PropertyEntryImpl.IShowProperty.EntryType
PropertyEntryImpl.SubEntriesCount
PropertyEntryImpl.SubEntries
PropertyEntryImpl.IShowProperty.OwnerDrawHeight
PropertyEntryImpl.IShowProperty.Hidden
PropertyEntryImpl.IShowProperty.IsSelected
PropertyEntryImpl.IShowProperty.Added(IPropertyTreeView)
PropertyEntryImpl.IShowProperty.Selected()
PropertyEntryImpl.IShowProperty.UnSelected()
PropertyEntryImpl.IShowProperty.ChildSelected(IShowProperty)
PropertyEntryImpl.Concat(IPropertyEntry[], IPropertyEntry[])
PropertyEntryImpl.IShowProperty.Removed(IPropertyTreeView)
PropertyEntryImpl.IShowProperty.ShowOpen(Boolean)
PropertyEntryImpl.IShowProperty.SetTabIndex(Int32)
PropertyEntryImpl.IShowProperty.LabelChanged(String)
PropertyEntryImpl.IShowProperty.SetFocus()
PropertyEntryImpl.IShowProperty.Refresh()
PropertyEntryImpl.IShowProperty.OnEnterPressed()
PropertyEntryImpl.IShowProperty.OnVisibilityChanged(Boolean)
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
Assembly: CADability.dll
Syntax
[Serializable]
public class MultipleChoiceSetting : MultipleChoiceProperty, IPropertyEntry, IShowProperty, ISerializable, ISettingChanged, IJsonSerialize

Constructors

| Improve this Doc View Source

MultipleChoiceSetting()

Declaration
protected MultipleChoiceSetting()
| Improve this Doc View Source

MultipleChoiceSetting(SerializationInfo, StreamingContext)

Constructor required by deserialization

Declaration
protected MultipleChoiceSetting(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

SerializationInfo

System.Runtime.Serialization.StreamingContext context

StreamingContext

| Improve this Doc View Source

MultipleChoiceSetting(String, String)

Constructs a MultipleChoiceSetting object.

Declaration
public MultipleChoiceSetting(string resourceId, string settingName)
Parameters
Type Name Description
System.String resourceId

the string table id for the presentation of the setting in the PropertyExplorer (IControlCenter

System.String settingName

the name of the setting

| Improve this Doc View Source

MultipleChoiceSetting(String, String, String[])

Constructs a MultipleChoiceSetting object.

Declaration
public MultipleChoiceSetting(string resourceId, string settingName, string[] values)
Parameters
Type Name Description
System.String resourceId

the string table id for the presentation of the setting in the PropertyExplorer (IControlCenter

System.String settingName

the name of the setting

System.String[] values

the possible choices

Properties

| Improve this Doc View Source

CurrentSelection

Declaration
public int CurrentSelection { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

GetObjectData(IJsonWriteData)

Declaration
public void GetObjectData(IJsonWriteData data)
Parameters
Type Name Description
IJsonWriteData data
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

System.Runtime.Serialization.StreamingContext context

The destination (System.Runtime.Serialization.StreamingContext) for this serialization.

| Improve this Doc View Source

OnSelectionChanged(String)

Declaration
protected override void OnSelectionChanged(string selected)
Parameters
Type Name Description
System.String selected
Overrides
MultipleChoiceProperty.OnSelectionChanged(String)
| Improve this Doc View Source

SetObjectData(IJsonReadData)

Declaration
public void SetObjectData(IJsonReadData data)
Parameters
Type Name Description
IJsonReadData data
| Improve this Doc View Source

SetSelection(Int32)

Declaration
public override void SetSelection(int toSelect)
Parameters
Type Name Description
System.Int32 toSelect
Overrides
MultipleChoiceProperty.SetSelection(Int32)

Events

| Improve this Doc View Source

SettingChangedEvent

Declaration
public event SettingChangedDelegate SettingChangedEvent
Event Type
Type Description
SettingChangedDelegate

Implements

IPropertyEntry
IShowProperty
System.Runtime.Serialization.ISerializable
ISettingChanged
IJsonSerialize
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX