ATAS
Loading...
Searching...
No Matches
OFT.Attributes.Editors.ComboBoxEditorAttribute Class Reference
Inheritance diagram for OFT.Attributes.Editors.ComboBoxEditorAttribute:
[legend]
Collaboration diagram for OFT.Attributes.Editors.ComboBoxEditorAttribute:
[legend]

Public Member Functions

 ComboBoxEditorAttribute (params object[] itemsSource)
 Configure ComboBox editor attribute.
 
 ComboBoxEditorAttribute (Type typeSource)
 Configure ComboBox editor attribute.
 
IEnumerable GetItemsSource (object instance)
 

Properties

string DisplayMember [get, set]
 Gets or sets a member name in the bound data source whose values are displayed by the editor.
 
string ValueMember [get, set]
 Gets or sets a member name in the bound data source, whose values are assigned to item values.
 
object[] ItemsSource [get, set]
 Get or set data source for selection.
 
bool IsTextEditable [get, set]
 Gets or sets whether end-users are allowed to edit the text displayed in the edit box.
 
bool AutoComplete [get, set]
 Gets or sets whether the automatic completion is enabled.
 

Constructor & Destructor Documentation

◆ ComboBoxEditorAttribute() [1/2]

OFT.Attributes.Editors.ComboBoxEditorAttribute.ComboBoxEditorAttribute ( params object[]  itemsSource)

Configure ComboBox editor attribute.

Parameters
itemsSourceElements dor selection in ComboBox.

◆ ComboBoxEditorAttribute() [2/2]

OFT.Attributes.Editors.ComboBoxEditorAttribute.ComboBoxEditorAttribute ( Type  typeSource)

Configure ComboBox editor attribute.

Parameters
typeSourceSource type must inherit from T:System.Collections.IEnumerable.
Exceptions
T:System.ArgumentNullExceptionParameter
Parameters
typeSourceis null.
Exceptions
T:System.ArgumentExceptionParameter
Parameters
typeSourcenot inherited from T:System.Collections.IEnumerable or constructor has more than one parameter.

Member Function Documentation

◆ GetItemsSource()

IEnumerable OFT.Attributes.Editors.ComboBoxEditorAttribute.GetItemsSource ( object  instance)

Property Documentation

◆ AutoComplete

bool OFT.Attributes.Editors.ComboBoxEditorAttribute.AutoComplete
getset

Gets or sets whether the automatic completion is enabled.

◆ DisplayMember

string OFT.Attributes.Editors.ComboBoxEditorAttribute.DisplayMember
getset

Gets or sets a member name in the bound data source whose values are displayed by the editor.

◆ IsTextEditable

bool OFT.Attributes.Editors.ComboBoxEditorAttribute.IsTextEditable
getset

Gets or sets whether end-users are allowed to edit the text displayed in the edit box.

◆ ItemsSource

object [] OFT.Attributes.Editors.ComboBoxEditorAttribute.ItemsSource
getset

Get or set data source for selection.

◆ ValueMember

string OFT.Attributes.Editors.ComboBoxEditorAttribute.ValueMember
getset

Gets or sets a member name in the bound data source, whose values are assigned to item values.


The documentation for this class was generated from the following file: