| | |
| | | } |
| | | |
| | | /// <summary>
|
| | | /// X轴的真实偏移量(请确保已经调用InitControl初始化函数,用法:蓝湖上的X轴,减掉这个值即可)
|
| | | /// </summary> |
| | | public int XOffset
|
| | | {
|
| | | get { return (this.Width - btnIcon.Width) / 2; }
|
| | | } |
| | | |
| | | /// <summary>
|
| | | /// 做成放在画面右边的的图标控件(注意,它不能用来做【向右】的图标)
|
| | | /// </summary>
|
| | | /// <param name="i_width">控件空度</param> |
| | | /// <param name="i_height">控件高度</param> |
| | | public MostRightIconControl(int i_width, int i_height) |
| | | { |
| | | this.UseClickStatu = false; |
| | | |
| | | this.Width = Application.GetMinRealAverage(110); |
| | | this.Height = this.Parent != null ? this.Parent.Height : ControlCommonResourse.ListViewRowHeight; |
| | | this.Gravity = Gravity.CenterVertical; |