This property sets or retrieves the ComboBox control displaying the "DashStyle" item of the ToolBarSetupLines control.

[Visual Basic]Public Property ComboBoxDashStyle As System.Windows.Controls.ComboBox
[C#]public System.Windows.Controls.ComboBox ComboBoxDashStyle {get; set;}

Property Value

A value of type System.Windows.Controls.ComboBox

Explanation

The ComboBoxDashStyle property sets or retrieves the ComboBox control displaying the "DashStyle" item of the ToolBarSetupLines control.

Because the "DashStyle" combobox is a ComboBox control, you can use the ComboBoxDashStyle property to change the "DashStyle" combobox settings, generate events, etc.

Please refer to the examples below.

Examples

Create the "ComboBoxDashStyle" SelectionChanged event.

[Visual Basic.NET]
     'Set the delegate for the ComboBoxDashStyle SelectionChanged event within the FormLoad event
     AddHandler ToolBarSetupLines1.ComboBoxDashStyle.SelectionChanged, AddressOf Me.ComboBoxDashStyle_SelectionChanged

     'Event handler delegate
     Private Sub ComboBoxDashStyle_SelectionChanged(sender As Object, e As SelectionChangedEventArgs)
          'Place code here that executes when this event fires
     End Sub

[Visual C#.NET]
     //Set the delegate for the ComboBoxDashStyle SelectionChanged event within the FormLoad event
      toolBarSetupLines1.ComboBoxDashStyle.SelectionChanged += ComboBoxDashStyle_SelectionChanged;

     //Event handler delegate
     private void ComboBoxDashStyle_SelectionChanged(object sender, SelectionChangedEventArgs e)
     {
          //Place code here that executes when this event fires
     }

See Also

ToolBarSetupLines Members | Newtone.ImageKit.Wpf.ToolBarSetupLines

 

The ImageKit WPF is created by Newtone Corporation