Constants.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Constants.cs / 1305376 / Constants.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

using System.Security.Permissions; 
 
namespace System.Web.UI.MobileControls
{ 

    /// 
    [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.")]
    public enum ObjectListViewMode 
    {
        ///  
        List, 
        /// 
        Commands, 
        /// 
        Details
    };
 
    /// 
    [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.")] 
    public enum BooleanOption 
    {
        ///  
        NotSet = -1,
        /// 
        False,
        ///  
        True,
    }; 
 
    /// 
    [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.")] 
    public enum FontSize
    {
        /// 
        NotSet, 
        /// 
        Normal, 
        ///  
        Small,
        ///  
        Large
    };

    ///  
    [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.")]
    public enum Alignment 
    { 
        /// 
        NotSet, 
        /// 
        Left,
        /// 
        Center, 
        /// 
        Right 
    } 

    ///  
    [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.")]
    public enum Wrapping
    {
        ///  
        NotSet,
        ///  
        Wrap, 
        /// 
        NoWrap 
    }

    /// 
    [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.")] 
    public enum ListDecoration
    { 
        ///  
        None,
        ///  
        Bulleted,
        /// 
        Numbered
    } 

    ///  
    [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.")] 
    public enum ListSelectType
    { 
        /// 
        DropDown,
        /// 
        ListBox, 
        /// 
        Radio, 
        ///  
        MultiSelectListBox,
        ///  
        CheckBox
    }

    ///  
    [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.")]
    public enum FormMethod 
    { 
        /// 
        Get, 
        /// 
        Post,
    }
 
    /// 
    [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.")] 
    public enum CommandFormat 
    {
        ///  
        Button,
        /// 
        Link,
    } 

    ///  
    [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
    [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
    [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.")] 
    public class Constants
    {
        internal const String ErrorStyle = "error";
        ///  
        public static readonly String FormIDPrefix = "#";
        ///  
        public static readonly String UniqueFilePathSuffixVariableWithoutEqual = "__ufps"; 
        /// 
        public static readonly String UniqueFilePathSuffixVariable = UniqueFilePathSuffixVariableWithoutEqual + '='; 
        /// 
        public static readonly String PagePrefix = "__PG_";
        /// 
        public static readonly String EventSourceID = "__ET"; 
        /// 
        public static readonly String EventArgumentID = "__EA"; 
 
        /// 
        public static readonly String HeaderTemplateTag = "HeaderTemplate"; 
        /// 
        public static readonly String FooterTemplateTag = "FooterTemplate";
        /// 
        public static readonly String ItemTemplateTag = "ItemTemplate"; 
        /// 
        public static readonly String AlternatingItemTemplateTag = "AlternatingItemTemplate"; 
        ///  
        public static readonly String SeparatorTemplateTag = "SeparatorTemplate";
        ///  
        public static readonly String ContentTemplateTag = "ContentTemplate";
        /// 
        public static readonly String LabelTemplateTag = "LabelTemplate";
        ///  
        public static readonly String ItemDetailsTemplateTag = "ItemDetailsTemplate";
        ///  
        public static readonly String ScriptTemplateTag = "ScriptTemplate"; 

        ///  
        public static readonly String SymbolProtocol = "symbol:";

        /// 
        public static readonly char SelectionListSpecialCharacter = '*'; 

        ///  
        public static readonly int DefaultSessionsStateHistorySize = 6; 

        ///  
        public static readonly String OptimumPageWeightParameter = "optimumPageWeight";
        /// 
        public static readonly String ScreenCharactersHeightParameter = "screenCharactersHeight";
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK