ComboBox.Current Property

ComboBoxCurrent Property

Gets or sets the current checked ComboBox member of the ComboBox.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ComboBoxMember Current { get; set; }
Public Property Current As ComboBoxMember
	Get
	Set
public:
property ComboBoxMember^ Current {
	ComboBoxMember^ get ();
	void set (ComboBoxMember^ value);
}
member Current : ComboBoxMember with get, set

Property Value

ComboBoxMember
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when trying to set this property to .
ArgumentExceptionThrown when trying to set this property to a button not in this ComboBox.
Remarks
The default value is the first ComboBox member added to the ComboBox.
See Also