add MaxSize property