GrapeCity.Win.MultiRow Namespace : ValidateActionContext Class |
Public Class ValidateActionContext Inherits ValidateContext
Dim instance As ValidateActionContext
public class ValidateActionContext : ValidateContext
class MyIconNotifyAction : IconNotify { protected override void DoAction(ValidateActionContext context) { base.DoAction(context); //When the error icon pops up, a system sound plays at the same time. if (!context.IsValid) { System.Media.SystemSounds.Asterisk.Play(); } } }
Private Class MyIconNotifyAction Inherits IconNotify Protected Overloads Overrides Sub DoAction(ByVal context As ValidateActionContext) MyBase.DoAction(context) 'When the error icon pops up, a system sound plays at the same time. If Not context.IsValid Then System.Media.SystemSounds.Asterisk.Play() End If End Sub
System.Object
GrapeCity.Win.MultiRow.ValidateContext
GrapeCity.Win.MultiRow.ValidateActionContext
Target Platforms: 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