Skybound Rebar

Rebar.LockBandsText Property

Gets or sets the text displayed on the menu item in the toggle menu that locks the toolbars.

[Visual Basic]
Public Property LockBandsText As String
[C#]
public string LockBandsText {get; set;}

Property Value

The text displayed on the menu item in the toggle menu that locks the toolbars. The default value is an empty string ("").

Remarks

When a Rebar control is right-clicked at runtime, the toggle menu is displayed. If this property to set to a string other than an empty string (""), a separator bar and a menu item is displayed at the bottom of the menu that, when clicked, causes all bands on the Rebar to be locked or unlocked.

You can further customize the toggle menu by handling the ToggleMenuPopup event.

Note to Translators: This property is marked with the LocalizableAttribute. When the Localizable designer property on a form is set to true, the value of this property is persisted in the resource file associated with each culture. You can localize these resource files without modifying the code.

See Also

Rebar Class | Skybound.Rebar Namespace