ToolbarFileCollection

ReferencesSince v5.0
Represents a collection of Rhino toolbars, or .RUI, files.

Properties

Count

#Since v5.0
public int Count { get; }
Get tne number of open toolbar files.

MruSidebarIsVisible

#Since v5.0
public static bool MruSidebarIsVisible { get; set; }
Returns true if the most-recently-used sizebar is visible.

SidebarIsVisible

#Since v5.0
public static bool SidebarIsVisible { get; set; }
Returns true if the sizebar is visible.

Indexers

this[]

#Since v5.0
public ToolbarFile this[int index] { get; }
Gets an open toolbar file by index.
index (int)The index of the toolar file.
The toolbar if successful, null otherwise.

Methods

FindByName

#Since v5.0
public ToolbarFile FindByName(string name, bool ignoreCase)
Gets an open toolbar file by name, or alias.
name (string)The name, or alias, of the toolbar file.
ignoreCase (bool)true to ignore case during the comparison; otherwise, false.
The toolbar if successful, null otherwise.

FindByPath

#Since v5.0
public ToolbarFile FindByPath(string path)
Gets an open toolbar by full path.
path (string)The full path to the toolbar file.
The toolbar if successful, null otherwise.

GetEnumerator

#Since v5.0
public IEnumerator<ToolbarFile> GetEnumerator()
Gets a toolbar file enumerator.
The enumerator.

Open

#Since v5.0
public ToolbarFile Open(string path)
Opens a toolbar file.
path (string)The full path to the toolbar file.
The toolbar if successful, null otherwise.
Explicit

IEnumerable.GetEnumerator

#
IEnumerator IEnumerable.GetEnumerator()