This property sets or retrieves the TextBox control displaying the "BorderColorOpacity" item on the ToolBarSetupObjects control.
[Visual Basic]Public Property
TextBoxBorderColorOpacity As System.Windows.Controls.TextBox
[C#]public System.Windows.Controls.TextBox
TextBoxBorderColorOpacity {get; set;}
Property Value
A value of type System.Windows.Controls.TextBox
Explanation
The TextBoxBorderColorOpacity property sets or retrieves the TextBox control displaying the "BorderColorOpacity" item on the ToolBarSetupObjects control.
Because the "BorderColorOpacity" textbox is a TextBox control, you can use the TextBoxEndArrowCapSize property to change the "BorderColorOpacity" settings, generate events, etc.
Please refer to the examples below.
Examples
Access the "BorderColorOpacity" Textbox's Click event.
[Visual Basic.NET]
'Set the delegate for the BorderColorOpacity Click event within the FormLoad event
AddHandler ToolBarSetupObjects1.TextBoxBorderColorOpacity.Click, AddressOf Me.TextBoxBorderColorOpacity_Click
'Event handler delegate
Private Sub TextBoxBorderColorOpacity_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 BorderColorOpacity Click event within the FormLoad event
toolBarSetupObjects1.TextBoxBorderColorOpacity.Click += new MouseEventHandler(TextBoxBorderColorOpacity_Click);
//Event handler delegate
private void TextBoxBorderColorOpacity_Click(object sender, RoutedEventArgs e)
{
//Place code here that executes when this event fires
}
'Set the delegate for the BorderColorOpacity Click event within the FormLoad event
AddHandler ToolBarSetupObjects1.TextBoxBorderColorOpacity.Click, AddressOf Me.TextBoxBorderColorOpacity_Click
'Event handler delegate
Private Sub TextBoxBorderColorOpacity_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 BorderColorOpacity Click event within the FormLoad event
toolBarSetupObjects1.TextBoxBorderColorOpacity.Click += new MouseEventHandler(TextBoxBorderColorOpacity_Click);
//Event handler delegate
private void TextBoxBorderColorOpacity_Click(object sender, RoutedEventArgs e)
{
//Place code here that executes when this event fires
}
See Also
ToolBarSetupObjects Members | Newtone.ImageKit.Wpf.ToolBarSetupObjects