Adf.Web.Binding.BindOnPostbackAttribute.MustBindOnPostback C# (CSharp) 메소드

MustBindOnPostback() 공개 정적인 메소드

Indicates whether the specified binder must bind this attribute of a control on postback.
public static MustBindOnPostback ( IControlBinder binder ) : bool
binder IControlBinder The binder.
리턴 bool
        public static bool MustBindOnPostback(IControlBinder binder)
        {
            if (binder == null) return false;

            return (binder.GetType().GetCustomAttributes(typeof(BindOnPostbackAttribute), false).Length > 0);
        }
BindOnPostbackAttribute