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
- CryptoHelper.cs
- HtmlElement.cs
- CodeObject.cs
- AutomationTextAttribute.cs
- UserInitiatedNavigationPermission.cs
- AccessedThroughPropertyAttribute.cs
- DataPointer.cs
- __ConsoleStream.cs
- ListSourceHelper.cs
- EmptyEnumerator.cs
- Pool.cs
- AuthenticateEventArgs.cs
- PrivateFontCollection.cs
- XmlDocument.cs
- ZipPackage.cs
- StrokeNodeOperations.cs
- ToolStripPanelRenderEventArgs.cs
- SqlConnectionPoolProviderInfo.cs
- WebPartAuthorizationEventArgs.cs
- mediaclock.cs
- ObservableDictionary.cs
- ContentOperations.cs
- EncoderNLS.cs
- WindowsMenu.cs
- XmlConvert.cs
- HwndKeyboardInputProvider.cs
- DataKeyCollection.cs
- XmlSerializationWriter.cs
- InfoCardSymmetricAlgorithm.cs
- Message.cs
- RectIndependentAnimationStorage.cs
- HttpProfileGroupBase.cs
- PropertyItemInternal.cs
- ClientReliableChannelBinder.cs
- ContainerControl.cs
- WSFederationHttpSecurityElement.cs
- PriorityRange.cs
- LineUtil.cs
- WebCategoryAttribute.cs
- AssertSection.cs
- XPathSelectionIterator.cs
- PeerInputChannel.cs
- DesignerFrame.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SQLRoleProvider.cs
- ContentElementAutomationPeer.cs
- IdentityNotMappedException.cs
- ColumnHeaderConverter.cs
- CustomError.cs
- HiddenField.cs
- TextSelectionProcessor.cs
- SelectionEditingBehavior.cs
- XmlSchemaSimpleContentExtension.cs
- InputProviderSite.cs
- Int16Animation.cs
- CatalogZoneBase.cs
- ReadOnlyNameValueCollection.cs
- GridViewColumnHeader.cs
- Variant.cs
- HatchBrush.cs
- DropDownHolder.cs
- Freezable.cs
- BitmapEncoder.cs
- PerformanceCounterNameAttribute.cs
- Drawing.cs
- VariableAction.cs
- StreamInfo.cs
- Registry.cs
- Base64Encoder.cs
- SmtpMail.cs
- DataObject.cs
- EnumerableRowCollection.cs
- SqlEnums.cs
- _ContextAwareResult.cs
- FrameworkEventSource.cs
- FullTextBreakpoint.cs
- MenuItemBindingCollection.cs
- AuthenticationModulesSection.cs
- RawUIStateInputReport.cs
- updateconfighost.cs
- OracleTransaction.cs
- EncoderExceptionFallback.cs
- PenThreadPool.cs
- DataPagerFieldCommandEventArgs.cs
- AppDomain.cs
- ToolStripItem.cs
- XmlSchemaSimpleContentExtension.cs
- StringConverter.cs
- WebPartConnectionsDisconnectVerb.cs
- XamlReader.cs
- InputDevice.cs
- querybuilder.cs
- infer.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- PropertyGridEditorPart.cs
- WebAdminConfigurationHelper.cs
- GeneralTransform3D.cs
- CalloutQueueItem.cs
- ComplexBindingPropertiesAttribute.cs
- WindowsImpersonationContext.cs