Method RestoreEditableState
RestoreEditableState(string, PropertyGridEditableState)
Restores user-editable state.
bool RestoreEditableState(string src, PropertyGridEditableState restoreStates)
Parameters
srcstringString generated by SaveEditableState(PropertyGridEditableState).
restoreStatesPropertyGridEditableStateWhich parts to restore from source string.
Returns
- bool
trueif there were no problems during reading the state,falseotherwise.
Remarks
If some parts of state (such as scrolled or splitter position) fail to restore correctly, please make sure that you call this function after PropertyGrid size has been set.