private int?UserId => null; // TODO _acl.Connection.UserId private void SaveLayout() { var layoutSerializer = new XmlLayoutSerializer(DockingManager); var sb = new StringBuilder(); using var writer = new StringWriter(sb); layoutSerializer.Serialize(writer); _options.SetValue <string>("", "Layout", sb.ToString(), "", UserId); }