Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / HtmlPanelAdapter.cs / 1305376 / HtmlPanelAdapter.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.Drawing; using System.Security.Permissions; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource #else namespace System.Web.UI.MobileControls.Adapters #endif { /* * HtmlPanelAdapter 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 HtmlPanelAdapter : HtmlControlAdapter { /// protected new Panel Control { get { return (Panel)base.Control; } } /// public override void OnInit(EventArgs e) { } /// public override void Render(HtmlMobileTextWriter writer) { if (Control.Content != null) { Control.Content.RenderControl(writer); } else { writer.EnterStyle(Style); RenderChildren(writer); writer.ExitStyle(Style, Control.BreakAfter); } } } } // 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
- Context.cs
- XmlDictionaryReaderQuotas.cs
- GatewayIPAddressInformationCollection.cs
- StylusPointPropertyInfo.cs
- DataGridCellsPanel.cs
- RightsManagementProvider.cs
- GetWinFXPath.cs
- CachedRequestParams.cs
- PositiveTimeSpanValidatorAttribute.cs
- HMACSHA512.cs
- TextViewBase.cs
- _NegoStream.cs
- InternalSafeNativeMethods.cs
- InvalidCommandTreeException.cs
- AppDomainFactory.cs
- StringCollection.cs
- PropertyManager.cs
- MetadataCache.cs
- TimeSpanOrInfiniteValidator.cs
- PopupRoot.cs
- Int16.cs
- ColorConverter.cs
- NamedPermissionSet.cs
- LocatorPart.cs
- HttpResponseInternalWrapper.cs
- StateDesigner.Helpers.cs
- ProviderMetadata.cs
- GrammarBuilderPhrase.cs
- UpDownEvent.cs
- SchemaTableOptionalColumn.cs
- SharedUtils.cs
- PathGradientBrush.cs
- HebrewCalendar.cs
- ToolStripManager.cs
- ConstraintConverter.cs
- TreeNodeCollection.cs
- remotingproxy.cs
- DoubleLinkListEnumerator.cs
- oledbconnectionstring.cs
- PerformanceCounter.cs
- AssemblyHash.cs
- SqlError.cs
- SelectionRange.cs
- DbCommandDefinition.cs
- SizeAnimationBase.cs
- AbstractSvcMapFileLoader.cs
- WebPartAuthorizationEventArgs.cs
- CompilerCollection.cs
- AddInStore.cs
- X509KeyIdentifierClauseType.cs
- BufferModesCollection.cs
- ObjectStateFormatter.cs
- SymmetricAlgorithm.cs
- EntityModelSchemaGenerator.cs
- SelectManyQueryOperator.cs
- OdbcStatementHandle.cs
- HttpCacheVary.cs
- TextServicesContext.cs
- NumberFormatInfo.cs
- DeploymentSectionCache.cs
- DNS.cs
- EncoderBestFitFallback.cs
- WebHttpEndpointElement.cs
- LineBreak.cs
- GestureRecognitionResult.cs
- ProgressiveCrcCalculatingStream.cs
- ModelTypeConverter.cs
- SQLRoleProvider.cs
- JsonObjectDataContract.cs
- HttpGetProtocolReflector.cs
- WindowsEditBoxRange.cs
- PathBox.cs
- PathFigureCollection.cs
- ComponentChangingEvent.cs
- TraceContext.cs
- AnnotationObservableCollection.cs
- TcpProcessProtocolHandler.cs
- InheritanceContextChangedEventManager.cs
- InputEventArgs.cs
- ProviderConnectionPoint.cs
- SmiConnection.cs
- EtwProvider.cs
- PrinterUnitConvert.cs
- OdbcCommandBuilder.cs
- safelinkcollection.cs
- ConstraintEnumerator.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- StructuredType.cs
- SiteMapPath.cs
- TextBox.cs
- X509ThumbprintKeyIdentifierClause.cs
- SqlRowUpdatingEvent.cs
- UIElementParagraph.cs
- FunctionNode.cs
- FigureParagraph.cs
- SlipBehavior.cs
- SoapFormatterSinks.cs
- ModuleBuilder.cs
- SQLBytesStorage.cs
- XmlValueConverter.cs