PowerTools InputMan for ASP.NET 8.0J
IconNotify クラス
メンバ  使用例 

IconNotifyクラスは、アイコンを表示する検証アクションを実装します。
構文
Public Class IconNotify 
   Inherits ValidateAction
public class IconNotify : ValidateAction 
使用例
次のサンプルコードでは、文字数検証コントロールにアイコン表示で検証エラーを通知する検証アクションを設定する例を示します。
Imports GrapeCity.Web.Input.IMExtenders

Dim IconAction As New IconNotify
IconAction.BlinkRate = 500
IconAction.BlinkStyle = ErrorBlinkStyle.AlwaysBlink
IconAction.IconAlignment = AlignEnum.Right
IconAction.IconPadding = 10
IconAction.IconTip = "不正な入力です"

GcValidatorAction1.GetActions(GcTextLengthValidator1).Add(IconAction)
using GrapeCity.Web.Input.IMExtenders;

IconNotify IconAction = new IconNotify();
IconAction.BlinkRate = 500;
IconAction.BlinkStyle = ErrorBlinkStyle.AlwaysBlink;
IconAction.IconAlignment = AlignEnum.Right;
IconAction.IconPadding = 10;
IconAction.IconTip = "不正な入力です";

GcValidatorAction1.GetActions(GcTextLengthValidator1).Add(IconAction);
継承階層

System.Object
   GrapeCity.Web.Input.Core.NotifyObject
      GrapeCity.Web.Input.Core.BaseViewState
         GrapeCity.Web.Input.IMExtenders.ValidateAction
            GrapeCity.Web.Input.IMExtenders.IconNotify

参照

IconNotify メンバ
GrapeCity.Web.Input.IMExtenders 名前空間

 

 


© 2005-2015 GrapeCity inc. All rights reserved.