'Declaration Public Enum CalcErrorIconAlignment Inherits System.Enum
public enum CalcErrorIconAlignment : System.Enum
Member | Description |
---|---|
BottomLeft | Display an error icon at the Bottom Left of the control. |
BottomRight | Display an error icon at the Bottom Right of the control. |
Default | Default |
MiddleLeft | Display an error icon at the Middle Left of the control. |
MiddleRight | Display an error icon at the Middle Right of the control. |
None | Do not display an error icon. |
TopLeft | Display an error icon at the Top Left of the control. |
TopRight | Display an error icon at the Top Right of the control. |
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.
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; }
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