Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IisTraceWebEventProvider.cs
- NavigationPropertySingletonExpression.cs
- SelectionEditingBehavior.cs
- ContainerParagraph.cs
- SafeNativeMethodsCLR.cs
- ImportCatalogPart.cs
- _CookieModule.cs
- DbXmlEnabledProviderManifest.cs
- ProviderUtil.cs
- ReadOnlyMetadataCollection.cs
- NameValueCollection.cs
- PagedControl.cs
- BeginGetFileNameFromUserRequest.cs
- CodeAccessPermission.cs
- DataGridViewComboBoxColumn.cs
- Int32Animation.cs
- CompoundFileReference.cs
- RuleAttributes.cs
- SourceElementsCollection.cs
- CodeAttachEventStatement.cs
- QueueProcessor.cs
- Line.cs
- DesignerTransactionCloseEvent.cs
- WebPartCancelEventArgs.cs
- Command.cs
- XPathNode.cs
- Application.cs
- ProjectedSlot.cs
- SafeViewOfFileHandle.cs
- DataTableMappingCollection.cs
- CngKey.cs
- ValidationError.cs
- XmlNodeChangedEventArgs.cs
- NameGenerator.cs
- ControlBuilder.cs
- FileChangeNotifier.cs
- OpacityConverter.cs
- TreeNodeStyle.cs
- storepermissionattribute.cs
- WebReferencesBuildProvider.cs
- DisplayNameAttribute.cs
- WsdlBuildProvider.cs
- ProcessHostConfigUtils.cs
- MetadataCache.cs
- EditCommandColumn.cs
- SqlServices.cs
- BitmapSource.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ListControlActionList.cs
- DataViewSetting.cs
- ChannelSinkStacks.cs
- RSAPKCS1SignatureDeformatter.cs
- CfgParser.cs
- FontCollection.cs
- DescendentsWalker.cs
- TreeView.cs
- ConfigurationFileMap.cs
- XmlStreamNodeWriter.cs
- handlecollector.cs
- ProviderException.cs
- DesignerDataColumn.cs
- PropertyReferenceExtension.cs
- ActivityTypeResolver.xaml.cs
- SoapExtension.cs
- GenericPrincipal.cs
- AggregateNode.cs
- SchemaElementDecl.cs
- ObjectDataSourceWizardForm.cs
- CapabilitiesUse.cs
- TrimSurroundingWhitespaceAttribute.cs
- MsmqHostedTransportManager.cs
- SubMenuStyleCollection.cs
- ArgumentException.cs
- HttpModulesSection.cs
- ValidationSummary.cs
- File.cs
- ObjectCacheSettings.cs
- TextDecorations.cs
- InputManager.cs
- StatusBarItem.cs
- XmlSerializationReader.cs
- HtmlInputCheckBox.cs
- ThreadSafeList.cs
- CheckedListBox.cs
- SafeLibraryHandle.cs
- ResourceDescriptionAttribute.cs
- CommandID.cs
- ZoneMembershipCondition.cs
- SelectorAutomationPeer.cs
- CustomErrorCollection.cs
- SessionStateUtil.cs
- CngKeyCreationParameters.cs
- ApplicationFileCodeDomTreeGenerator.cs
- _NegoState.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- RemoteWebConfigurationHostServer.cs
- DeviceSpecific.cs
- BufferedGenericXmlSecurityToken.cs
- PermissionSet.cs
- GPPOINT.cs