Method RestoreEditableState
RestoreEditableState(string, PropertyGridEditableState)
Restores user-editable state.
bool RestoreEditableState(string src, PropertyGridEditableState restoreStates = PropertyGridEditableState.AllStates)
Parameters
src
stringString generated by SaveEditableState(PropertyGridEditableState).
restoreStates
PropertyGridEditableStateWhich parts to restore from source string.
Returns
- bool
true
if there were no problems during reading the state,false
otherwise.
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.