Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / WmlLiteralTextAdapter.cs / 1305376 / WmlLiteralTextAdapter.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 { /* * WmlLiteralTextAdapter 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 WmlLiteralTextAdapter : WmlControlAdapter { /// protected new LiteralText Control { get { return (LiteralText)base.Control; } } String _pagedText; /// public override void Render(WmlMobileTextWriter writer) { // Cache value, because Render is called twice. if (_pagedText == null) { _pagedText = Control.PagedText; } writer.EnterFormat(Style); writer.RenderText(_pagedText, Control.BreakAfter); writer.ExitFormat(Style); } } } // 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
- FullTrustAssembly.cs
- DelegateOutArgument.cs
- RelationalExpressions.cs
- ColumnMapVisitor.cs
- XmlReflectionImporter.cs
- PipelineModuleStepContainer.cs
- MethodInfo.cs
- SectionRecord.cs
- InternalBufferOverflowException.cs
- TypefaceMap.cs
- ObjectItemAttributeAssemblyLoader.cs
- ToolStripDropTargetManager.cs
- CachedPathData.cs
- Point4D.cs
- PartialCachingAttribute.cs
- GridViewColumn.cs
- TextClipboardData.cs
- ObservableCollection.cs
- ConsoleEntryPoint.cs
- UIAgentAsyncParams.cs
- TextElementEnumerator.cs
- TableRow.cs
- PropertyDescriptorGridEntry.cs
- LinqDataSourceHelper.cs
- IERequestCache.cs
- Base64Stream.cs
- RewritingSimplifier.cs
- DocumentPaginator.cs
- HebrewNumber.cs
- PaintValueEventArgs.cs
- CodeMethodMap.cs
- HtmlEncodedRawTextWriter.cs
- MediaPlayerState.cs
- ADConnectionHelper.cs
- VBIdentifierName.cs
- DragSelectionMessageFilter.cs
- ContentFileHelper.cs
- BitmapEffectInputData.cs
- SQLInt64.cs
- XmlCDATASection.cs
- XmlDictionary.cs
- TreeNodeCollection.cs
- TextStore.cs
- XmlILIndex.cs
- InvokePattern.cs
- TreeNode.cs
- IISUnsafeMethods.cs
- SafeEventLogReadHandle.cs
- FragmentNavigationEventArgs.cs
- _SSPISessionCache.cs
- RoleGroupCollection.cs
- unsafeIndexingFilterStream.cs
- ConfigurationPermission.cs
- DataGridViewColumnCollectionDialog.cs
- SafeCryptoHandles.cs
- RecommendedAsConfigurableAttribute.cs
- NestedContainer.cs
- TabControlCancelEvent.cs
- QilPatternVisitor.cs
- TargetException.cs
- DataGridViewRowEventArgs.cs
- CodeExpressionCollection.cs
- CallbackHandler.cs
- BinaryUtilClasses.cs
- SharedPersonalizationStateInfo.cs
- LocatorPartList.cs
- EncodingInfo.cs
- SettingsAttributes.cs
- HttpContextBase.cs
- ArgumentOutOfRangeException.cs
- PerformanceCounterTraceRecord.cs
- EncodingStreamWrapper.cs
- CopyAttributesAction.cs
- StrokeCollection2.cs
- _SslStream.cs
- IODescriptionAttribute.cs
- SpinLock.cs
- FigureParagraph.cs
- Input.cs
- CqlErrorHelper.cs
- SplitterPanel.cs
- Wildcard.cs
- DisplayInformation.cs
- DataGridColumn.cs
- LocalizableAttribute.cs
- Internal.cs
- OleDbRowUpdatingEvent.cs
- ProtocolReflector.cs
- SymbolEqualComparer.cs
- StorageAssociationTypeMapping.cs
- CapabilitiesState.cs
- InstanceValue.cs
- AssertHelper.cs
- AttachmentCollection.cs
- DbBuffer.cs
- PackagePartCollection.cs
- PropertyInformationCollection.cs
- SegmentInfo.cs
- WebConfigurationHost.cs
- CompiledXpathExpr.cs