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
- EnumMember.cs
- PolicyValidationException.cs
- StrongTypingException.cs
- XmlSchemaSimpleContentExtension.cs
- _ScatterGatherBuffers.cs
- WindowsFormsLinkLabel.cs
- DataGridViewBindingCompleteEventArgs.cs
- SHA1.cs
- DataViewManagerListItemTypeDescriptor.cs
- TransformerInfoCollection.cs
- XmlSchemaComplexType.cs
- LinkDesigner.cs
- UserValidatedEventArgs.cs
- CacheEntry.cs
- FormViewInsertedEventArgs.cs
- Slider.cs
- XmlAttributeAttribute.cs
- cookie.cs
- ComplexPropertyEntry.cs
- Int16AnimationBase.cs
- EtwTrace.cs
- DbExpressionBuilder.cs
- StylusDevice.cs
- SecurityTokenRequirement.cs
- MediaSystem.cs
- Emitter.cs
- TypeElement.cs
- Path.cs
- FormsAuthenticationEventArgs.cs
- ImageSourceConverter.cs
- JsonDataContract.cs
- RsaKeyIdentifierClause.cs
- MessageQueuePermission.cs
- OleDbStruct.cs
- SafeLocalAllocation.cs
- DisplayMemberTemplateSelector.cs
- FontFamily.cs
- XmlCharType.cs
- HybridDictionary.cs
- RelationshipConstraintValidator.cs
- CommandEventArgs.cs
- ObjectSecurity.cs
- ModulesEntry.cs
- CardSpaceSelector.cs
- AstNode.cs
- TableDesigner.cs
- RelationshipManager.cs
- PasswordTextNavigator.cs
- EpmCustomContentSerializer.cs
- FontStretches.cs
- InsufficientMemoryException.cs
- SqlProviderUtilities.cs
- ComponentResourceKeyConverter.cs
- GlobalEventManager.cs
- XmlHierarchyData.cs
- DataGridDesigner.cs
- ListViewTableCell.cs
- DefaultPropertyAttribute.cs
- EntityCommand.cs
- ProfileBuildProvider.cs
- WebPartDisplayMode.cs
- SoapAttributeOverrides.cs
- RelationshipConstraintValidator.cs
- SurrogateChar.cs
- DirectoryNotFoundException.cs
- ToolStripOverflow.cs
- PageTheme.cs
- SchemaInfo.cs
- ObjectContext.cs
- _NtlmClient.cs
- securitycriticaldataformultiplegetandset.cs
- SourceFileInfo.cs
- FileLoadException.cs
- PropertyHelper.cs
- SemaphoreFullException.cs
- ClickablePoint.cs
- BitmapEffect.cs
- ISFTagAndGuidCache.cs
- GrammarBuilderWildcard.cs
- InvalidComObjectException.cs
- EditBehavior.cs
- DataGridColumnCollection.cs
- FieldNameLookup.cs
- EncryptedPackage.cs
- COM2TypeInfoProcessor.cs
- LinkConverter.cs
- PeerNameRecordCollection.cs
- HttpCapabilitiesSectionHandler.cs
- CompModSwitches.cs
- Compilation.cs
- GridViewSelectEventArgs.cs
- UInt64Converter.cs
- SqlCacheDependency.cs
- ConfigurationSchemaErrors.cs
- SplineKeyFrames.cs
- DecodeHelper.cs
- ClientType.cs
- OverflowException.cs
- httpstaticobjectscollection.cs
- Metadata.cs