As a consequence, methods operating on the UI for a property, and taking the name of this property,
are tolerant against properties which do not exist. For instance, if a property handler tries to
disable the UI for property Foo, but another handler has superseded this property, then
the ObjectInspector will not have any UI for it. In this case, the call to
enablePropertyUI( "Foo" ) will simply be ignored.
enables or disables the single elements which can be part of the UI representation of a property
Note that the complete UI for the property must be enabled in order for these settings to
be evaluated. That is, enablePropertyUIElements does not have any effect if
somebody previously disabled the complete UI for this property with enablePropertyUI.
Parameter PropertyName
the name of the property whose user interface elements are to be enabled or disabled
Parameter Elements
a combination of PropertyLineElement flags specifying which elements are to be
enabled or disabled.
Note that if you don't set a particular bit here (say, PropertyLineElement::PrimaryButton),
this does mean that this element's state is not affected by the call - it does
not mean that it is disabled.
Parameter Enable
true if the elements denoted by _nElements should be enabled, false if
they should be disabled.
completely rebuilds the UI for the given property.
This method might be used by an XPropertyHandler if it wants to change the type
of control (see PropertyControlType) used to display a certain property.
The object inspector will then call describePropertyLine again, and update its UI accordingly.
Note that the property whose UI should be rebuilt must not necessarily be (though usually is)
in the responsibility of the handler which calls this method. The object inspector will look up the
handler with the responsibility for PropertyName and call its
XPropertyHandler::describePropertyLine
Parameter PropertyName
the name of the property whose UI is to be completely rebuilt.