Version

CalcErrorIconAlignment Enumeration

Determines if an ErrorIcon will be displayed for a control whose formula results in an error.
Syntax
'Declaration
 
Public Enum CalcErrorIconAlignment 
   Inherits System.Enum
public enum CalcErrorIconAlignment : System.Enum 
Members
MemberDescription
BottomLeftDisplay an error icon at the Bottom Left of the control.
BottomRightDisplay an error icon at the Bottom Right of the control.
DefaultDefault
MiddleLeftDisplay an error icon at the Middle Left of the control.
MiddleRightDisplay an error icon at the Middle Right of the control.
NoneDo not display an error icon.
TopLeftDisplay an error icon at the Top Left of the control.
TopRightDisplay an error icon at the Top Right of the control.
Remarks

This enumeration is used by the CalcSettings object to determine the placement of the error icon relative to a control when a calculation error occurs.

Example
Demonstrates initializing the basic properties of the UltraCalcManager

Imports Infragistics.Win.UltraWinCalcManager

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.UltraCalcManager1.CalcFrequency = CalcFrequency.Asynchronous
        Me.UltraCalcManager1.AsynchronousCalcDuration = 100
        Me.UltraCalcManager1.AsynchronousCalcInterval = 20

        Dim errorIcon As Icon = New Icon("C:\Error Icon.ico")
        Me.UltraCalcManager1.ErrorIcon = errorIcon
        Me.UltraCalcManager1.ErrorIconAlignment = CalcErrorIconAlignment.MiddleLeft
    End Sub
using Infragistics.Win.UltraWinCalcManager;

		private void Form1_Load(object sender, System.EventArgs e)
		{
			this.ultraCalcManager1.CalcFrequency = CalcFrequency.Asynchronous;
			this.ultraCalcManager1.AsynchronousCalcDuration = 100;
			this.ultraCalcManager1.AsynchronousCalcInterval = 20;

			Icon errorIcon = new Icon(@"C:\Error Icon.ico");
			this.ultraCalcManager1.ErrorIcon = errorIcon;
			this.ultraCalcManager1.ErrorIconAlignment = CalcErrorIconAlignment.MiddleLeft;
		}
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