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