This property sets or retrieves the ToolStripTextBox control displaying the "BorderColorOpacity" item on the ToolBarSetupObjects control.
Property Value
A value of type System.Windows.Forms.ToolStripTextBox
Explanation
The TextBoxBorderColorOpacity property sets or retrieves the ToolStripTextBox control displaying the "BorderColorOpacity" item on the ToolBarSetupObjects control.
Because the "BorderColorOpacity" textbox is a ToolStripTextBox control, you can use the TextBoxEndArrowCapSize property to change the "BorderColorOpacity" settings, generate events, etc.
Please refer to the coding examples below.
Examples
(1) To change the background color displayed in the "BorderColorOpacity" textbox:
ToolBarSetupObjects1.TextBoxBorderColorOpacity.BackColor = Color.FromArgb(255, 255, 192)
[Visual C#.NET]
toolBarSetUpObjects1.TextBoxBorderColorOpacity.BackColor=Color.FromArgb(255, 255, 192);
(2) Access the "BorderColorOpacity" textbox's Click event.
'In the FormLoad event, set the TextBoxBorderColorOpacity click event handler
AddHandler ToolBarSetupObjects1.TextBoxBorderColorOpacity.Click, AddressOf TextBoxBorderColorOpacity_Click
'event
Private Sub TextBoxBorderColorOpacity_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
'Write code here that you want to execute when the event fires
End Sub
[Visual C#.NET]
//In the FormLoad event, set the TextBoxBorderColorOpacity click event handler
toolBarSetUpObjects1.TextBoxBorderColorOpacity.Click += new EventHandler(TextBoxBorderColorOpacity_Click);
//event
private void TextBoxBorderColorOpacity_Click(object sender, EventArgs e)
{
//Write code here that you want to execute when the event fires
}
See Also
ToolBarSetupObjects Members | Newtone.ImageKit.Win.ToolBarSetupObjects