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
- DesignerCommandSet.cs
- MemoryRecordBuffer.cs
- DataGridViewMethods.cs
- NavigatingCancelEventArgs.cs
- XmlCompatibilityReader.cs
- ElementHost.cs
- SqlDataSourceCustomCommandPanel.cs
- SessionConnectionReader.cs
- Empty.cs
- NegatedCellConstant.cs
- NativeActivityFaultContext.cs
- HtmlPageAdapter.cs
- TableItemPattern.cs
- CharacterMetricsDictionary.cs
- CodeSubDirectoriesCollection.cs
- CodeAttributeDeclarationCollection.cs
- PeerService.cs
- Action.cs
- CommentEmitter.cs
- ImageMap.cs
- OverflowException.cs
- Graphics.cs
- IsolationInterop.cs
- WrappedIUnknown.cs
- SqlBulkCopyColumnMapping.cs
- BaseTemplateBuildProvider.cs
- ColumnMapVisitor.cs
- QueryConverter.cs
- WebConfigurationHostFileChange.cs
- SubMenuStyleCollection.cs
- TextChange.cs
- ConstraintCollection.cs
- IApplicationTrustManager.cs
- DiffuseMaterial.cs
- ContextProperty.cs
- HGlobalSafeHandle.cs
- CommunicationException.cs
- InnerItemCollectionView.cs
- MinimizableAttributeTypeConverter.cs
- ColorConvertedBitmapExtension.cs
- QueryableDataSourceHelper.cs
- SecurityCriticalDataForSet.cs
- PlainXmlSerializer.cs
- AccessorTable.cs
- ForwardPositionQuery.cs
- ManipulationDeltaEventArgs.cs
- XhtmlBasicTextViewAdapter.cs
- DependencyObjectCodeDomSerializer.cs
- DateTimeFormatInfo.cs
- OrthographicCamera.cs
- CodeCompiler.cs
- SByteStorage.cs
- EditorResources.cs
- Main.cs
- HierarchicalDataBoundControlAdapter.cs
- NullableFloatMinMaxAggregationOperator.cs
- DbProviderFactory.cs
- RoutingChannelExtension.cs
- HashHelper.cs
- FixedTextSelectionProcessor.cs
- StringValueSerializer.cs
- SqlXml.cs
- KeyConstraint.cs
- ExpandedWrapper.cs
- SqlInternalConnection.cs
- Publisher.cs
- ByteArrayHelperWithString.cs
- ClientSession.cs
- UniqueEventHelper.cs
- ListViewInsertedEventArgs.cs
- UiaCoreApi.cs
- NetStream.cs
- ToolStripSplitStackLayout.cs
- WhitespaceRule.cs
- CreateSequenceResponse.cs
- RemoteWebConfigurationHostServer.cs
- UserInitiatedNavigationPermission.cs
- BrowserDefinitionCollection.cs
- ToolBar.cs
- PropertyEmitterBase.cs
- ClientProxyGenerator.cs
- StateDesigner.CommentLayoutGlyph.cs
- TreeViewItemAutomationPeer.cs
- HttpConfigurationSystem.cs
- StateMachineHelpers.cs
- PatternMatcher.cs
- StateFinalizationActivity.cs
- diagnosticsswitches.cs
- DefaultEventAttribute.cs
- SqlCacheDependency.cs
- TableCellAutomationPeer.cs
- PropertyGridView.cs
- CustomErrorsSection.cs
- StatusCommandUI.cs
- MultipartIdentifier.cs
- ZoneButton.cs
- DataMember.cs
- AstNode.cs
- CodeGenerator.cs
- FlowDocumentPage.cs