This property sets or retrieves the ToolStripTextBox control displaying the "StartArrowCapSize" item on the ToolBarSetupLines control.
[Visual Basic]Public Property
TextBoxStartArrowCapSize As System.Windows.Controls.TextBox
[C#]public System.Windows.Controls.TextBox
TextBoxStartArrowCapSize {get; set;}
Property Value
A value of type System.Windows.Controls.TextBox
Explanation
The TextBoxStartArrowCapSize property sets or retrieves the TextBox control displaying the "StartArrowCapSize" item on the ToolBarSetupLines control.
Because the "StartArrowCapSize" textbox is a TextBox control, you can use the TextBoxStartArrowCapSize property to change the "StartArrowCapSize" settings, generate events, etc.
Please refer to the examples below.
Examples
Create the "StartArrowCapSize" Click event.
[Visual Basic.NET]
'Set the delegate for the StartArrowCapSize Click event within the FormLoad event
AddHandler ToolBarSetupLines1.TextBoxStartArrowCapSize.Click, AddressOf Me.TextBoxStartArrowCapSize_Click
'Event handler delegate
Private Sub TextBoxStartArrowCapSize_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
'Place code here that executes when this event fires
End Sub
[Visual C#.NET]
//Set the delegate for the StartArrowCapSize Click event within the FormLoad event
toolBarSetupLines1.TextBoxStartArrowCapSize.Click += new MouseEventHandler(TextBoxStartArrowCapSize_Click);
//Event handler delegate
private void TextBoxStartArrowCapSize_Click(object sender, RoutedEventArgs e)
{
//Place code here that executes when this event fires
}
'Set the delegate for the StartArrowCapSize Click event within the FormLoad event
AddHandler ToolBarSetupLines1.TextBoxStartArrowCapSize.Click, AddressOf Me.TextBoxStartArrowCapSize_Click
'Event handler delegate
Private Sub TextBoxStartArrowCapSize_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
'Place code here that executes when this event fires
End Sub
[Visual C#.NET]
//Set the delegate for the StartArrowCapSize Click event within the FormLoad event
toolBarSetupLines1.TextBoxStartArrowCapSize.Click += new MouseEventHandler(TextBoxStartArrowCapSize_Click);
//Event handler delegate
private void TextBoxStartArrowCapSize_Click(object sender, RoutedEventArgs e)
{
//Place code here that executes when this event fires
}
See Also
ToolBarSetupLines Members | Newtone.ImageKit.Wpf.ToolBarSetupLines