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
- DbMetaDataColumnNames.cs
- ScrollContentPresenter.cs
- WindowInteractionStateTracker.cs
- WebPartConnectionsDisconnectVerb.cs
- PropertyMapper.cs
- ProxyManager.cs
- XmlChildNodes.cs
- CacheOutputQuery.cs
- DecoderReplacementFallback.cs
- NonSerializedAttribute.cs
- DayRenderEvent.cs
- TCPListener.cs
- TimersDescriptionAttribute.cs
- ProfileEventArgs.cs
- ConfigXmlAttribute.cs
- InternalTypeHelper.cs
- AutomationPattern.cs
- JsonReaderWriterFactory.cs
- BrowserTree.cs
- PathSegmentCollection.cs
- DodSequenceMerge.cs
- EventMappingSettingsCollection.cs
- IResourceProvider.cs
- TypeTypeConverter.cs
- DateTimeValueSerializerContext.cs
- SelectManyQueryOperator.cs
- ViewStateException.cs
- MouseDevice.cs
- MetadataArtifactLoaderComposite.cs
- InternalBufferOverflowException.cs
- UnsettableComboBox.cs
- ZoomingMessageFilter.cs
- EmptyCollection.cs
- EnlistmentState.cs
- BufferModesCollection.cs
- ComplusTypeValidator.cs
- DesignRelationCollection.cs
- PeerNameRegistration.cs
- InputProcessorProfilesLoader.cs
- returneventsaver.cs
- Screen.cs
- SafeUserTokenHandle.cs
- PerformanceCounterManager.cs
- LockedBorderGlyph.cs
- DoubleCollection.cs
- TreeNodeCollectionEditor.cs
- TimeoutException.cs
- HtmlInputSubmit.cs
- CodeGroup.cs
- ContentDisposition.cs
- ScopelessEnumAttribute.cs
- MetadataWorkspace.cs
- Process.cs
- SystemInformation.cs
- Timer.cs
- FlowLayout.cs
- Application.cs
- GridViewColumnHeaderAutomationPeer.cs
- GuidelineCollection.cs
- CodeSnippetTypeMember.cs
- AuthenticationConfig.cs
- PageClientProxyGenerator.cs
- FixUp.cs
- SqlUtils.cs
- WsdlBuildProvider.cs
- TableDetailsRow.cs
- DataGridViewSelectedCellCollection.cs
- XmlDataSourceDesigner.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ListChangedEventArgs.cs
- HttpProfileGroupBase.cs
- TreeNodeStyle.cs
- NavigationPropertyEmitter.cs
- Size3DValueSerializer.cs
- PrimitiveSchema.cs
- WebDescriptionAttribute.cs
- log.cs
- TranslateTransform.cs
- TreeNodeMouseHoverEvent.cs
- DetailsViewCommandEventArgs.cs
- PTProvider.cs
- TemplateBindingExpression.cs
- ProtectedProviderSettings.cs
- XmlSchemaSimpleContentRestriction.cs
- DirectoryNotFoundException.cs
- SaveFileDialog.cs
- SkipQueryOptionExpression.cs
- Quad.cs
- DataViewManager.cs
- EntityDataSourceReferenceGroup.cs
- LeafCellTreeNode.cs
- IisTraceListener.cs
- QueueProcessor.cs
- AppDomainFactory.cs
- dtdvalidator.cs
- WebPageTraceListener.cs
- XmlEncodedRawTextWriter.cs
- ChangeBlockUndoRecord.cs
- _LazyAsyncResult.cs
- ActionMessageFilterTable.cs