/// <summary> /// Generates a <see cref="TreeView" /> instance corresponding to the settings specified in <paramref name="tvOptions" />. /// </summary> /// <param name="tvOptions">The treeview options.</param> /// <returns>An instance of <see cref="TreeView" />.</returns> public static TreeView GetAlbumsAsTreeView(TreeViewOptions tvOptions) { AlbumTreeViewBuilder tvBuilder = new AlbumTreeViewBuilder(tvOptions); return tvBuilder.Generate(); }