Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / LayoutTableCell.cs / 1 / LayoutTableCell.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Security.Permissions; using System.Web; ////// Table cell used for laying out controls in a Render method. Doesn't parent added controls, so /// it is safe to add child controls to this table. Sets page of added controls if not already set. /// Used by LayoutTable. Top-level class instead of private so LayoutTableCells can be added dynamically /// to LayoutTable. /// internal sealed class LayoutTableCell : TableCell { protected internal override void AddedControl(Control control, int index) { if (control.Page == null) { control.Page = Page; } } protected internal override void RemovedControl(Control control) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Security.Permissions; using System.Web; ////// Table cell used for laying out controls in a Render method. Doesn't parent added controls, so /// it is safe to add child controls to this table. Sets page of added controls if not already set. /// Used by LayoutTable. Top-level class instead of private so LayoutTableCells can be added dynamically /// to LayoutTable. /// internal sealed class LayoutTableCell : TableCell { protected internal override void AddedControl(Control control, int index) { if (control.Page == null) { control.Page = Page; } } protected internal override void RemovedControl(Control control) { } } } // 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
- WindowHideOrCloseTracker.cs
- GeometryDrawing.cs
- DescendantOverDescendantQuery.cs
- SqlSupersetValidator.cs
- WindowPattern.cs
- XmlText.cs
- Misc.cs
- SiteMapProvider.cs
- FontDifferentiator.cs
- Pair.cs
- LexicalChunk.cs
- PolicyUnit.cs
- SelectionListComponentEditor.cs
- FilteredAttributeCollection.cs
- ResourceDisplayNameAttribute.cs
- XamlFxTrace.cs
- TextOptions.cs
- AuthenticationService.cs
- HostedHttpTransportManager.cs
- MemberDomainMap.cs
- SqlWebEventProvider.cs
- HttpServerUtilityBase.cs
- TextAction.cs
- SafeTimerHandle.cs
- DataGridTextBoxColumn.cs
- ExtensibleClassFactory.cs
- ILGenerator.cs
- ReflectTypeDescriptionProvider.cs
- EventBuilder.cs
- StringAnimationUsingKeyFrames.cs
- Vector3DCollection.cs
- BroadcastEventHelper.cs
- SamlAssertionKeyIdentifierClause.cs
- OutputScopeManager.cs
- PermissionSetEnumerator.cs
- CacheDependency.cs
- UnsafeNativeMethods.cs
- LinqDataSourceDeleteEventArgs.cs
- BaseCollection.cs
- PropertyDescriptorCollection.cs
- UdpSocket.cs
- ApplicationHost.cs
- LeaseManager.cs
- ClientSettingsStore.cs
- DataTablePropertyDescriptor.cs
- NameValueCache.cs
- ContourSegment.cs
- FilteredReadOnlyMetadataCollection.cs
- FontStretch.cs
- NavigatorInvalidBodyAccessException.cs
- DataViewManager.cs
- _LocalDataStoreMgr.cs
- AnnotationMap.cs
- CultureMapper.cs
- ServiceHostingEnvironment.cs
- __Error.cs
- Menu.cs
- AuthenticationModuleElementCollection.cs
- QilScopedVisitor.cs
- ResourceDisplayNameAttribute.cs
- SelectedDatesCollection.cs
- FastEncoder.cs
- TemplateComponentConnector.cs
- DSASignatureFormatter.cs
- SQLDouble.cs
- XmlIgnoreAttribute.cs
- DetailsViewRow.cs
- RotationValidation.cs
- DBCommand.cs
- TdsEnums.cs
- LoginCancelEventArgs.cs
- DataGridViewRowsAddedEventArgs.cs
- MultiBindingExpression.cs
- ReadWriteObjectLock.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AddInEnvironment.cs
- SendActivityDesignerTheme.cs
- WriteTimeStream.cs
- ClosableStream.cs
- PropertyGeneratedEventArgs.cs
- NameValueFileSectionHandler.cs
- OpenFileDialog.cs
- SuppressMessageAttribute.cs
- PropertyNames.cs
- HasActivatableWorkflowEvent.cs
- AttributeAction.cs
- SqlNodeTypeOperators.cs
- SecurityRuntime.cs
- RuntimeWrappedException.cs
- CommentEmitter.cs
- WebPartsSection.cs
- DomainConstraint.cs
- RequestCachePolicyConverter.cs
- UpdatePanelTriggerCollection.cs
- DbProviderFactories.cs
- ListControlActionList.cs
- securitymgrsite.cs
- EncoderNLS.cs
- DBSchemaRow.cs
- ProcessThreadCollection.cs