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
- SymbolType.cs
- LayoutDump.cs
- DataGridCaption.cs
- XmlSchemaComplexType.cs
- Vector3D.cs
- IIS7UserPrincipal.cs
- DynamicResourceExtension.cs
- documentsequencetextpointer.cs
- ReferentialConstraint.cs
- ZipIOCentralDirectoryBlock.cs
- CursorConverter.cs
- SrgsElementFactory.cs
- MailHeaderInfo.cs
- SqlCommandSet.cs
- DropShadowBitmapEffect.cs
- X509ChainElement.cs
- SqlReorderer.cs
- ApplicationHost.cs
- SqlConnectionString.cs
- SelectionEditingBehavior.cs
- TdsRecordBufferSetter.cs
- ManualResetEvent.cs
- SymbolType.cs
- ClassDataContract.cs
- EntityDataSourceWrapper.cs
- ScriptReferenceEventArgs.cs
- BindingNavigator.cs
- ProxyElement.cs
- DataGridPagerStyle.cs
- VisualBrush.cs
- FrameworkElement.cs
- ZipPackagePart.cs
- ConditionBrowserDialog.cs
- DropShadowEffect.cs
- XPathDocumentNavigator.cs
- EmptyElement.cs
- ControlCollection.cs
- XmlObjectSerializer.cs
- XmlText.cs
- TableRow.cs
- HashCodeCombiner.cs
- IConvertible.cs
- SubtreeProcessor.cs
- PackageStore.cs
- KerberosSecurityTokenParameters.cs
- ConditionalAttribute.cs
- CategoriesDocument.cs
- X509UI.cs
- Translator.cs
- SingleTagSectionHandler.cs
- AssociationSetMetadata.cs
- Paragraph.cs
- PrintPreviewGraphics.cs
- DataKey.cs
- ApplicationSecurityManager.cs
- ControlParameter.cs
- StrongNameMembershipCondition.cs
- MultiDataTrigger.cs
- DoubleLinkListEnumerator.cs
- CheckBoxList.cs
- AsymmetricAlgorithm.cs
- TypeConverterBase.cs
- Registry.cs
- Ops.cs
- SafeNativeMethodsMilCoreApi.cs
- Win32PrintDialog.cs
- Panel.cs
- RemoteArgument.cs
- ExceptionHandlers.cs
- TreeNodeMouseHoverEvent.cs
- EventProviderWriter.cs
- SecurityDescriptor.cs
- ScrollBar.cs
- InstancePersistenceContext.cs
- ContainerParaClient.cs
- KeySpline.cs
- CodeIdentifier.cs
- WebPartCatalogCloseVerb.cs
- NamedPipeConnectionPoolSettings.cs
- ObjectViewListener.cs
- ScriptingRoleServiceSection.cs
- FontCacheLogic.cs
- SafeMemoryMappedFileHandle.cs
- PropertyMapper.cs
- SinglePageViewer.cs
- SpellerHighlightLayer.cs
- SiteIdentityPermission.cs
- BlobPersonalizationState.cs
- CollectionEditVerbManager.cs
- XmlNavigatorFilter.cs
- ConsoleCancelEventArgs.cs
- PackUriHelper.cs
- DisplayNameAttribute.cs
- PackUriHelper.cs
- RuleProcessor.cs
- ToolBarDesigner.cs
- RadioButton.cs
- ApplicationSecurityInfo.cs
- CommonDialog.cs
- CharacterHit.cs