Version

CloseUp Method (UltraDateTimeEditor)

Hides the calendar portion of the control.
Syntax
'Declaration
 
Public Sub CloseUp() 
public void CloseUp()
Example
This example uses the CloseUp method to programmatically hide the dropdown calendar each time the value changes.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinEditors

    Private Sub UltraDateTimeEditor1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles UltraDateTimeEditor1.ValueChanged
        Me.UltraDateTimeEditor1.CloseUp()
    End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinEditors;

		private void ultraDateTimeEditor1_ValueChanged(object sender, System.EventArgs e)
		{
			this.ultraDateTimeEditor1.CloseUp();
		}
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