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
- MappingException.cs
- DbFunctionCommandTree.cs
- DbXmlEnabledProviderManifest.cs
- SimpleWebHandlerParser.cs
- HMACSHA256.cs
- PrintPageEvent.cs
- RTTrackingProfile.cs
- DeferredElementTreeState.cs
- BookmarkScopeHandle.cs
- FixedElement.cs
- TypedDataSourceCodeGenerator.cs
- PropertyTabChangedEvent.cs
- SafeTimerHandle.cs
- RuntimeHelpers.cs
- CommonProperties.cs
- Soap12ServerProtocol.cs
- PointLightBase.cs
- StyleBamlTreeBuilder.cs
- MetadataItemEmitter.cs
- AppSettingsExpressionBuilder.cs
- MdImport.cs
- IdentityManager.cs
- ToolStripContextMenu.cs
- Preprocessor.cs
- StreamGeometry.cs
- OleAutBinder.cs
- ProcessProtocolHandler.cs
- GraphicsPathIterator.cs
- TextHintingModeValidation.cs
- MessageHeaderException.cs
- BindingGraph.cs
- ComponentResourceKey.cs
- FunctionMappingTranslator.cs
- WorkflowHostingResponseContext.cs
- NullExtension.cs
- LayoutTableCell.cs
- BaseParagraph.cs
- UrlParameterWriter.cs
- SqlAliaser.cs
- Models.cs
- arclist.cs
- ContentType.cs
- SoapBinding.cs
- mactripleDES.cs
- SettingsPropertyNotFoundException.cs
- UniqueEventHelper.cs
- XmlCompatibilityReader.cs
- HtmlObjectListAdapter.cs
- TextContainerChangeEventArgs.cs
- MultipleViewProviderWrapper.cs
- ReturnValue.cs
- XmlProcessingInstruction.cs
- AutomationPropertyInfo.cs
- FormParameter.cs
- TrackingMemoryStream.cs
- TagPrefixAttribute.cs
- AppearanceEditorPart.cs
- ParameterCollection.cs
- MessageBox.cs
- UnhandledExceptionEventArgs.cs
- ObjectViewQueryResultData.cs
- LateBoundBitmapDecoder.cs
- WebContext.cs
- ReverseInheritProperty.cs
- HtmlControl.cs
- DateTime.cs
- DataGridViewCell.cs
- Point3D.cs
- KeyGestureConverter.cs
- QueryCursorEventArgs.cs
- MetadataArtifactLoaderComposite.cs
- ElementsClipboardData.cs
- SqlCharStream.cs
- FixedSOMSemanticBox.cs
- ChtmlPageAdapter.cs
- DockPattern.cs
- versioninfo.cs
- EventWaitHandleSecurity.cs
- DiscoveryOperationContext.cs
- FileUtil.cs
- XamlVector3DCollectionSerializer.cs
- Menu.cs
- Vector.cs
- RegistryConfigurationProvider.cs
- DataConnectionHelper.cs
- COM2ColorConverter.cs
- LongSumAggregationOperator.cs
- BinHexDecoder.cs
- AttributeSetAction.cs
- BadImageFormatException.cs
- TransformerConfigurationWizardBase.cs
- MatrixTransform.cs
- HostingEnvironmentSection.cs
- RectangleGeometry.cs
- MetadataPropertyAttribute.cs
- Function.cs
- XmlWhitespace.cs
- RequestResponse.cs
- CodeDirectiveCollection.cs
- BitmapEncoder.cs