Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogEntryHeaderDeserializer.cs
- Executor.cs
- TextCompositionEventArgs.cs
- CustomErrorCollection.cs
- AnnotationComponentManager.cs
- Tokenizer.cs
- WindowsBrush.cs
- DbDataReader.cs
- SizeConverter.cs
- DoWhile.cs
- DetailsViewDeleteEventArgs.cs
- ReliableMessagingHelpers.cs
- SmiMetaData.cs
- RegistryPermission.cs
- EnterpriseServicesHelper.cs
- NativeCppClassAttribute.cs
- BamlResourceDeserializer.cs
- DeadCharTextComposition.cs
- ProviderIncompatibleException.cs
- SharedConnectionWorkflowTransactionService.cs
- DropDownList.cs
- ArgumentNullException.cs
- SharedDp.cs
- TypedReference.cs
- DispatcherHooks.cs
- Psha1DerivedKeyGenerator.cs
- Int32Rect.cs
- FormsAuthenticationTicket.cs
- XmlSchemaAll.cs
- SynchronizedDispatch.cs
- Normalization.cs
- TypeExtensionConverter.cs
- CryptoHelper.cs
- ParameterReplacerVisitor.cs
- XmlSerializerObjectSerializer.cs
- CancelEventArgs.cs
- DPCustomTypeDescriptor.cs
- DataTemplateKey.cs
- GlyphRunDrawing.cs
- _NativeSSPI.cs
- DbDataRecord.cs
- XPathAncestorIterator.cs
- ToolStripRendererSwitcher.cs
- ReferencedType.cs
- BinaryMethodMessage.cs
- UxThemeWrapper.cs
- InfiniteTimeSpanConverter.cs
- Expr.cs
- OletxCommittableTransaction.cs
- TextDecorationCollectionConverter.cs
- PropertyCondition.cs
- ThumbButtonInfo.cs
- HttpFileCollection.cs
- WebPartCloseVerb.cs
- ReadOnlyMetadataCollection.cs
- MetadataItemEmitter.cs
- ClientUriBehavior.cs
- TdsValueSetter.cs
- DataSourceProvider.cs
- VisualTarget.cs
- EmptyCollection.cs
- DropTarget.cs
- SqlNodeAnnotations.cs
- XmlAttributes.cs
- MaterializeFromAtom.cs
- OleDbConnection.cs
- ConnectionPoolRegistry.cs
- DescendantOverDescendantQuery.cs
- LayoutInformation.cs
- ProfileManager.cs
- BlobPersonalizationState.cs
- CommandField.cs
- TextFormatter.cs
- ContentPresenter.cs
- DataPagerCommandEventArgs.cs
- OracleConnectionString.cs
- TemplatedWizardStep.cs
- XmlIgnoreAttribute.cs
- DefaultValidator.cs
- CheckBoxStandardAdapter.cs
- TraceContextEventArgs.cs
- AttachmentService.cs
- StringInfo.cs
- TraceInternal.cs
- SynchronizedInputProviderWrapper.cs
- XPathItem.cs
- WmlPageAdapter.cs
- RenderingEventArgs.cs
- EndOfStreamException.cs
- RtfFormatStack.cs
- TriggerBase.cs
- SymLanguageType.cs
- Transactions.cs
- MessageQueueInstaller.cs
- _Semaphore.cs
- WebBrowserContainer.cs
- ItemCheckEvent.cs
- GridViewRowEventArgs.cs
- XmlConvert.cs
- X509CertificateCollection.cs