Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BitStream.cs
- CryptoStream.cs
- MissingMethodException.cs
- SHA384Managed.cs
- Popup.cs
- ExpressionVisitorHelpers.cs
- SchemaNamespaceManager.cs
- DataGridViewHitTestInfo.cs
- HashHelper.cs
- XmlUtf8RawTextWriter.cs
- Behavior.cs
- StackBuilderSink.cs
- ImageSourceConverter.cs
- CompModSwitches.cs
- ThreadAttributes.cs
- JsonSerializer.cs
- DbConnectionPool.cs
- CultureTableRecord.cs
- UTF32Encoding.cs
- BrowserTree.cs
- InteropAutomationProvider.cs
- ArgumentException.cs
- Win32MouseDevice.cs
- SimpleHandlerBuildProvider.cs
- TextSimpleMarkerProperties.cs
- CodeObject.cs
- DataSourceConverter.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ListBox.cs
- HttpRuntimeSection.cs
- StrongTypingException.cs
- Evidence.cs
- ObjectSecurityT.cs
- TreeNodeEventArgs.cs
- AncillaryOps.cs
- Cell.cs
- DataGrid.cs
- XmlSchemaElement.cs
- ThicknessKeyFrameCollection.cs
- TextRangeEditTables.cs
- UDPClient.cs
- SystemIPAddressInformation.cs
- RootProfilePropertySettingsCollection.cs
- BindingSource.cs
- MethodBody.cs
- RegexRunner.cs
- SoapIgnoreAttribute.cs
- MasterPageBuildProvider.cs
- CustomCredentialPolicy.cs
- DataBoundControlAdapter.cs
- WorkflowInstanceExtensionManager.cs
- DesignerHost.cs
- DetailsViewCommandEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- DataGridViewHitTestInfo.cs
- RepeaterDataBoundAdapter.cs
- XamlFxTrace.cs
- QualifiedCellIdBoolean.cs
- InitializationEventAttribute.cs
- ScrollBarRenderer.cs
- Errors.cs
- FormatVersion.cs
- CodeSnippetExpression.cs
- SqlTriggerAttribute.cs
- Size.cs
- TextReader.cs
- HtmlTable.cs
- ResumeStoryboard.cs
- InputLanguageSource.cs
- XsdDateTime.cs
- ObjectListTitleAttribute.cs
- TableFieldsEditor.cs
- TimeSpanValidator.cs
- hresults.cs
- StringOutput.cs
- DesignSurfaceManager.cs
- ResourceKey.cs
- PointCollectionValueSerializer.cs
- BitmapEffectDrawingContextState.cs
- Brush.cs
- EntityCommand.cs
- ItemList.cs
- RemotingServices.cs
- XamlWriter.cs
- BinaryFormatterWriter.cs
- BamlResourceContent.cs
- WindowsGraphics.cs
- Grid.cs
- ScaleTransform3D.cs
- EntryPointNotFoundException.cs
- Binding.cs
- RestrictedTransactionalPackage.cs
- CodeGenerator.cs
- ProviderMetadataCachedInformation.cs
- StringValueSerializer.cs
- DeferrableContentConverter.cs
- BrowserCapabilitiesFactory.cs
- webeventbuffer.cs
- CodeDomLocalizationProvider.cs
- Rfc2898DeriveBytes.cs