old mode 100644
new mode 100755
| | |
| | | public VerticalListRefreshControl(int i_rowSpace = 0)
|
| | | {
|
| | | this.rowSpace = Application.GetRealHeight(i_rowSpace);
|
| | | this.VerticalScrollBarEnabled = false; |
| | | this.VerticalScrollBarEnabled = false;
|
| | | #if iOS
|
| | | //自动偏移取消 |
| | | if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0)) |
| | | { |
| | | (this.uiView as UIKit.UIScrollView).ContentInsetAdjustmentBehavior = UIKit.UIScrollViewContentInsetAdjustmentBehavior.Never; |
| | | } |
| | | //自动偏移取消
|
| | | if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0))
|
| | | {
|
| | | (this.uiView as UIKit.UIScrollView).ContentInsetAdjustmentBehavior = UIKit.UIScrollViewContentInsetAdjustmentBehavior.Never;
|
| | | }
|
| | | #endif
|
| | | }
|
| | |
|
| | |
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 一般方法___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 控件移除
|
| | | /// </summary>
|
| | | public override void RemoveFromParent()
|
| | | {
|
| | | if (this.Parent != null)
|
| | | {
|
| | | base.RemoveFromParent();
|
| | | }
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// ☆☆移除全部控件☆☆
|
| | | /// </summary>
|
| | | public override void RemoveAll()
|
| | | {
|
| | | if (this.Parent != null)
|
| | | {
|
| | | base.RemoveAll();
|
| | | }
|
| | | }
|
| | |
|
| | | #endregion
|
| | | }
|
| | | }
|