This document is archived and information here might be outdated. Recommended version. |
Indicates if the editor supports textbox editing of the descriptor value for the current attribute edit context.
[Visual Basic .NET] Public ReadOnly Property ContextSupportsEditDescriptors As Boolean
[C#] public bool ContextSupportsEditDescriptors {get;}
The Descriptor text is the single line of text in the Evaluators dialog that appears under the Value column. This text provides to the ArcCatalog user an abbreviated "one-liner" description of the current state of this evaluator.
The ContextSupportsEditDescriptors property indicates whether this Descriptor text can be directly edited in the dialog by the user. Note that this property is independent of allowing the ArcCatalog user to make a choice from the EvaluatorEditor's ValueChoices.
The table below demonstrates the effect of the state of the Descriptor text in the Evaluators dialog when combining the setting for the ContextSupportsEditDescriptors property with the presence of ValueChoice items:
. | ValueChoiceCount=0 | ValueChoiceCount > 0 |
----------------------------------------+------------------------+------------------------+
ContextSupportsEditDescriptors=False | Descriptor text | Descriptor editable |
| appears read-only | using a dropdown list |
----------------------------------------+------------------------+------------------------+
ContextSupportsEditDescriptors=True | Descriptor editable | Descriptor editable |
| in a text edit box | using a combo box |