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
- x509utils.cs
- ServicePrincipalNameElement.cs
- PageParser.cs
- DataSetMappper.cs
- SQLSingle.cs
- SingleTagSectionHandler.cs
- QilScopedVisitor.cs
- MetadataArtifactLoaderComposite.cs
- ListBoxItem.cs
- WSFederationHttpSecurityMode.cs
- ChooseAction.cs
- ServiceOperationParameter.cs
- PeerInvitationResponse.cs
- InteropEnvironment.cs
- WS2007HttpBinding.cs
- SHA1CryptoServiceProvider.cs
- ListControlActionList.cs
- TextBoxBase.cs
- HierarchicalDataSourceControl.cs
- ObjectView.cs
- SecurityTokenSerializer.cs
- CallbackTimeoutsElement.cs
- CodeAssignStatement.cs
- Rules.cs
- BooleanToVisibilityConverter.cs
- MimeMapping.cs
- NoResizeSelectionBorderGlyph.cs
- ProfileGroupSettings.cs
- _IPv6Address.cs
- Utilities.cs
- AdCreatedEventArgs.cs
- StringComparer.cs
- ExpressionNormalizer.cs
- MSAAWinEventWrap.cs
- RTLAwareMessageBox.cs
- PasswordDeriveBytes.cs
- WindowsSpinner.cs
- XmlComment.cs
- MulticastDelegate.cs
- AtomServiceDocumentSerializer.cs
- AtomMaterializer.cs
- CodeArrayCreateExpression.cs
- WebPartZoneBase.cs
- ControlIdConverter.cs
- SchemaNames.cs
- ProcessProtocolHandler.cs
- DBCSCodePageEncoding.cs
- UnsafeNativeMethods.cs
- PropertyTabAttribute.cs
- TableAdapterManagerGenerator.cs
- SupportsEventValidationAttribute.cs
- EmbeddedMailObjectsCollection.cs
- ExcCanonicalXml.cs
- PenThreadWorker.cs
- InvalidateEvent.cs
- xamlnodes.cs
- Content.cs
- ExpressionBuilder.cs
- FlowDocumentView.cs
- StrokeCollectionConverter.cs
- LinkedList.cs
- DebugHandleTracker.cs
- SafeHandles.cs
- WizardForm.cs
- CodeMethodMap.cs
- X509CertificateChain.cs
- NameTable.cs
- InsufficientMemoryException.cs
- basenumberconverter.cs
- PropertyIDSet.cs
- WizardForm.cs
- CmsUtils.cs
- DateRangeEvent.cs
- Classification.cs
- IntellisenseTextBox.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Stack.cs
- ForeignKeyConstraint.cs
- XMLSchema.cs
- SecUtil.cs
- CorrelationValidator.cs
- PolicyValidator.cs
- ThrowHelper.cs
- unsafenativemethodsother.cs
- MostlySingletonList.cs
- OpenTypeLayoutCache.cs
- ApplicationServiceHelper.cs
- BuildProvidersCompiler.cs
- DBSqlParserTable.cs
- VisualBrush.cs
- ListViewUpdatedEventArgs.cs
- PolyLineSegmentFigureLogic.cs
- ProcessHostFactoryHelper.cs
- KeyboardDevice.cs
- TreeSet.cs
- x509utils.cs
- TableProviderWrapper.cs
- SecurityContext.cs
- DBCommand.cs
- Color.cs