| | |
| | | public ScenePictrueControl()
|
| | | {
|
| | | this.UseClickStatu = false;
|
| | | this.Height = Application.GetRealHeight(420);
|
| | | this.Height = Application.GetRealHeight(440);
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | |
| | | btnPic.Radius = (uint)Application.GetRealHeight(17);
|
| | | this.AddChidren(btnPic, ChidrenBindMode.NotBind);
|
| | |
|
| | | //它的上面有一层阴影
|
| | | var frameBack = new FrameLayout();
|
| | | frameBack.Width = btnPic.Width;
|
| | | frameBack.Height = btnPic.Height;
|
| | | frameBack.X = btnPic.X;
|
| | | frameBack.BackgroundColor = 0x40000000;
|
| | | frameBack.Radius = (uint)Application.GetRealHeight(17);
|
| | | this.AddChidren(frameBack, ChidrenBindMode.BindEventOnly);
|
| | | //阴影
|
| | | var btnShadow = new PicViewControl(btnPic.Width + Application.GetRealWidth(14 * 2), btnPic.Height + Application.GetRealHeight(43), false);
|
| | | btnShadow.X = btnPic.X - Application.GetRealWidth(14);
|
| | | btnShadow.UnSelectedImagePath = "Scene/SceneShadow.png";
|
| | | this.AddChidren(btnShadow, ChidrenBindMode.BindEventOnly);
|
| | |
|
| | | var btnName = new NormalViewControl(251, 282, true);
|
| | | btnName.IsMoreLines = true;
|