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
- ListControl.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DbConnectionPoolIdentity.cs
- PropVariant.cs
- DataGridViewLinkColumn.cs
- RemoteCryptoSignHashRequest.cs
- EditorBrowsableAttribute.cs
- SolidColorBrush.cs
- AssemblyAttributesGoHere.cs
- DocumentViewerBaseAutomationPeer.cs
- RadioButtonPopupAdapter.cs
- cookieexception.cs
- ParameterReplacerVisitor.cs
- WebPartDisplayModeCancelEventArgs.cs
- HyperLinkStyle.cs
- ReflectTypeDescriptionProvider.cs
- SerTrace.cs
- TreeNodeClickEventArgs.cs
- TimelineClockCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- XmlEnumAttribute.cs
- XMLSchema.cs
- EnvelopedPkcs7.cs
- CookielessHelper.cs
- WebMethodAttribute.cs
- CdpEqualityComparer.cs
- DelegateTypeInfo.cs
- ApplicationId.cs
- Memoizer.cs
- EndpointDiscoveryElement.cs
- SqlParameter.cs
- ContentFileHelper.cs
- ZoneMembershipCondition.cs
- InstanceValue.cs
- ZipIOLocalFileHeader.cs
- MatrixConverter.cs
- SmiConnection.cs
- NetworkInterface.cs
- ArgumentNullException.cs
- GenericIdentity.cs
- DataGridViewSortCompareEventArgs.cs
- TagPrefixInfo.cs
- DrawingImage.cs
- RegexCode.cs
- OrderingInfo.cs
- SqlClientMetaDataCollectionNames.cs
- ClientEventManager.cs
- Oci.cs
- ObjectQueryExecutionPlan.cs
- Control.cs
- TemplateControlBuildProvider.cs
- AccessDataSourceView.cs
- StringBuilder.cs
- TextCharacters.cs
- ReadOnlyDictionary.cs
- WinEventHandler.cs
- UserPreferenceChangingEventArgs.cs
- StreamMarshaler.cs
- ModelUIElement3D.cs
- CqlGenerator.cs
- dbdatarecord.cs
- ScriptingAuthenticationServiceSection.cs
- VisualStyleRenderer.cs
- RealizationDrawingContextWalker.cs
- oledbmetadatacolumnnames.cs
- FontUnitConverter.cs
- DirectoryRedirect.cs
- ObjectSecurity.cs
- PackagePartCollection.cs
- ArglessEventHandlerProxy.cs
- PublisherIdentityPermission.cs
- Typography.cs
- initElementDictionary.cs
- NativeMethods.cs
- CodeDefaultValueExpression.cs
- PrivateFontCollection.cs
- CodeDOMUtility.cs
- ObjectDataSourceView.cs
- ObjectStateFormatter.cs
- UdpDiscoveryEndpointElement.cs
- MatrixAnimationBase.cs
- InterleavedZipPartStream.cs
- PreProcessInputEventArgs.cs
- ExternalCalls.cs
- CompilerErrorCollection.cs
- TdsParameterSetter.cs
- InvokeProviderWrapper.cs
- OpenTypeCommon.cs
- Set.cs
- TheQuery.cs
- PropertyChange.cs
- EventRecordWrittenEventArgs.cs
- QuarticEase.cs
- ProcessModuleCollection.cs
- SiteMapNode.cs
- TraversalRequest.cs
- OutputScope.cs
- FlagsAttribute.cs
- ListViewItemEventArgs.cs
- wmiprovider.cs