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
- ScriptModule.cs
- DateTimeHelper.cs
- XmlSecureResolver.cs
- Inline.cs
- ClientScriptManager.cs
- FixedNode.cs
- ComponentRenameEvent.cs
- ConfigurationSectionGroupCollection.cs
- PropertyExpression.cs
- AxWrapperGen.cs
- MetadataException.cs
- GZipStream.cs
- FormViewCommandEventArgs.cs
- TileBrush.cs
- SourceItem.cs
- XmlSchemaRedefine.cs
- _SslSessionsCache.cs
- FolderLevelBuildProvider.cs
- HostingEnvironmentSection.cs
- LinkConverter.cs
- CorrelationTokenTypeConvertor.cs
- ChannelSinkStacks.cs
- UIntPtr.cs
- XmlArrayAttribute.cs
- StdValidatorsAndConverters.cs
- BitmapEffectGroup.cs
- AdapterDictionary.cs
- HttpValueCollection.cs
- WebServiceParameterData.cs
- CurrentChangingEventManager.cs
- EdmType.cs
- PropertyEntry.cs
- BamlTreeUpdater.cs
- TypeForwardedToAttribute.cs
- JpegBitmapDecoder.cs
- Track.cs
- LayoutUtils.cs
- SQLBinary.cs
- SHA256.cs
- ECDsa.cs
- DecoderExceptionFallback.cs
- DeleteIndexBinder.cs
- ExpressionDumper.cs
- Vector3DCollectionConverter.cs
- FormsAuthenticationCredentials.cs
- ManipulationPivot.cs
- InkCanvasFeedbackAdorner.cs
- TraceUtils.cs
- FixedPageProcessor.cs
- UriTemplateDispatchFormatter.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- OleDbDataReader.cs
- EventLogException.cs
- HtmlInputCheckBox.cs
- ValueTable.cs
- ConfigurationValues.cs
- ConnectionPoolManager.cs
- XamlGridLengthSerializer.cs
- TripleDES.cs
- SQLInt16Storage.cs
- ObjectView.cs
- XamlBrushSerializer.cs
- HMACSHA512.cs
- XmlDigitalSignatureProcessor.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- WebServiceReceiveDesigner.cs
- ActivationArguments.cs
- RuntimeArgumentHandle.cs
- StringFreezingAttribute.cs
- KeyBinding.cs
- ContainerUtilities.cs
- ResolveInfo.cs
- DropDownList.cs
- SchemaDeclBase.cs
- XPathItem.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- InvalidFilterCriteriaException.cs
- TdsParserSessionPool.cs
- WebConfigurationManager.cs
- ErrorRuntimeConfig.cs
- LOSFormatter.cs
- SolidColorBrush.cs
- UndoManager.cs
- BaseInfoTable.cs
- LazyTextWriterCreator.cs
- TextTreeDeleteContentUndoUnit.cs
- SafeFileMappingHandle.cs
- RegistryConfigurationProvider.cs
- WindowsImpersonationContext.cs
- OleDbCommand.cs
- BindingList.cs
- CultureSpecificCharacterBufferRange.cs
- PeerResolver.cs
- CallTemplateAction.cs
- HttpWriter.cs
- IsolatedStorageFile.cs
- TransactionChannelFactory.cs
- ShapingWorkspace.cs
- PenThreadPool.cs
- TypeReference.cs