Class MultipleChoiceProperty
Inheritance
System.Object
MultipleChoiceProperty
Inherited Members
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()
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
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
Overrides
|
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
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
|
Improve this Doc
View Source
ListBoxSelected(Int32)
Declaration
public override void ListBoxSelected(int selectedIndex)
Parameters
| Type |
Name |
Description |
| System.Int32 |
selectedIndex |
|
Overrides
|
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
|
Improve this Doc
View Source
ValueChangedEvent
Declaration
public event ValueChangedDelegate ValueChangedEvent
Event Type
Implements