Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / Adapters / WebControlAdapter.cs / 1305376 / WebControlAdapter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.Adapters { using System; using System.Web; using System.Web.UI; using System.Web.UI.Adapters; // Provides adaptive rendering for a web control. 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ObjectQuery.cs
- FormViewUpdatedEventArgs.cs
- SynchronizedChannelCollection.cs
- DataReaderContainer.cs
- IfJoinedCondition.cs
- TagPrefixAttribute.cs
- DocumentPageViewAutomationPeer.cs
- DataTablePropertyDescriptor.cs
- MsmqInputChannelListenerBase.cs
- SharedStatics.cs
- ServiceContractGenerationContext.cs
- TakeQueryOptionExpression.cs
- UnsafeCollabNativeMethods.cs
- FocusWithinProperty.cs
- BooleanFacetDescriptionElement.cs
- SHA512Managed.cs
- DataBoundControl.cs
- GACMembershipCondition.cs
- FastPropertyAccessor.cs
- SqlDataSourceCommandParser.cs
- PathGeometry.cs
- CommandPlan.cs
- NavigatorOutput.cs
- WebBaseEventKeyComparer.cs
- XmlNode.cs
- ToolStripSplitButton.cs
- RealProxy.cs
- ComEventsSink.cs
- MSAAEventDispatcher.cs
- FamilyMapCollection.cs
- Lazy.cs
- DataGridViewSortCompareEventArgs.cs
- backend.cs
- SoapSchemaMember.cs
- Registry.cs
- DataReceivedEventArgs.cs
- OletxVolatileEnlistment.cs
- HtmlWindowCollection.cs
- ProjectionPruner.cs
- TargetParameterCountException.cs
- ClientRuntimeConfig.cs
- SelectionListComponentEditor.cs
- WrappedOptions.cs
- UIElement.cs
- GroupQuery.cs
- BindingUtils.cs
- TriggerAction.cs
- TreeViewImageKeyConverter.cs
- ToolStripDropDownClosedEventArgs.cs
- SHA256.cs
- X509SecurityTokenAuthenticator.cs
- MethodCallTranslator.cs
- HotSpotCollection.cs
- XmlValidatingReader.cs
- RangeBaseAutomationPeer.cs
- DoubleLinkList.cs
- XmlSchemaSubstitutionGroup.cs
- SQLInt16.cs
- DataPagerCommandEventArgs.cs
- SByteConverter.cs
- Processor.cs
- MultiPropertyDescriptorGridEntry.cs
- EventListener.cs
- OrthographicCamera.cs
- ProviderConnectionPointCollection.cs
- WebRequest.cs
- DbSourceParameterCollection.cs
- VBIdentifierNameEditor.cs
- DetailsView.cs
- _ScatterGatherBuffers.cs
- ApplicationDirectoryMembershipCondition.cs
- DataGridCommandEventArgs.cs
- ParameterBuilder.cs
- ScopedMessagePartSpecification.cs
- SimpleRecyclingCache.cs
- SqlLiftIndependentRowExpressions.cs
- XamlTreeBuilderBamlRecordWriter.cs
- CommandManager.cs
- Console.cs
- ScopeElementCollection.cs
- WebExceptionStatus.cs
- WizardDesigner.cs
- CodeBlockBuilder.cs
- ControlParameter.cs
- XmlTextReaderImplHelpers.cs
- XmlDomTextWriter.cs
- AssemblyAttributesGoHere.cs
- AlgoModule.cs
- Enum.cs
- GrammarBuilderBase.cs
- DispatcherExceptionEventArgs.cs
- DbReferenceCollection.cs
- TextDecorations.cs
- WebBrowserDocumentCompletedEventHandler.cs
- AssemblyResourceLoader.cs
- ResetableIterator.cs
- DataRecord.cs
- MediaContext.cs
- StorageAssociationTypeMapping.cs
- ListBox.cs