Imports Infragistics.Win
Imports Infragistics.Win.UltraWinEditors
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Set the spin buttons to appear on the left side of the control
Me.UltraNumericEditor1.SpinButtonAlignment = ButtonAlignment.Left
Me.UltraCurrencyEditor1.SpinButtonAlignment = ButtonAlignment.Left
' Set the spin buttons to appear when the cursor moves within the bounds of the control
Me.UltraNumericEditor1.SpinButtonDisplayStyle = ButtonDisplayStyle.OnMouseEnter
Me.UltraCurrencyEditor1.SpinButtonDisplayStyle = ButtonDisplayStyle.OnMouseEnter
' Dirty child elements of the control's main UIElement, and force an immediate repaint
Me.UltraCurrencyEditor1.UIElement.DirtyChildElements( true )
End Sub