Method SelectProperty
SelectProperty(IPropertyGridItem, bool)
Selects a property.
public virtual bool SelectProperty(IPropertyGridItem prop, bool focus = false)
Parameters
prop
IPropertyGridItemProperty item.
focus
boolIf
true
, move keyboard focus to the created editor right away.
Returns
- bool
true
if selection finished successfully. Usually only fails if current value in editor is not valid.
Remarks
Editor widget is automatically created, but not focused unless focus is true.