Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / XhtmlAdapters / XhtmlBasicPanelAdapter.cs / 1305376 / XhtmlBasicPanelAdapter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Security.Permissions; using System.Web.Mobile; using System.Web.UI.MobileControls; using System.Web.UI.MobileControls.Adapters; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource.XhtmlAdapters #else namespace System.Web.UI.MobileControls.Adapters.XhtmlAdapters #endif { ///[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 XhtmlPanelAdapter : XhtmlControlAdapter { /// protected new Panel Control { get { return base.Control as Panel; } } /// public override void Render(XhtmlMobileTextWriter writer) { if (Control.Content != null) { Control.Content.RenderControl(writer); } else { ConditionalEnterStyle(writer, Style); ConditionalRenderOpeningDivElement(writer); RenderChildren(writer); ConditionalSetPendingBreak(writer); ConditionalRenderClosingDivElement(writer); ConditionalExitStyle(writer, Style); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.Security.Permissions; using System.Web.Mobile; using System.Web.UI.MobileControls; using System.Web.UI.MobileControls.Adapters; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource.XhtmlAdapters #else namespace System.Web.UI.MobileControls.Adapters.XhtmlAdapters #endif { ///[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 XhtmlPanelAdapter : XhtmlControlAdapter { /// protected new Panel Control { get { return base.Control as Panel; } } /// public override void Render(XhtmlMobileTextWriter writer) { if (Control.Content != null) { Control.Content.RenderControl(writer); } else { ConditionalEnterStyle(writer, Style); ConditionalRenderOpeningDivElement(writer); RenderChildren(writer); ConditionalSetPendingBreak(writer); ConditionalRenderClosingDivElement(writer); ConditionalExitStyle(writer, 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
- Base64Encoder.cs
- Identity.cs
- DataGridDetailsPresenterAutomationPeer.cs
- CacheHelper.cs
- FormsAuthenticationUser.cs
- xmlfixedPageInfo.cs
- FrameworkElementFactory.cs
- ParsedAttributeCollection.cs
- FontStretchConverter.cs
- Convert.cs
- CheckBoxFlatAdapter.cs
- GridViewCommandEventArgs.cs
- WindowsTreeView.cs
- ImageInfo.cs
- safesecurityhelperavalon.cs
- ObjectSpanRewriter.cs
- MimeMapping.cs
- TextEditorTyping.cs
- TraceUtils.cs
- DataControlFieldCollection.cs
- IxmlLineInfo.cs
- BuildResultCache.cs
- Object.cs
- FrameAutomationPeer.cs
- DomainUpDown.cs
- SplitContainer.cs
- UseLicense.cs
- DataGridViewHeaderCell.cs
- MemberAccessException.cs
- PointKeyFrameCollection.cs
- Touch.cs
- ParameterToken.cs
- ObjectStorage.cs
- streamingZipPartStream.cs
- Application.cs
- WebPartCatalogCloseVerb.cs
- OneOfElement.cs
- WebPartVerb.cs
- GroupBoxAutomationPeer.cs
- TriggerBase.cs
- PeerObject.cs
- OdbcTransaction.cs
- EntityDataSourceConfigureObjectContext.cs
- SystemIPAddressInformation.cs
- RewritingProcessor.cs
- IndexedWhereQueryOperator.cs
- SimpleWorkerRequest.cs
- TextAnchor.cs
- ExpressionVisitorHelpers.cs
- XmlSchemaComplexContentRestriction.cs
- InputMethod.cs
- XmlC14NWriter.cs
- ObjectDataSourceMethodEventArgs.cs
- CreateWorkflowOwnerCommand.cs
- UniformGrid.cs
- DataListItem.cs
- ValueConversionAttribute.cs
- CodeObject.cs
- ConfigurationPermission.cs
- TableTextElementCollectionInternal.cs
- MailAddressCollection.cs
- CodeNamespaceCollection.cs
- IsolatedStorageFile.cs
- GridViewRowPresenter.cs
- EventDescriptor.cs
- ScrollBar.cs
- SpeakCompletedEventArgs.cs
- SmuggledIUnknown.cs
- DataQuery.cs
- AuthorizationRule.cs
- PublishLicense.cs
- DataControlPagerLinkButton.cs
- Int32Rect.cs
- AsyncCompletedEventArgs.cs
- MappingSource.cs
- ConstantCheck.cs
- ProviderCommandInfoUtils.cs
- ExpressionVisitorHelpers.cs
- XmlEnumAttribute.cs
- JsonFormatGeneratorStatics.cs
- DES.cs
- CorrelationTokenInvalidatedHandler.cs
- SimpleLine.cs
- GPRECT.cs
- Rectangle.cs
- AssemblyHelper.cs
- HtmlInputRadioButton.cs
- XamlToRtfParser.cs
- StickyNoteContentControl.cs
- CannotUnloadAppDomainException.cs
- LinqDataSourceValidationException.cs
- PerformanceCounterManager.cs
- COM2PropertyDescriptor.cs
- GroupItem.cs
- FileSystemEventArgs.cs
- KeyInfo.cs
- WebPartTransformerAttribute.cs
- WebPartDisplayMode.cs
- SqlDependency.cs
- NodeFunctions.cs