This property sets or retrieves the ComboBox control displaying the "BorderShape" item of the ToolBarSetupObjects control.

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

Property Value

A value of type System.Windows.Controls.ComboBox

Explanation

The ComboBoxBorderShape property sets or retrieves the ComboBox control displaying the "BorderShape" item of the ToolBarSetupObjects control.

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

Please refer to the examples below.

Examples

Access the "BorderShape" ComboBox's SelectionChanged event.

[Visual Basic.NET]
     'Set the delegate for the ComboBoxBorderShape SelectionChanged event within the FormLoad event
     AddHandler ToolBarSetupObjects1.ComboBoxBorderShape.SelectionChanged, AddressOf Me.ComboBoxBorderShape_SelectionChanged

     'Event handler delegate
     Private Sub ComboBoxBorderShape_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 ComboBoxBorderShape SelectionChanged event within the FormLoad event
     toolBarSetupObjects1.ComboBoxBorderShape.SelectionChanged += ComboBoxBorderShape_SelectionChanged;

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

See Also

ToolBarSetupObjects Members | Newtone.ImageKit.Wpf.ToolBarSetupObjects

 

The ImageKit WPF is created by Newtone Corporation