示例#1
0
 /// <summary>
 /// Creates a collection of tabs to be used as a <seealso cref="TabBar"/>
 /// </summary>
 /// <param name="parentsEditorUtils">The <see cref="EditorUtils"/> object of the parent editor this TabsSet belongs to</param>
 /// <param name="tabs">A number of tabs that belongs to this set</param>
 /// <param name="defaultTab">The default tab to be selected</param>
 public TabSet(EditorUtils parentsEditorUtils, Tab[] tabs, Tab defaultTab) : this(parentsEditorUtils, tabs, (new List <Tab> (tabs).IndexOf(defaultTab)))
 {
 }
示例#2
0
 /// <summary>
 /// Creates a collection of tabs to be used as a <seealso cref="TabBar"/>
 /// </summary>
 /// <param name="parentsEditorUtils">The <see cref="EditorUtils"/> object of the parent editor this TabsSet belongs to</param>
 /// <param name="tabs">A number of tabs that belongs to this set</param>
 public TabSet(EditorUtils parentsEditorUtils, Tab[] tabs) : this(parentsEditorUtils, tabs, 0)
 {
 }