Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

VisualElement.viewDataKey

public string viewDataKey;

Description

Used for view data persistence (ie. tree expanded states, scroll position, zoom level).

This is the key used to save/load the view data from the view data store. Not setting this key will disable persistence for this VisualElement.

Did you find this page useful? Please give it a rating: