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
- PathGradientBrush.cs
- Privilege.cs
- Point3DAnimationUsingKeyFrames.cs
- AssociationSet.cs
- BitmapEffectState.cs
- DesignConnection.cs
- CodeNamespaceImport.cs
- TemplatedAdorner.cs
- WebBrowserPermission.cs
- WebSysDefaultValueAttribute.cs
- Matrix.cs
- XPathSelfQuery.cs
- BuildProviderCollection.cs
- AnimationException.cs
- OperationPerformanceCounters.cs
- GlobalProxySelection.cs
- ToolboxDataAttribute.cs
- DispatcherTimer.cs
- DbParameterCollection.cs
- MouseGesture.cs
- CodeAttributeArgumentCollection.cs
- ThumbButtonInfo.cs
- HMACSHA512.cs
- ContourSegment.cs
- BaseValidatorDesigner.cs
- SourceItem.cs
- METAHEADER.cs
- NamespaceQuery.cs
- ColumnCollection.cs
- String.cs
- UIHelper.cs
- StylusTip.cs
- ExpandSegmentCollection.cs
- RotateTransform3D.cs
- KeyNotFoundException.cs
- QueryGenerator.cs
- LabelLiteral.cs
- FileLoadException.cs
- CanonicalFontFamilyReference.cs
- CommonObjectSecurity.cs
- UdpDuplexChannel.cs
- SpellCheck.cs
- BindingSourceDesigner.cs
- SafeNativeMethods.cs
- TraceContextEventArgs.cs
- activationcontext.cs
- SQLByteStorage.cs
- SupportsEventValidationAttribute.cs
- EventsTab.cs
- XmlQualifiedName.cs
- FormsAuthenticationTicket.cs
- HiddenFieldPageStatePersister.cs
- ConstantCheck.cs
- WebScriptMetadataMessage.cs
- OlePropertyStructs.cs
- ScrollPattern.cs
- TraceContextEventArgs.cs
- ThreadStateException.cs
- TextServicesHost.cs
- WebServiceBindingAttribute.cs
- PackWebResponse.cs
- XsltLoader.cs
- EventLogEntry.cs
- ClaimTypes.cs
- NumberSubstitution.cs
- DataGridParentRows.cs
- ConnectorMovedEventArgs.cs
- AnimatedTypeHelpers.cs
- SmtpCommands.cs
- SafeBuffer.cs
- Annotation.cs
- AndMessageFilter.cs
- WebConfigurationHost.cs
- ConnectionDemuxer.cs
- QilGeneratorEnv.cs
- HtmlTextArea.cs
- BaseTreeIterator.cs
- BrowserDefinition.cs
- BindToObject.cs
- SecurityContextTokenValidationException.cs
- Range.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- DbConnectionPool.cs
- Logging.cs
- FileUtil.cs
- Size.cs
- RelatedView.cs
- GenericRootAutomationPeer.cs
- SQLUtility.cs
- MinMaxParagraphWidth.cs
- DbCommandTree.cs
- TypeConverterHelper.cs
- BooleanAnimationBase.cs
- Rotation3DKeyFrameCollection.cs
- MulticastOption.cs
- PerfCounterSection.cs
- GrammarBuilderPhrase.cs
- SurrogateSelector.cs
- StateMachineDesignerPaint.cs
- NetDispatcherFaultException.cs