Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / XhtmlAdapters / Constants.cs / 1305376 / Constants.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
using System.Globalization;
using System.Web;
using System.Collections;
using System.Collections.Specialized;
using System.Web.UI;
using System.IO;
using System.Web.Mobile;
using System.Web.UI.MobileControls;
using System.Web.UI.MobileControls.Adapters;
#if COMPILING_FOR_SHIPPED_SOURCE
namespace System.Web.UI.MobileControls.ShippedAdapterSource.XhtmlAdapters
#else
namespace System.Web.UI.MobileControls.Adapters.XhtmlAdapters
#endif
{
///
[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 Doctype {
///
NotSet,
///
XhtmlBasic,
///
XhtmlMobileProfile,
///
Wml20
}
[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.")]
internal static class XhtmlConstants {
internal static readonly string CssQueryStringName = "_css";
internal static readonly string CacheStyleSheetValue = "application";
internal static readonly string CssSessionKey = CssQueryStringName;
internal static readonly string CssStateLocationAppSettingKey = "XhtmlCssState";
internal static readonly string CssMappedFileName = "xhtmlCss.axd";
internal static readonly StyleFilter Format = StyleFilter.None | StyleFilter.Italic | StyleFilter.Bold | StyleFilter.FontName | StyleFilter.FontSize | StyleFilter.BackgroundColor | StyleFilter.ForegroundColor;
internal static readonly StyleFilter Layout= StyleFilter.Wrapping | StyleFilter.Alignment;
internal static readonly StyleFilter All= XhtmlConstants.Format | XhtmlConstants.Layout;
internal static readonly string SessionKeyPrefix = "_s";
internal static readonly string PostedFromOtherFile = ".";
internal static Style DefaultStyle = new Style ();
internal static XhtmlStyleClass DefaultStyleClass = new XhtmlStyleClass(DefaultStyle, XhtmlConstants.All);
// Capabilities
internal static readonly string RequiresXhtmlCssSuppression = "requiresXhtmlCssSuppression";
internal static readonly string RequiresNewLineSuppression = "requiresNewLineSuppression";
internal static readonly string BreaksOnBlockElements = "breaksOnBlockElements";
internal static readonly string BreaksOnInlineElements = "breaksOnInlineElements";
internal static readonly string RequiresOnEnterForward = "requiresOnEnterForwardForCheckboxLists";
internal static readonly string SupportsBodyClassAttribute = "supportsBodyClassAttribute";
internal static readonly string SupportsUrlAttributeEncoding = "supportsUrlAttributeEncoding";
internal static readonly string InternalStyleConfigSetting = "supportsStyleElement";
internal static readonly string SupportsNoWrapStyle = "supportsNoWrapStyle";
// Custom attributes
internal static readonly string CssClassCustomAttribute = "cssclass";
internal static readonly string StyleSheetLocationCustomAttribute = "CssLocation";
internal static readonly string CssPagerClassCustomAttribute = "cssPagerClass";
internal static readonly string CssLabelClassCustomAttribute = "cssLabelClass";
internal static readonly string CssCommandClassCustomAttribute = "cssCommandClass";
internal static readonly string AccessKeyCustomAttribute = "accesskey";
internal static readonly string PagerNextAccessKeyCustomAttribute = "PagerNextAccessKey";
internal static readonly string PagerPreviousAccessKeyCustomAttribute = "PagerPrevAccessKey";
internal static readonly string TitleCustomAttribute = "title";
}
///
[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 StyleSheetLocation {
///
NotSet,
///
ApplicationCache,
///
SessionState,
///
PhysicalFile,
///
Internal,
///
None // currently not used
}
[Flags]
[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.")]
internal enum StyleFilter : int /* 32 bits */ {
None = 0x00000000,
Italic = 0x00000001,
Bold = 0x00000002,
FontName = 0x00000004,
FontSize = 0x00000008,
BackgroundColor = 0x00000010,
ForegroundColor = 0x00000020,
Wrapping = 0x00000040,
Alignment = 0x00000080
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System;
using System.Globalization;
using System.Web;
using System.Collections;
using System.Collections.Specialized;
using System.Web.UI;
using System.IO;
using System.Web.Mobile;
using System.Web.UI.MobileControls;
using System.Web.UI.MobileControls.Adapters;
#if COMPILING_FOR_SHIPPED_SOURCE
namespace System.Web.UI.MobileControls.ShippedAdapterSource.XhtmlAdapters
#else
namespace System.Web.UI.MobileControls.Adapters.XhtmlAdapters
#endif
{
///
[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 Doctype {
///
NotSet,
///
XhtmlBasic,
///
XhtmlMobileProfile,
///
Wml20
}
[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.")]
internal static class XhtmlConstants {
internal static readonly string CssQueryStringName = "_css";
internal static readonly string CacheStyleSheetValue = "application";
internal static readonly string CssSessionKey = CssQueryStringName;
internal static readonly string CssStateLocationAppSettingKey = "XhtmlCssState";
internal static readonly string CssMappedFileName = "xhtmlCss.axd";
internal static readonly StyleFilter Format = StyleFilter.None | StyleFilter.Italic | StyleFilter.Bold | StyleFilter.FontName | StyleFilter.FontSize | StyleFilter.BackgroundColor | StyleFilter.ForegroundColor;
internal static readonly StyleFilter Layout= StyleFilter.Wrapping | StyleFilter.Alignment;
internal static readonly StyleFilter All= XhtmlConstants.Format | XhtmlConstants.Layout;
internal static readonly string SessionKeyPrefix = "_s";
internal static readonly string PostedFromOtherFile = ".";
internal static Style DefaultStyle = new Style ();
internal static XhtmlStyleClass DefaultStyleClass = new XhtmlStyleClass(DefaultStyle, XhtmlConstants.All);
// Capabilities
internal static readonly string RequiresXhtmlCssSuppression = "requiresXhtmlCssSuppression";
internal static readonly string RequiresNewLineSuppression = "requiresNewLineSuppression";
internal static readonly string BreaksOnBlockElements = "breaksOnBlockElements";
internal static readonly string BreaksOnInlineElements = "breaksOnInlineElements";
internal static readonly string RequiresOnEnterForward = "requiresOnEnterForwardForCheckboxLists";
internal static readonly string SupportsBodyClassAttribute = "supportsBodyClassAttribute";
internal static readonly string SupportsUrlAttributeEncoding = "supportsUrlAttributeEncoding";
internal static readonly string InternalStyleConfigSetting = "supportsStyleElement";
internal static readonly string SupportsNoWrapStyle = "supportsNoWrapStyle";
// Custom attributes
internal static readonly string CssClassCustomAttribute = "cssclass";
internal static readonly string StyleSheetLocationCustomAttribute = "CssLocation";
internal static readonly string CssPagerClassCustomAttribute = "cssPagerClass";
internal static readonly string CssLabelClassCustomAttribute = "cssLabelClass";
internal static readonly string CssCommandClassCustomAttribute = "cssCommandClass";
internal static readonly string AccessKeyCustomAttribute = "accesskey";
internal static readonly string PagerNextAccessKeyCustomAttribute = "PagerNextAccessKey";
internal static readonly string PagerPreviousAccessKeyCustomAttribute = "PagerPrevAccessKey";
internal static readonly string TitleCustomAttribute = "title";
}
///
[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 StyleSheetLocation {
///
NotSet,
///
ApplicationCache,
///
SessionState,
///
PhysicalFile,
///
Internal,
///
None // currently not used
}
[Flags]
[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.")]
internal enum StyleFilter : int /* 32 bits */ {
None = 0x00000000,
Italic = 0x00000001,
Bold = 0x00000002,
FontName = 0x00000004,
FontSize = 0x00000008,
BackgroundColor = 0x00000010,
ForegroundColor = 0x00000020,
Wrapping = 0x00000040,
Alignment = 0x00000080
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputScopeAttribute.cs
- DynamicDataRouteHandler.cs
- BitmapSource.cs
- InputLanguageCollection.cs
- Classification.cs
- FontStyleConverter.cs
- WeakReference.cs
- EntityDataSourceEntityTypeFilterItem.cs
- TableAdapterManagerHelper.cs
- EntityClientCacheEntry.cs
- IPipelineRuntime.cs
- Freezable.cs
- SqlConnectionPoolProviderInfo.cs
- TheQuery.cs
- TextBoxBase.cs
- ActionItem.cs
- StylusPointDescription.cs
- HtmlElementErrorEventArgs.cs
- UpnEndpointIdentityExtension.cs
- RenderData.cs
- MemoryFailPoint.cs
- ControlBindingsConverter.cs
- SmtpMail.cs
- ReferencedAssemblyResolver.cs
- SQLSingle.cs
- CellTreeNode.cs
- MenuRenderer.cs
- XPathArrayIterator.cs
- IsolatedStoragePermission.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- WebPartConnectVerb.cs
- ModelUIElement3D.cs
- ColorAnimationBase.cs
- WebBrowserDesigner.cs
- Soap12ServerProtocol.cs
- LayoutDump.cs
- UserControlParser.cs
- Application.cs
- MediaPlayerState.cs
- HttpCacheVary.cs
- ButtonChrome.cs
- ReplyChannelBinder.cs
- EntityProxyTypeInfo.cs
- PointKeyFrameCollection.cs
- Object.cs
- SafeSystemMetrics.cs
- DataBindingHandlerAttribute.cs
- RenderOptions.cs
- Connector.cs
- ContractBase.cs
- DataSourceXmlSerializationAttribute.cs
- ValidationErrorCollection.cs
- SelectionWordBreaker.cs
- PipeStream.cs
- AttachedPropertiesService.cs
- coordinatorfactory.cs
- EventLogTraceListener.cs
- DataGridViewRowsAddedEventArgs.cs
- BufferedConnection.cs
- HttpStaticObjectsCollectionWrapper.cs
- XsdValidatingReader.cs
- DescriptionAttribute.cs
- TransformerTypeCollection.cs
- PointConverter.cs
- BeginStoryboard.cs
- CanonicalFontFamilyReference.cs
- SafeMemoryMappedFileHandle.cs
- HandleRef.cs
- TreeViewCancelEvent.cs
- ResourceContainer.cs
- SingleBodyParameterMessageFormatter.cs
- TextElement.cs
- PeerToPeerException.cs
- WindowsIdentity.cs
- XsdBuilder.cs
- XsltOutput.cs
- SimpleTypeResolver.cs
- COMException.cs
- RepeatBehavior.cs
- SingleKeyFrameCollection.cs
- SqlBooleanMismatchVisitor.cs
- BamlWriter.cs
- OleDbConnection.cs
- FormViewPagerRow.cs
- CookielessData.cs
- CompressionTransform.cs
- ObjectListCommandCollection.cs
- FormViewUpdatedEventArgs.cs
- RichListBox.cs
- ClientSettingsStore.cs
- EntityDataSourceDesigner.cs
- LocalizableAttribute.cs
- DataView.cs
- InternalControlCollection.cs
- DetailsViewInsertEventArgs.cs
- FixedPageStructure.cs
- WinInet.cs
- WindowsListViewGroup.cs
- DataContractJsonSerializer.cs
- ListViewItem.cs