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
- WorkflowView.cs
- PopupEventArgs.cs
- KeyNotFoundException.cs
- SqlNotificationRequest.cs
- XmlReaderDelegator.cs
- DebugView.cs
- SelectionGlyph.cs
- SecurityToken.cs
- RadioButton.cs
- OperationParameterInfoCollection.cs
- EntitySqlQueryState.cs
- CatalogZone.cs
- ExchangeUtilities.cs
- HttpStreamMessage.cs
- DataGridView.cs
- CodeEventReferenceExpression.cs
- ContentType.cs
- PipelineModuleStepContainer.cs
- MarshalByRefObject.cs
- MultiBinding.cs
- DropDownList.cs
- Stacktrace.cs
- DataGridViewRowCancelEventArgs.cs
- StylusButtonEventArgs.cs
- ExceptionValidationRule.cs
- TypeLibConverter.cs
- WindowsAuthenticationEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- DateTimeStorage.cs
- CriticalExceptions.cs
- ConfigurationLocationCollection.cs
- GrammarBuilderRuleRef.cs
- ColorAnimation.cs
- SecurityUtils.cs
- KnowledgeBase.cs
- TypeDescriptorFilterService.cs
- FrameworkTextComposition.cs
- XComponentModel.cs
- ExtensionQuery.cs
- HttpRequestBase.cs
- OwnerDrawPropertyBag.cs
- PhysicalFontFamily.cs
- InvokeDelegate.cs
- PrintDialogException.cs
- PageCache.cs
- DelegateBodyWriter.cs
- ReliableChannelListener.cs
- TextOnlyOutput.cs
- TreeNodeBinding.cs
- BitmapDecoder.cs
- RequestCacheManager.cs
- ErrorHandlerModule.cs
- FieldAccessException.cs
- PolyBezierSegment.cs
- WrappedReader.cs
- AgileSafeNativeMemoryHandle.cs
- SqlBuffer.cs
- SQLDoubleStorage.cs
- HwndTarget.cs
- CodeCompiler.cs
- Vars.cs
- PtsHelper.cs
- OleDbParameter.cs
- X509CertificateInitiatorServiceCredential.cs
- GrammarBuilderWildcard.cs
- NetDataContractSerializer.cs
- CqlIdentifiers.cs
- SequenceFullException.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SqlFacetAttribute.cs
- SoapInteropTypes.cs
- RegisteredHiddenField.cs
- TimeSpan.cs
- XmlIncludeAttribute.cs
- WeakHashtable.cs
- GroupDescription.cs
- TypeHelpers.cs
- MultiPropertyDescriptorGridEntry.cs
- TextDecoration.cs
- DataPagerFieldItem.cs
- TextEditorTables.cs
- XmlAtomicValue.cs
- cookiecollection.cs
- TextTrailingWordEllipsis.cs
- DynamicResourceExtensionConverter.cs
- WebRequestModulesSection.cs
- Path.cs
- DoubleAnimation.cs
- FilteredAttributeCollection.cs
- Image.cs
- FixedStringLookup.cs
- TiffBitmapDecoder.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- NTAccount.cs
- AppDomainProtocolHandler.cs
- PeerInvitationResponse.cs
- WindowsSlider.cs
- Light.cs
- _DisconnectOverlappedAsyncResult.cs
- DrawingContextWalker.cs