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
- CompilationUnit.cs
- StyleHelper.cs
- Rotation3D.cs
- KeyValuePair.cs
- RelationshipType.cs
- EventMap.cs
- InstanceLockLostException.cs
- XmlSchemaFacet.cs
- TrustSection.cs
- ListGeneralPage.cs
- JpegBitmapDecoder.cs
- WindowClosedEventArgs.cs
- SoapSchemaMember.cs
- PagedDataSource.cs
- ArrangedElement.cs
- ViewUtilities.cs
- XmlParserContext.cs
- RenderCapability.cs
- RawAppCommandInputReport.cs
- PriorityRange.cs
- HtmlElementErrorEventArgs.cs
- TypedAsyncResult.cs
- StrokeDescriptor.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- SafeLibraryHandle.cs
- RoutedEventConverter.cs
- MarkerProperties.cs
- AdornerDecorator.cs
- SerialPinChanges.cs
- CurrencyManager.cs
- UnSafeCharBuffer.cs
- VerticalConnector.xaml.cs
- Helpers.cs
- SQLGuid.cs
- CalendarKeyboardHelper.cs
- SelectionEditor.cs
- ThicknessAnimation.cs
- StringAnimationBase.cs
- StandardCommandToolStripMenuItem.cs
- TypeToken.cs
- BitmapEffectInput.cs
- ToolStripItemGlyph.cs
- ProcessHostConfigUtils.cs
- TextRangeEdit.cs
- SafeNativeMethods.cs
- RIPEMD160Managed.cs
- DataGridLength.cs
- CompModSwitches.cs
- NullableFloatAverageAggregationOperator.cs
- HtmlWindowCollection.cs
- WindowsFormsDesignerOptionService.cs
- CleanUpVirtualizedItemEventArgs.cs
- FontFamilyValueSerializer.cs
- DataGridViewImageColumn.cs
- CopyAction.cs
- InlineObject.cs
- SoapAttributes.cs
- SortKey.cs
- TableRowGroup.cs
- BamlResourceSerializer.cs
- EventMemberCodeDomSerializer.cs
- SspiNegotiationTokenAuthenticatorState.cs
- FormView.cs
- MexHttpsBindingCollectionElement.cs
- DispatcherProcessingDisabled.cs
- cryptoapiTransform.cs
- WebPartDescription.cs
- GPPOINT.cs
- GridToolTip.cs
- WorkflowRuntimeServiceElement.cs
- BlurBitmapEffect.cs
- RootContext.cs
- MissingMemberException.cs
- RegexInterpreter.cs
- InternalMappingException.cs
- EndpointInstanceProvider.cs
- PathGeometry.cs
- BamlResourceContent.cs
- UriScheme.cs
- WindowsNonControl.cs
- PageCache.cs
- mediaeventshelper.cs
- WinInet.cs
- ColumnResizeUndoUnit.cs
- WindowsSpinner.cs
- Converter.cs
- ItemMap.cs
- TreeViewBindingsEditorForm.cs
- EntityDataReader.cs
- DoWorkEventArgs.cs
- IResourceProvider.cs
- HttpResponseInternalWrapper.cs
- precedingsibling.cs
- CellIdBoolean.cs
- ObjectStateFormatter.cs
- Relationship.cs
- LoginCancelEventArgs.cs
- ReadOnlyCollectionBase.cs
- AssemblyAttributesGoHere.cs
- PointValueSerializer.cs