1 //------------------------------------------------------------------------------
2 // <copyright file="Constants.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //------------------------------------------------------------------------------
6 
7 using System.Globalization;
8 
9 namespace System.Web.UI.Design.MobileControls
10 {
11     [
12         System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand,
13         Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)
14     ]
15     [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
16     internal class Constants : System.Web.UI.MobileControls.Constants
17     {
18         // You don't want to instantiate this class.
Constants()19         private Constants()
20         {
21         }
22 
Constants()23         static Constants()
24         {
25             ControlSizeAtToplevelInNonErrorMode = ControlMaxsizeAtToplevel.ToString(CultureInfo.InvariantCulture) + "px";
26         }
27 
28         internal static readonly int ControlMaxsizeAtToplevel               = 297;
29         internal static readonly String ControlSizeAtToplevelInNonErrorMode;
30         internal static readonly String ControlSizeAtToplevelInErrormode    = "300px";
31         internal static readonly String ControlSizeInContainer              = "100%";
32 
33         internal static readonly String ReflectPropertyDescriptorTypeFullName =
34             "System.ComponentModel.ReflectPropertyDescriptor";
35     }
36 }
37