Version

UIElement Property (UltraNumericEditorBase)

Returns the Infragistics.Win.UIElement object that embodies the representation of the control in the user interface (read-only).
Syntax
'Declaration
 
Public ReadOnly Property UIElement As UltraNumericEditorUIElement
public UltraNumericEditorUIElement UIElement {get;}
Remarks

The UIElement property returns a reference to the UIElement that represents the control itself. All the UI aspects of the control are implemented as UIElements which are children of the control's UIElement. This property is available only at runtime).

Example
This example uses the SpinButtonAlignment property to set the spin buttons to appear on the left side of the control, and uses the SpinButtonDisplayStyle property to make the buttons appear when the cursor passes over the control.

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
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinEditors;

		private void button1_Click(object sender, System.EventArgs e)
		{
			//	Set the spin buttons to appear on the left side of the control
			this.ultraNumericEditor1.SpinButtonAlignment = ButtonAlignment.Left;
			this.ultraCurrencyEditor1.SpinButtonAlignment = ButtonAlignment.Left;

			//	Set the spin buttons to appear when the cursor moves within the bounds of the control
			this.ultraNumericEditor1.SpinButtonDisplayStyle = ButtonDisplayStyle.OnMouseEnter;
			this.ultraCurrencyEditor1.SpinButtonDisplayStyle = ButtonDisplayStyle.OnMouseEnter;

			//	Dirty child elements of the control's main UIElement, and force an immediate repaint
        this.UltraCurrencyEditor1.UIElement.DirtyChildElements( true );

		}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also