Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // // 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
- BinHexDecoder.cs
- Tuple.cs
- MetadataItem_Static.cs
- PixelShader.cs
- DesignerCategoryAttribute.cs
- shaperfactoryquerycachekey.cs
- DataGridViewCellConverter.cs
- ProxyGenerator.cs
- GenericPrincipal.cs
- DragAssistanceManager.cs
- PointConverter.cs
- ObjectDataProvider.cs
- SmiConnection.cs
- WindowsGraphics.cs
- CqlLexerHelpers.cs
- BindingExpressionBase.cs
- AuthenticationSection.cs
- Int32RectValueSerializer.cs
- NativeMethods.cs
- ConfigurationManagerInternalFactory.cs
- WebOperationContext.cs
- NeedSkipTokenVisitor.cs
- SetStoryboardSpeedRatio.cs
- IgnoreDeviceFilterElementCollection.cs
- WorkItem.cs
- HealthMonitoringSectionHelper.cs
- CommandID.cs
- SolidColorBrush.cs
- SecurityElement.cs
- DataGridViewLinkCell.cs
- SQLBinaryStorage.cs
- TileBrush.cs
- DataBindingList.cs
- Source.cs
- FormatVersion.cs
- TextRangeBase.cs
- StylusDownEventArgs.cs
- ModuleConfigurationInfo.cs
- XmlSchemaAppInfo.cs
- TextInfo.cs
- COM2ColorConverter.cs
- PictureBox.cs
- ExecutionEngineException.cs
- Oci.cs
- MenuItemBinding.cs
- CSharpCodeProvider.cs
- UnescapedXmlDiagnosticData.cs
- PerfCounterSection.cs
- DataReceivedEventArgs.cs
- TypeDescriptor.cs
- DbReferenceCollection.cs
- DLinqAssociationProvider.cs
- ComponentCommands.cs
- RestHandlerFactory.cs
- MdImport.cs
- IssuedSecurityTokenProvider.cs
- SessionEndedEventArgs.cs
- OrderedDictionary.cs
- RemotingConfigParser.cs
- SetterBase.cs
- SqlMethods.cs
- SafeCryptoHandles.cs
- XmlLanguage.cs
- SHA1Cng.cs
- ServiceOperationDetailViewControl.cs
- Win32Native.cs
- SQLStringStorage.cs
- DeclarativeCatalogPart.cs
- FacetChecker.cs
- DesignParameter.cs
- NetNamedPipeBindingElement.cs
- ellipse.cs
- StringHandle.cs
- VectorCollectionConverter.cs
- WebPartVerbCollection.cs
- PropertyInformation.cs
- Compiler.cs
- Adorner.cs
- SimpleType.cs
- invalidudtexception.cs
- IpcManager.cs
- EntityDataSourceDesigner.cs
- PingOptions.cs
- WebConfigurationManager.cs
- ResXDataNode.cs
- CodeDirectoryCompiler.cs
- VScrollProperties.cs
- unitconverter.cs
- ServiceModelActivity.cs
- AdRotator.cs
- XmlSchema.cs
- CharStorage.cs
- EFTableProvider.cs
- TextFindEngine.cs
- tibetanshape.cs
- FontEmbeddingManager.cs
- XmlLanguageConverter.cs
- KeyValueConfigurationCollection.cs
- BitConverter.cs
- objectresult_tresulttype.cs