アイコンの表示はコンテキストによって異なります。フォーム上の Control は、ErrorProvider の一部としてアイコンを表示します。NamedReference はアイコンを表示しません。UltraWinGrid はアイコンを表示しません。
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; }