Table of Contents

Method RestoreEditableState

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RestoreEditableState(string, PropertyGridEditableState)

Restores user-editable state.

public virtual bool RestoreEditableState(string src, PropertyGridEditableState restoreStates = PropertyGridEditableState.AllStates)

Parameters

src string

String generated by SaveEditableState(PropertyGridEditableState).

restoreStates PropertyGridEditableState

Which 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.