Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / HtmlLiteralTextAdapter.cs / 1305376 / HtmlLiteralTextAdapter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.IO; using System.Web; using System.Web.UI; using System.Web.UI.MobileControls; using System.Drawing; using System.Security.Permissions; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource #else namespace System.Web.UI.MobileControls.Adapters #endif { /* * HtmlLiteralTextAdapter class. * * Copyright (c) 2000 Microsoft Corporation */ ///[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 HtmlLiteralTextAdapter : HtmlControlAdapter { /// protected new LiteralText Control { get { return (LiteralText)base.Control; } } // calls the more specific render methods /// public override void Render(HtmlMobileTextWriter writer) { String text = Control.PagedText; writer.EnterStyle(Style); writer.WriteText(text, true); writer.ExitStyle(Style, Control.BreakAfter); } } } // 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
- WebBaseEventKeyComparer.cs
- ReferentialConstraint.cs
- Converter.cs
- SelectorAutomationPeer.cs
- ApplicationHost.cs
- PageContentAsyncResult.cs
- ExtensibleSyndicationObject.cs
- FreezableOperations.cs
- JsonGlobals.cs
- ExpressionBuilder.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- CacheOutputQuery.cs
- Trace.cs
- DrawListViewSubItemEventArgs.cs
- SafeSecurityHelper.cs
- WindowsComboBox.cs
- SystemParameters.cs
- MsmqDecodeHelper.cs
- XmlAnyElementAttributes.cs
- SyndicationElementExtension.cs
- Int16Storage.cs
- FakeModelItemImpl.cs
- XmlBaseReader.cs
- ConfigurationLoaderException.cs
- FontClient.cs
- AudioDeviceOut.cs
- HttpDebugHandler.cs
- OleDbEnumerator.cs
- UriParserTemplates.cs
- ToolboxItemCollection.cs
- CursorInteropHelper.cs
- ComponentCache.cs
- TemplateControl.cs
- WindowsAuthenticationEventArgs.cs
- PngBitmapEncoder.cs
- ComponentConverter.cs
- EncryptedReference.cs
- LicFileLicenseProvider.cs
- ScrollItemProviderWrapper.cs
- FunctionImportElement.cs
- FontNamesConverter.cs
- DataSourceXmlElementAttribute.cs
- CapabilitiesUse.cs
- _ConnectOverlappedAsyncResult.cs
- DetailsViewRow.cs
- TabControl.cs
- ProcessHostMapPath.cs
- SecurityTokenReferenceStyle.cs
- Transform3DGroup.cs
- DataViewManagerListItemTypeDescriptor.cs
- ConditionalAttribute.cs
- SafeReadContext.cs
- DataTableCollection.cs
- ScriptRegistrationManager.cs
- LinkedList.cs
- DockPatternIdentifiers.cs
- DbParameterCollectionHelper.cs
- SHA1.cs
- StandardRuntimeEnumValidatorAttribute.cs
- _HTTPDateParse.cs
- StylusOverProperty.cs
- XmlFormatReaderGenerator.cs
- TypeBinaryExpression.cs
- RelOps.cs
- Vector3DAnimationBase.cs
- CurrencyManager.cs
- BatchParser.cs
- OdbcEnvironmentHandle.cs
- SHA512Managed.cs
- SafeCertificateContext.cs
- XmlDownloadManager.cs
- _ListenerResponseStream.cs
- ValidationResult.cs
- DataFormat.cs
- ColumnResizeAdorner.cs
- ButtonField.cs
- AffineTransform3D.cs
- HtmlElement.cs
- DesignerHost.cs
- ScopedKnownTypes.cs
- ETagAttribute.cs
- OSFeature.cs
- ReadWriteControlDesigner.cs
- CompoundFileReference.cs
- ScriptServiceAttribute.cs
- ToolStripDropDownItem.cs
- ExtendedPropertyDescriptor.cs
- EpmContentDeSerializerBase.cs
- AccessControlEntry.cs
- SchemaSetCompiler.cs
- SevenBitStream.cs
- Asn1Utilities.cs
- ArraySortHelper.cs
- ByteViewer.cs
- SqlDataSourceEnumerator.cs
- CAGDesigner.cs
- TemplateInstanceAttribute.cs
- DataBindingList.cs
- XPathSelfQuery.cs
- RangeValidator.cs