btn.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height * 0.046f);
btn.TextColor = new Color(0, 0, 0, 1);\r
btn.ImageShadow = new ImageShadow\r
- {\r
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
- Border = new Rectangle(5, 5, 5, 5)\r
- };\r
+ (\r
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+ new Rectangle(5, 5, 5, 5)\r
+ );\r
btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";\r
btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
btn.FocusGained += (obj, e) =>\r
btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);\r
btn.TextColor = new Color(0, 0, 0, 1);\r
btn.ImageShadow = new ImageShadow
- {\r
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
- Border = new Rectangle(5, 5, 5, 5)\r
- };\r
+ (\r
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+ new Rectangle(5, 5, 5, 5)\r
+ );\r
btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";
btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
btn.ParentOrigin = Position.ParentOriginTopLeft;\r
btn.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height * 0.046f);
btn.TextColor = new Color(0, 0, 0, 1);
btn.ImageShadow = new ImageShadow
- {
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
- Border = new Rectangle(5, 5, 5, 5)
- };
+ (
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+ new Rectangle(5, 5, 5, 5)
+ );
btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";
btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);
btn.FocusGained += (obj, e) =>
btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);
btn.TextColor = new Color(0, 0, 0, 1);
btn.ImageShadow = new ImageShadow
- {
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
- Border = new Rectangle(5, 5, 5, 5)
- };
+ (
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+ new Rectangle(5, 5, 5, 5)
+ );
btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";
btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);
btn.ParentOrigin = Position.ParentOriginTopLeft;
btn.Size = new Size(Window.Instance.Size.Width * 0.4f, Window.Instance.Size.Height * 0.046f);
btn.Style.Text.TextColor = new Color(0, 0, 0, 1);
btn.Style.ImageShadow = new ImageShadow
- {
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
- Border = new Rectangle(5, 5, 5, 5)
- };
+ (
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+ new Rectangle(5, 5, 5, 5)
+ );
btn.Style.BackgroundImage = new Selector<string>
{
Focused = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_point_btn_normal.png",
btn.Size = new Size(Window.Instance.Size.Width * 0.06f, Window.Instance.Size.Height * 0.046f);
btn.Style.Text.TextColor = new Color(0, 0, 0, 1);
btn.Style.ImageShadow = new ImageShadow
- {
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
- Border = new Rectangle(5, 5, 5, 5)
- };
+ (
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+ new Rectangle(5, 5, 5, 5)
+ );
btn.Style.BackgroundImage = new Selector<string>
{
Focused = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_point_btn_normal.png",
btn.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height * 0.046f);\r
btn.TextColor = new Color(0, 0, 0, 1);\r
btn.ImageShadow = new ImageShadow\r
- {\r
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
- Border = new Rectangle(5, 5, 5, 5)\r
- };\r
+ (\r
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+ new Rectangle(5, 5, 5, 5)\r
+ );\r
btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";\r
btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
btn.FocusGained += (obj, e) =>\r
btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);\r
btn.TextColor = new Color(0, 0, 0, 1);\r
btn.ImageShadow = new ImageShadow\r
- {\r
- Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
- Border = new Rectangle(5, 5, 5, 5)\r
- };\r
+ (\r
+ Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+ new Rectangle(5, 5, 5, 5)\r
+ );\r
btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";\r
btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
btn.ParentOrigin = Position.ParentOriginTopLeft;\r