Returns the RebarBand that corresponds to a specified menu item.
The RebarBand that corresponds to a specified menu item, or a null reference (Nothing in Visual Basic) if the menu item does not correspond to a specific band.
Before the ToggleMenuPopup event is raised, a menu is created containing an item for each band in the rebar. Clicking on these buttons will toggle whether the band is visible. Use this method to determine which band corresponds to a specific item in the menu.
ToggleMenuEventArgs Class | Skybound.Rebar Namespace