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
- MediaEntryAttribute.cs
- NavigatingCancelEventArgs.cs
- DetailsViewUpdatedEventArgs.cs
- StatusBar.cs
- Encoder.cs
- Int16.cs
- CompilationLock.cs
- QueueException.cs
- StaticSiteMapProvider.cs
- InkCanvasSelectionAdorner.cs
- linebase.cs
- VariableQuery.cs
- CompressedStack.cs
- PropertyExpression.cs
- BuildDependencySet.cs
- ClientApiGenerator.cs
- PageContent.cs
- TdsParserStateObject.cs
- TimeSpanStorage.cs
- ApplicationBuildProvider.cs
- CultureMapper.cs
- InputScopeManager.cs
- DocumentViewer.cs
- UriSection.cs
- TrackingConditionCollection.cs
- ServicesSection.cs
- SoapInteropTypes.cs
- __TransparentProxy.cs
- RegexStringValidatorAttribute.cs
- GestureRecognizer.cs
- MatrixValueSerializer.cs
- Int64Animation.cs
- Visitors.cs
- DataObjectCopyingEventArgs.cs
- EDesignUtil.cs
- LinkLabel.cs
- SQLInt64Storage.cs
- COM2AboutBoxPropertyDescriptor.cs
- WriteFileContext.cs
- SqlDataSourceView.cs
- EmptyQuery.cs
- recordstatefactory.cs
- Unit.cs
- ElementMarkupObject.cs
- SeekableReadStream.cs
- CodeDelegateInvokeExpression.cs
- DownloadProgressEventArgs.cs
- SqlGatherProducedAliases.cs
- ToolStripOverflowButton.cs
- SamlAuthorizationDecisionStatement.cs
- SystemWebExtensionsSectionGroup.cs
- BaseResourcesBuildProvider.cs
- ZipIOExtraFieldZip64Element.cs
- Helper.cs
- MobileControl.cs
- Scripts.cs
- FontSourceCollection.cs
- PropertyGridCommands.cs
- ToolStripProgressBar.cs
- CompensatableTransactionScopeActivity.cs
- DetailsViewDesigner.cs
- ChangeToolStripParentVerb.cs
- TreeView.cs
- TypeSystem.cs
- PackWebResponse.cs
- NewArrayExpression.cs
- DrawListViewItemEventArgs.cs
- ApplicationContext.cs
- InternalConfigRoot.cs
- CompressionTransform.cs
- ClientEventManager.cs
- NameValuePermission.cs
- ProcessHostServerConfig.cs
- CallbackHandler.cs
- StartUpEventArgs.cs
- FamilyCollection.cs
- Interlocked.cs
- BitmapMetadataBlob.cs
- BaseCodeDomTreeGenerator.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Win32PrintDialog.cs
- DataColumn.cs
- TreeNodeBindingCollection.cs
- DataGridHelper.cs
- RegexFCD.cs
- XsltCompileContext.cs
- Events.cs
- DictionaryBase.cs
- ResourceSet.cs
- TerminatorSinks.cs
- BitmapImage.cs
- WebServiceFault.cs
- CultureSpecificStringDictionary.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- SqlDataSourceFilteringEventArgs.cs
- SignatureToken.cs
- RoutedUICommand.cs
- StyleSheetRefUrlEditor.cs
- AccessControlEntry.cs
- ComEventsHelper.cs