| | |
| | | /// </summary>
|
| | | private NormalViewControl btnLineTemp = null;
|
| | | /// <summary>
|
| | | /// 联动底线(值输入之后,线的颜色会变)
|
| | | /// 联动底线(光标进来之后,线的颜色会变)
|
| | | /// </summary>
|
| | | public NormalViewControl btnLine
|
| | | {
|
| | | set
|
| | | {
|
| | | this.btnLineTemp = value;
|
| | | }
|
| | | }
|
| | | /// <summary>
|
| | | /// 联动外框
|
| | | /// </summary>
|
| | | private NormalFrameLayout frameBorder = null;
|
| | | /// <summary>
|
| | | /// 联动外框(光标进来之后,外框的颜色会变)
|
| | | /// </summary>
|
| | | public NormalFrameLayout FrameBorder
|
| | | {
|
| | | set
|
| | | {
|
| | | this.frameBorder = value;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | btnLineTemp.BackgroundColor = UserCenterColor.Current.ButtomLine;
|
| | | }
|
| | | if (frameBorder != null)
|
| | | {
|
| | | frameBorder.BorderColor = 0xffcccccc;
|
| | | }
|
| | | if (m_UseFocusColor == true)
|
| | | {
|
| | | //灰色字体
|
| | |
| | | if (btnLineTemp != null)
|
| | | {
|
| | | btnLineTemp.BackgroundColor = UserCenterColor.Current.TextFrameSelectColor;
|
| | | }
|
| | | if (frameBorder != null)
|
| | | {
|
| | | frameBorder.BorderColor = UserCenterColor.Current.TextFrameSelectColor;
|
| | | }
|
| | | if (m_UseFocusColor == true)
|
| | | {
|
| | |
| | | #endregion
|
| | |
|
| | | #region ■ 一般方法___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// Y轴重置(真实数值,没有父容器无效)
|
| | | /// </summary>
|
| | | /// <param name="alignment">上下对齐方式</param>
|
| | | /// <param name="Space">上下两部分的间距</param>
|
| | | public void ReSetYaxis(UViewAlignment alignment, int Space = 0)
|
| | | {
|
| | | if (this.Parent == null)
|
| | | {
|
| | | return;
|
| | | }
|
| | | //Y轴重置
|
| | | this.Y = HdlControlLogic.Current.GetControlChidrenYaxis(this.Parent.Height, this.Height, alignment, Space);
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 计算图片的真实高宽度
|