Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / WmlLabelAdapter.cs / 1305376 / WmlLabelAdapter.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.Security.Permissions; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource #else namespace System.Web.UI.MobileControls.Adapters #endif { /* * WmlLabelAdapter 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 WmlLabelAdapter : WmlControlAdapter { /// protected new TextControl Control { get { return (TextControl)base.Control; } } /// public override void Render(WmlMobileTextWriter writer) { writer.EnterStyle(Style); writer.RenderText(Control.Text, Control.BreakAfter); writer.ExitStyle(Style); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // 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.Security.Permissions; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource #else namespace System.Web.UI.MobileControls.Adapters #endif { /* * WmlLabelAdapter 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 WmlLabelAdapter : WmlControlAdapter { /// protected new TextControl Control { get { return (TextControl)base.Control; } } /// public override void Render(WmlMobileTextWriter writer) { writer.EnterStyle(Style); writer.RenderText(Control.Text, Control.BreakAfter); writer.ExitStyle(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
- InvocationExpression.cs
- StringPropertyBuilder.cs
- DataGridCommandEventArgs.cs
- FlowDocumentPage.cs
- CodeObjectCreateExpression.cs
- ISSmlParser.cs
- SessionSwitchEventArgs.cs
- ProtocolViolationException.cs
- SystemIPAddressInformation.cs
- SchemeSettingElement.cs
- UInt32Storage.cs
- RIPEMD160Managed.cs
- SRDisplayNameAttribute.cs
- AdornedElementPlaceholder.cs
- HMACMD5.cs
- PerformanceCounters.cs
- UrlMappingsModule.cs
- ImageKeyConverter.cs
- MatcherBuilder.cs
- PropertyMapper.cs
- TimeSpanValidatorAttribute.cs
- ObjectListDesigner.cs
- MethodAccessException.cs
- MessageSmuggler.cs
- MethodToken.cs
- DataObjectFieldAttribute.cs
- DistributedTransactionPermission.cs
- DoubleAnimationClockResource.cs
- List.cs
- InstalledVoice.cs
- DataSourceHelper.cs
- PenThreadWorker.cs
- AdRotator.cs
- CustomValidator.cs
- AllMembershipCondition.cs
- SymmetricCryptoHandle.cs
- ToolTipAutomationPeer.cs
- FileDialog_Vista_Interop.cs
- KeyPullup.cs
- TextTreeInsertUndoUnit.cs
- TextEffectResolver.cs
- SafeRegistryHandle.cs
- BooleanKeyFrameCollection.cs
- ServiceContractDetailViewControl.cs
- IIS7WorkerRequest.cs
- ChannelServices.cs
- EpmContentDeSerializerBase.cs
- FtpRequestCacheValidator.cs
- AssemblyNameProxy.cs
- XmlSchemaAll.cs
- _AutoWebProxyScriptHelper.cs
- Win32SafeHandles.cs
- SelectionPattern.cs
- COAUTHIDENTITY.cs
- ReadOnlyDictionary.cs
- ParentControlDesigner.cs
- InternalConfigRoot.cs
- KeyNotFoundException.cs
- UserPreferenceChangedEventArgs.cs
- PrinterUnitConvert.cs
- StretchValidation.cs
- AnnotationResource.cs
- listitem.cs
- Section.cs
- SmtpLoginAuthenticationModule.cs
- SafeFreeMibTable.cs
- FileSecurity.cs
- XmlNamespaceMappingCollection.cs
- WebServiceData.cs
- ParseElement.cs
- DocumentPageView.cs
- SerializationObjectManager.cs
- SettingsBase.cs
- DrawItemEvent.cs
- SingleKeyFrameCollection.cs
- KeyValuePairs.cs
- SafeWaitHandle.cs
- XamlVector3DCollectionSerializer.cs
- PropertyDescriptor.cs
- UnaryNode.cs
- TableLayoutSettingsTypeConverter.cs
- SharedMemory.cs
- DataTableCollection.cs
- GraphicsPathIterator.cs
- SqlAggregateChecker.cs
- DataTableReader.cs
- BasicHttpMessageSecurity.cs
- DataGridViewRowPrePaintEventArgs.cs
- ElementMarkupObject.cs
- SafeCryptoHandles.cs
- HttpModuleActionCollection.cs
- TextEditorCharacters.cs
- PointLightBase.cs
- RtType.cs
- CharAnimationUsingKeyFrames.cs
- ResourceWriter.cs
- TextParagraphView.cs
- EventQueueState.cs
- Size3DConverter.cs
- CdpEqualityComparer.cs