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
- FormViewUpdatedEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- MarkedHighlightComponent.cs
- DurableInstanceContextProvider.cs
- ScriptingJsonSerializationSection.cs
- ObjectSecurity.cs
- RuntimeEnvironment.cs
- BindingBase.cs
- Inline.cs
- EventSourceCreationData.cs
- Funcletizer.cs
- DataObjectCopyingEventArgs.cs
- PartitionResolver.cs
- Statements.cs
- Assert.cs
- SqlNamer.cs
- FirewallWrapper.cs
- TagPrefixInfo.cs
- ObfuscationAttribute.cs
- TextContainerChangeEventArgs.cs
- Camera.cs
- XmlAtomicValue.cs
- MetadataProperty.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- CodeThrowExceptionStatement.cs
- AppSettingsSection.cs
- UnmanagedBitmapWrapper.cs
- Bold.cs
- StorageBasedPackageProperties.cs
- LassoHelper.cs
- NativeMsmqMessage.cs
- ProfileParameter.cs
- MimeTypeMapper.cs
- IdentityReference.cs
- WebPartDeleteVerb.cs
- XmlSchemaRedefine.cs
- PolicyValidationException.cs
- QuotedPrintableStream.cs
- TrustManagerPromptUI.cs
- XmlName.cs
- MobileListItem.cs
- DecoderFallback.cs
- CallbackValidator.cs
- EnterpriseServicesHelper.cs
- MaskedTextProvider.cs
- ObjectIDGenerator.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ScriptHandlerFactory.cs
- ToolBarButtonClickEvent.cs
- MetadataStore.cs
- IisTraceListener.cs
- MetadataUtil.cs
- BuiltInExpr.cs
- WebPartHelpVerb.cs
- DataGridViewUtilities.cs
- DockAndAnchorLayout.cs
- XmlDigitalSignatureProcessor.cs
- NetStream.cs
- SystemDiagnosticsSection.cs
- ItemsControl.cs
- PiiTraceSource.cs
- SafePointer.cs
- SecurityUtils.cs
- ObjectFullSpanRewriter.cs
- ConfigurationPropertyCollection.cs
- UshortList2.cs
- StreamInfo.cs
- AdRotator.cs
- NameValuePair.cs
- BindableAttribute.cs
- FieldDescriptor.cs
- CmsInterop.cs
- XPathAncestorQuery.cs
- PropertyEntry.cs
- precedingsibling.cs
- DelegatedStream.cs
- MouseCaptureWithinProperty.cs
- PartDesigner.cs
- ApplicationSecurityInfo.cs
- AutomationAttributeInfo.cs
- DataGridViewImageCell.cs
- OutputCacheProviderCollection.cs
- RectangleF.cs
- XMLSyntaxException.cs
- __ComObject.cs
- RMEnrollmentPage3.cs
- DropShadowBitmapEffect.cs
- DecoderFallback.cs
- RemoteWebConfigurationHostStream.cs
- Completion.cs
- ExceptionValidationRule.cs
- BlurBitmapEffect.cs
- XmlSchemaCompilationSettings.cs
- PropertyToken.cs
- StringFormat.cs
- TextParaClient.cs
- ActivityTypeDesigner.xaml.cs
- SafeNativeMethods.cs
- sqlinternaltransaction.cs
- RadioButton.cs