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
- RelationshipSet.cs
- XmlIlTypeHelper.cs
- FormsAuthenticationUserCollection.cs
- XmlReaderSettings.cs
- ComponentEvent.cs
- MultipartContentParser.cs
- DataGridViewCheckBoxCell.cs
- UriTemplateLiteralPathSegment.cs
- DropTarget.cs
- SortKey.cs
- QilScopedVisitor.cs
- EncryptedType.cs
- InternalTransaction.cs
- PageParser.cs
- AsymmetricKeyExchangeDeformatter.cs
- DataSourceControl.cs
- HwndStylusInputProvider.cs
- PrinterResolution.cs
- InfoCardBaseException.cs
- ScriptDescriptor.cs
- TypeDescriptionProvider.cs
- NameValueConfigurationElement.cs
- EndpointDispatcherTable.cs
- Int16AnimationUsingKeyFrames.cs
- WebServiceResponse.cs
- RewritingPass.cs
- ListViewEditEventArgs.cs
- Zone.cs
- ExecutionContext.cs
- GlyphRun.cs
- LingerOption.cs
- LocalizabilityAttribute.cs
- CapabilitiesState.cs
- ObjectStorage.cs
- CompoundFileReference.cs
- TreeNodeConverter.cs
- FormViewModeEventArgs.cs
- StringFunctions.cs
- WbmpConverter.cs
- X509CertificateCollection.cs
- ClientTarget.cs
- StreamGeometry.cs
- TailCallAnalyzer.cs
- SymbolDocumentInfo.cs
- DbConnectionPoolOptions.cs
- HorizontalAlignConverter.cs
- XmlDictionaryWriter.cs
- WebPartTransformerAttribute.cs
- CollectionCodeDomSerializer.cs
- TimeIntervalCollection.cs
- ComEventsSink.cs
- wgx_render.cs
- SiteOfOriginContainer.cs
- ProcessModule.cs
- CoreChannel.cs
- PixelShader.cs
- WebHeaderCollection.cs
- EntityDesignerDataSourceView.cs
- GeometryCombineModeValidation.cs
- XmlTypeMapping.cs
- CellRelation.cs
- LocatorGroup.cs
- FlowLayoutPanel.cs
- StringConverter.cs
- FormClosingEvent.cs
- XmlQueryRuntime.cs
- RelatedEnd.cs
- SerialPinChanges.cs
- ExtentJoinTreeNode.cs
- WrappedIUnknown.cs
- RawMouseInputReport.cs
- DocumentXPathNavigator.cs
- MailDefinition.cs
- TypedDataSetSchemaImporterExtension.cs
- MarshalDirectiveException.cs
- DataFieldConverter.cs
- SqlProviderUtilities.cs
- X509Certificate.cs
- ServiceOperationParameter.cs
- XmlSignatureManifest.cs
- TransactionScopeDesigner.cs
- InvokeProviderWrapper.cs
- ElementUtil.cs
- Normalization.cs
- UnmanagedMemoryStream.cs
- LockCookie.cs
- UserPreferenceChangedEventArgs.cs
- RegexReplacement.cs
- DataBoundControlAdapter.cs
- GetWinFXPath.cs
- PageRequestManager.cs
- login.cs
- CacheRequest.cs
- ToolStripManager.cs
- DBSchemaRow.cs
- CloudCollection.cs
- DirectoryRootQuery.cs
- TouchDevice.cs
- DesignerLabelAdapter.cs
- FileUpload.cs