AjaxControlToolkit.ResizableControlExtender.EnsureValid C# (CSharp) 메소드

EnsureValid() 공개 메소드

public EnsureValid ( ) : void
리턴 void
        public override void EnsureValid()
        {
            base.EnsureValid();
            if(MaximumWidth < MinimumWidth)
                throw new ArgumentException("Maximum width must not be less than minimum width");

            if(MaximumHeight < MinimumHeight)
                throw new ArgumentException("Maximum height must not be less than minimum height");
        }