Remembering the state of a property.
-
Hello, within a plugin dll I instantiate an object as a property. The properties of this object are visible in the UI of the application that uses the plugin dll. I do not have acces to the code of the application. If I use the following code:
[IsExpanded()]
[Display(Name = "Direction")]
public FilterManager Direction { get; set; }the properties of object "Direction" are visible in the UI. If I use the following code:
[Display(Name = "Direction")]
public FilterManager Direction { get; set; }the properties ob object Direction are no visible in the UI and the user has to expand it manually first. Question: Is there a way to save the last state of object "Drection", i.e. "expended by the user" or "not expended by the user", so that next time the user opens the UI he can start to work where he stopped working last time (otherwise the user must click himself trogh many levels) ?