| | |
| | | /// <para>添加底线(如果左边有图标,则先添加图标,再添加底线)</para>
|
| | | /// <para>它的长度为:当前控件宽度-左右固定间距-左边图片宽度(如果有)-右边的偏移量</para>
|
| | | /// </summary> |
| | | public NormalViewControl AddBottomLine()
|
| | | public virtual NormalViewControl AddBottomLine()
|
| | | {
|
| | | int lineWidth = this.Width - ControlCommonResourse.XXLeft * 2 - LeftOffset - RightOffset;
|
| | | int XX = ControlCommonResourse.XXLeft + LeftOffset;
|
| | |
| | | var btnRight = new IconViewControl(58);
|
| | | btnRight.Gravity = Gravity.CenterVertical;
|
| | | btnRight.X =this.Width - btnRight.IconSize - ControlCommonResourse.XXLeft + RightOffset;
|
| | | btnRight.UnSelectedImagePath = "Item/Next.png";
|
| | | btnRight.UnSelectedImagePath = "Item/RightNext.png";
|
| | | this.AddChidren(btnRight, ChidrenBindMode.BindEventOnly);
|
| | |
|
| | | if (chidrenYaxis != 0)
|