Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / Adapters / WebControlAdapter.cs / 1 / WebControlAdapter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.Adapters { using System; using System.Security.Permissions; using System.Web; using System.Web.UI; using System.Web.UI.Adapters; // Provides adaptive rendering for a web control. [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class WebControlAdapter : ControlAdapter { // Returns a strongly typed control instance. protected new WebControl Control { get { return (WebControl)base.Control; } } /// Indicates whether the associated WebControl is enabled /// taking into account the cascading effect of the enabled property. protected bool IsEnabled { get { return Control.IsEnabled; } } protected virtual void RenderBeginTag(HtmlTextWriter writer) { Control.RenderBeginTag(writer); } protected virtual void RenderEndTag(HtmlTextWriter writer) { Control.RenderEndTag(writer); } protected virtual void RenderContents(HtmlTextWriter writer) { Control.RenderContents(writer); } protected internal override void Render(HtmlTextWriter writer) { RenderBeginTag(writer); RenderContents(writer); RenderEndTag(writer); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IdentityModelStringsVersion1.cs
- ActivityCodeDomSerializer.cs
- UnsafeMethods.cs
- ExceptionWrapper.cs
- Mutex.cs
- CapabilitiesState.cs
- SimpleHandlerBuildProvider.cs
- ImageAttributes.cs
- DataReaderContainer.cs
- WebMethodAttribute.cs
- ScriptHandlerFactory.cs
- TableCellsCollectionEditor.cs
- TransactionFlowAttribute.cs
- Missing.cs
- PathGradientBrush.cs
- BigInt.cs
- IERequestCache.cs
- securitycriticaldata.cs
- DefaultObjectMappingItemCollection.cs
- OpCellTreeNode.cs
- EntityDataSourceReferenceGroup.cs
- ServiceChannel.cs
- ServiceDescriptionImporter.cs
- ComPlusThreadInitializer.cs
- BaseTemplatedMobileComponentEditor.cs
- OleDbRowUpdatedEvent.cs
- Geometry3D.cs
- Point3DValueSerializer.cs
- AndCondition.cs
- COSERVERINFO.cs
- SettingsSection.cs
- ThrowHelper.cs
- ValidationError.cs
- ClientRoleProvider.cs
- StorageConditionPropertyMapping.cs
- CardSpaceSelector.cs
- XmlSchemaComplexContent.cs
- ManagementBaseObject.cs
- MethodCallTranslator.cs
- TableCell.cs
- NetSectionGroup.cs
- PropertyTabAttribute.cs
- CodeConstructor.cs
- InkCanvasSelection.cs
- Triplet.cs
- MessageDecoder.cs
- BevelBitmapEffect.cs
- UserNamePasswordValidator.cs
- CqlWriter.cs
- FollowerQueueCreator.cs
- XmlSchemaAny.cs
- UnauthorizedAccessException.cs
- PipeSecurity.cs
- ZipFileInfo.cs
- QueuedDeliveryRequirementsMode.cs
- XPathMessageContext.cs
- KeyedCollection.cs
- IdentityManager.cs
- Debugger.cs
- DelayedRegex.cs
- XmlSchemaComplexContentRestriction.cs
- GlyphShapingProperties.cs
- CheckBoxList.cs
- StylusButtonCollection.cs
- ProfileGroupSettingsCollection.cs
- SqlMultiplexer.cs
- FillRuleValidation.cs
- streamingZipPartStream.cs
- SpecularMaterial.cs
- Timeline.cs
- StylusCaptureWithinProperty.cs
- MetadataArtifactLoaderComposite.cs
- EventDrivenDesigner.cs
- TreeViewBindingsEditor.cs
- SystemParameters.cs
- ToolStripOverflowButton.cs
- ColorMap.cs
- ItemCollection.cs
- SafeNativeMethodsOther.cs
- ReadOnlyDictionary.cs
- FilteredXmlReader.cs
- XmlSchemaObjectTable.cs
- OleDbRowUpdatedEvent.cs
- BoundColumn.cs
- ValidateNames.cs
- MessageContractMemberAttribute.cs
- HtmlForm.cs
- DataGridViewCellPaintingEventArgs.cs
- ImageBrush.cs
- SystemBrushes.cs
- CalendarDesigner.cs
- WorkflowApplicationIdleEventArgs.cs
- StandardOleMarshalObject.cs
- Matrix.cs
- PtsPage.cs
- HttpClientChannel.cs
- DataRow.cs
- DesignerCatalogPartChrome.cs
- GridViewSelectEventArgs.cs
- ISAPIWorkerRequest.cs