黄学彪
2019-11-25 160785587667cc0d927f85e44c139ec9dde13a9e
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalListControl.cs
@@ -31,7 +31,7 @@
            get
            {
                int count = base.ChildrenCount;
                if (frameBackTemp != null)
                if (frameBackTemp != null && frameBackTemp.Parent != null)
                {
                    count--;
                }
@@ -49,7 +49,7 @@
        /// <param name="i_rowSpace">行之间的间距(这个值是与行控件绑定一起使用的)</param>
        public VerticalListControl(int i_rowSpace = 0)
        {
            rowSpace = Application.GetRealHeight(i_rowSpace);
            this.rowSpace = Application.GetRealHeight(i_rowSpace);
        }
        #endregion
@@ -97,7 +97,7 @@
        /// <param name="addSpace">当真实高度超过原有高度时,是否添加空白</param>
        public void AdjustRealHeight(int bottomSpace, bool addSpace = true)
        {
            int count = frameBackTemp == null ? this.ChildrenCount : this.ChildrenCount - 1;
            int count = this.ChildrenCount;
            if (count <= 0)
            {
                frameBackTemp?.RemoveFromParent();