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
- SqlTriggerAttribute.cs
- SqlConnectionFactory.cs
- TraceHwndHost.cs
- Pair.cs
- ButtonFieldBase.cs
- ComponentCollection.cs
- TokenBasedSet.cs
- LogFlushAsyncResult.cs
- EntitySqlQueryBuilder.cs
- CommandEventArgs.cs
- AnnotationComponentManager.cs
- SqlTransaction.cs
- PagesChangedEventArgs.cs
- ServicesSection.cs
- PassportAuthenticationEventArgs.cs
- MTConfigUtil.cs
- ClientConfigPaths.cs
- StrongNameIdentityPermission.cs
- SourceFileBuildProvider.cs
- EntityDataSourceMemberPath.cs
- streamingZipPartStream.cs
- MdiWindowListStrip.cs
- MenuAutomationPeer.cs
- EntityProviderServices.cs
- ProcessThread.cs
- Evaluator.cs
- ColumnCollection.cs
- DoubleConverter.cs
- FileLogRecord.cs
- ColumnWidthChangedEvent.cs
- StorageAssociationTypeMapping.cs
- CheckBoxPopupAdapter.cs
- ExpressionBindings.cs
- CodeTypeReference.cs
- TraceListeners.cs
- PriorityQueue.cs
- CallSiteHelpers.cs
- DataErrorValidationRule.cs
- ListControlConvertEventArgs.cs
- IPEndPointCollection.cs
- DirectionalLight.cs
- TimelineGroup.cs
- AppDomainShutdownMonitor.cs
- SqlCaseSimplifier.cs
- SplitterPanel.cs
- CatalogPartChrome.cs
- StrongNameUtility.cs
- ListViewGroupItemCollection.cs
- XmlIlVisitor.cs
- Rule.cs
- X509CertificateCollection.cs
- FullTextBreakpoint.cs
- SafeRightsManagementQueryHandle.cs
- FeatureSupport.cs
- CapiNative.cs
- HandlerBase.cs
- RelationHandler.cs
- ScopeElementCollection.cs
- TailCallAnalyzer.cs
- HeaderUtility.cs
- MasterPageParser.cs
- Compiler.cs
- JsonFormatWriterGenerator.cs
- SortFieldComparer.cs
- GradientBrush.cs
- NavigationHelper.cs
- SimpleFieldTemplateUserControl.cs
- Margins.cs
- GPPOINT.cs
- SamlAttributeStatement.cs
- SqlCaseSimplifier.cs
- ProviderSettings.cs
- BufferAllocator.cs
- InstanceContextMode.cs
- OdbcError.cs
- ApplicationFileParser.cs
- FrameworkElementAutomationPeer.cs
- ListInitExpression.cs
- SystemTcpConnection.cs
- UnsafeNativeMethods.cs
- Cursor.cs
- cookieexception.cs
- WeakReadOnlyCollection.cs
- PlatformCulture.cs
- RelOps.cs
- lengthconverter.cs
- WebPartVerbsEventArgs.cs
- DesignerCapabilities.cs
- StateItem.cs
- CompiledRegexRunnerFactory.cs
- Funcletizer.cs
- Code.cs
- ManualWorkflowSchedulerService.cs
- DescendantQuery.cs
- ComponentResourceManager.cs
- DispatcherFrame.cs
- SingleAnimationUsingKeyFrames.cs
- MsmqMessageProperty.cs
- GenericEnumerator.cs
- PreviewPageInfo.cs