Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // // 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
- UnicastIPAddressInformationCollection.cs
- DataGridHeaderBorder.cs
- AccessViolationException.cs
- TemplateKeyConverter.cs
- Logging.cs
- MachineKeySection.cs
- CalendarKeyboardHelper.cs
- BaseDataList.cs
- NavigationEventArgs.cs
- IndexerNameAttribute.cs
- PixelFormat.cs
- Range.cs
- DisposableCollectionWrapper.cs
- RemotingServices.cs
- SubordinateTransaction.cs
- NextPreviousPagerField.cs
- TypeInitializationException.cs
- VisualTreeUtils.cs
- CryptoConfig.cs
- Invariant.cs
- CallbackValidatorAttribute.cs
- BoolExpression.cs
- SqlDesignerDataSourceView.cs
- State.cs
- XsltLoader.cs
- login.cs
- DataGridViewCellStyleChangedEventArgs.cs
- AssemblyBuilder.cs
- CharEnumerator.cs
- EditorAttribute.cs
- TrustLevelCollection.cs
- FilteredDataSetHelper.cs
- AttributeProviderAttribute.cs
- DebugController.cs
- TextContainerChangeEventArgs.cs
- ProcessHostMapPath.cs
- ResXDataNode.cs
- OrderedDictionary.cs
- SafeRightsManagementPubHandle.cs
- SessionParameter.cs
- StreamGeometry.cs
- SizeF.cs
- StringSorter.cs
- SqlCacheDependencyDatabase.cs
- DbConnectionHelper.cs
- CallContext.cs
- Transform3D.cs
- Operand.cs
- DefaultObjectMappingItemCollection.cs
- AnimationClock.cs
- ListArgumentProvider.cs
- XmlDataProvider.cs
- CompleteWizardStep.cs
- TextParentUndoUnit.cs
- FloaterBaseParagraph.cs
- WmpBitmapEncoder.cs
- DataGridViewButtonCell.cs
- HttpWriter.cs
- VolatileResourceManager.cs
- DataGridViewColumnHeaderCell.cs
- InkCanvasInnerCanvas.cs
- CellConstant.cs
- GacUtil.cs
- MetadataArtifactLoaderFile.cs
- ReferenceConverter.cs
- RsaSecurityToken.cs
- AspNetHostingPermission.cs
- GridView.cs
- SharedTcpTransportManager.cs
- RtfControls.cs
- SchemaMapping.cs
- StructuralObject.cs
- ApplicationBuildProvider.cs
- ErrorHandler.cs
- NetNamedPipeBindingCollectionElement.cs
- LocalIdCollection.cs
- QueryCacheManager.cs
- WebPartTransformerCollection.cs
- FormParameter.cs
- DebugViewWriter.cs
- TableHeaderCell.cs
- _ShellExpression.cs
- ScriptingRoleServiceSection.cs
- SmiTypedGetterSetter.cs
- HttpSessionStateWrapper.cs
- autovalidator.cs
- Font.cs
- ObjectCacheHost.cs
- ThemeableAttribute.cs
- UnsafeMethods.cs
- NativeObjectSecurity.cs
- OptionalColumn.cs
- RequestValidator.cs
- TextTreeTextNode.cs
- AnimationStorage.cs
- DataRecordObjectView.cs
- Token.cs
- StrongNameMembershipCondition.cs
- FrameworkPropertyMetadata.cs
- AspNetSynchronizationContext.cs