Show / Hide Table of Contents

Class MultipleChoiceProperty

Inheritance
System.Object
PropertyEntryImpl
MultipleChoiceProperty
LayerSelectionProperty
StyleSelectionProperty
MultipleChoiceSetting
BooleanProperty
ColorSelectionProperty
DimensionStyleSelectionProperty
HatchStyleSelectionProperty
LinePatternSelectionProperty
LineWidthSelectionProperty
Implements
IPropertyEntry
IShowProperty
Inherited Members
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.UserInterface
Assembly: CADability.dll
Syntax
public class MultipleChoiceProperty : PropertyEntryImpl, IPropertyEntry, IShowProperty

Constructors

| Improve this Doc View Source

MultipleChoiceProperty()

Leerer Konstruktor (für die Verwendung von abgeleiteten Klassen). wenigstens propertyLabelText und choices müssen gesetzt werden.

Declaration
public MultipleChoiceProperty()
| Improve this Doc View Source

MultipleChoiceProperty(String, Int32)

Declaration
public MultipleChoiceProperty(string resourceId, int InitialSelection)
Parameters
Type Name Description
System.String resourceId
System.Int32 InitialSelection
| Improve this Doc View Source

MultipleChoiceProperty(String, String[], String)

Konstruktor mit Initialisierung.

Declaration
public MultipleChoiceProperty(string resourceId, string[] Choices, string InitialSelection)
Parameters
Type Name Description
System.String resourceId
System.String[] Choices

Die Auswahlmöglichkeiten

System.String InitialSelection

Fields

| Improve this Doc View Source

propertyLabelText

Declaration
protected string propertyLabelText
Field Value
Type Description
System.String
| Improve this Doc View Source

selectedText

Declaration
protected string selectedText
Field Value
Type Description
System.String
| Improve this Doc View Source

unselectedText

Declaration
protected string unselectedText
Field Value
Type Description
System.String
| Improve this Doc View Source

user

Declaration
public object user
Field Value
Type Description
System.Object

Back reference to any user item. Not used by the MultipleChoiceProperty object itself.

Properties

| Improve this Doc View Source

Choices

Declaration
public string[] Choices { get; set; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

CurrentIndex

Declaration
public int CurrentIndex { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Flags

Declaration
public override PropertyEntryType Flags { get; }
Property Value
Type Description
PropertyEntryType
Overrides
PropertyEntryImpl.Flags
| Improve this Doc View Source

SelectedText

Declaration
public string SelectedText { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Value

Declaration
public override string Value { get; }
Property Value
Type Description
System.String
Overrides
PropertyEntryImpl.Value

Methods

| Improve this Doc View Source

ChoiceIndex(String)

Declaration
public int ChoiceIndex(string choice)
Parameters
Type Name Description
System.String choice
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetDropDownList()

Declaration
public override string[] GetDropDownList()
Returns
Type Description
System.String[]
Overrides
PropertyEntryImpl.GetDropDownList()
| Improve this Doc View Source

ListBoxSelected(Int32)

Declaration
public override void ListBoxSelected(int selectedIndex)
Parameters
Type Name Description
System.Int32 selectedIndex
Overrides
PropertyEntryImpl.ListBoxSelected(Int32)
| Improve this Doc View Source

OnSelectionChanged(String)

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

SetSelection(Int32)

Declaration
public virtual void SetSelection(int toSelect)
Parameters
Type Name Description
System.Int32 toSelect
| Improve this Doc View Source

SetUnselectedText(String)

Declaration
public void SetUnselectedText(string ResourceID)
Parameters
Type Name Description
System.String ResourceID

Events

| Improve this Doc View Source

SelectionChangedEvent

Declaration
public event MultipleChoiceProperty.SelectionChangedDelegate SelectionChangedEvent
Event Type
Type Description
MultipleChoiceProperty.SelectionChangedDelegate
| Improve this Doc View Source

ValueChangedEvent

Declaration
public event ValueChangedDelegate ValueChangedEvent
Event Type
Type Description
ValueChangedDelegate

Implements

IPropertyEntry
IShowProperty
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX