Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebParts / ConnectionsZoneAutoFormat.cs / 1 / ConnectionsZoneAutoFormat.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls.WebParts { using System.Data; using System.Design; using System.Web.UI.WebControls.WebParts; internal sealed class ConnectionsZoneAutoFormat : BaseAutoFormat { internal const string PreviewControlID = "AutoFormatPreviewControl"; public ConnectionsZoneAutoFormat(DataRow schemeData) : base(schemeData) { // Use default height Style.Width = 225; } public override Control GetPreviewControl(Control runtimeControl) { ConnectionsZone previewZone = (ConnectionsZone)base.GetPreviewControl(runtimeControl); // Set the ID of the zone to the special PreviewControlID, so the ConnectionsZoneDesigner // doesn't render the placeholder for this control in the AutoFormat dialog, regardless // of whether ViewInEditMode is true. previewZone.ID = PreviewControlID; return previewZone; } } } // 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
- CloseCryptoHandleRequest.cs
- ClientSponsor.cs
- MediaPlayerState.cs
- TransformPattern.cs
- StructuredProperty.cs
- ClickablePoint.cs
- _AutoWebProxyScriptEngine.cs
- MaskDescriptor.cs
- Size3DConverter.cs
- Queue.cs
- InvalidTimeZoneException.cs
- ToolStripArrowRenderEventArgs.cs
- XmlCharacterData.cs
- ProxyGenerationError.cs
- IntegerFacetDescriptionElement.cs
- WsdlHelpGeneratorElement.cs
- PropertyInfoSet.cs
- BindingCollection.cs
- OdbcTransaction.cs
- MutexSecurity.cs
- TextBoxBase.cs
- Number.cs
- IndentedWriter.cs
- QueryCacheEntry.cs
- ConfigXmlAttribute.cs
- NonVisualControlAttribute.cs
- SafeCryptoKeyHandle.cs
- NamedPermissionSet.cs
- AlternateView.cs
- MarkerProperties.cs
- _IPv6Address.cs
- TableFieldsEditor.cs
- DataServiceConfiguration.cs
- ArglessEventHandlerProxy.cs
- DockAndAnchorLayout.cs
- UriTemplateVariableQueryValue.cs
- ToolStripManager.cs
- XmlNodeChangedEventManager.cs
- TableCell.cs
- HtmlTableCell.cs
- Control.cs
- IndependentAnimationStorage.cs
- ClientBase.cs
- KnownTypesHelper.cs
- DelegatingTypeDescriptionProvider.cs
- ImageSource.cs
- WebPartsSection.cs
- StringReader.cs
- ZoneMembershipCondition.cs
- MergeEnumerator.cs
- ChangeTracker.cs
- Facet.cs
- AttachedAnnotationChangedEventArgs.cs
- PropertyItemInternal.cs
- WindowsListViewGroupSubsetLink.cs
- MetafileHeader.cs
- RequestCachingSection.cs
- SafeArrayTypeMismatchException.cs
- CharacterString.cs
- ProtectedConfigurationSection.cs
- FixedSOMTableRow.cs
- ErrorBehavior.cs
- TextTreeRootTextBlock.cs
- GenericIdentity.cs
- MenuAdapter.cs
- CodeTypeOfExpression.cs
- CollectionView.cs
- WrappedKeySecurityToken.cs
- FirstMatchCodeGroup.cs
- Validator.cs
- CachingHintValidation.cs
- CalculatedColumn.cs
- VersionPair.cs
- DynamicDataRouteHandler.cs
- WebResponse.cs
- ExpressionBuilderCollection.cs
- X509AsymmetricSecurityKey.cs
- SqlRecordBuffer.cs
- BCLDebug.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ServiceTimeoutsElement.cs
- XPathConvert.cs
- WebException.cs
- PlainXmlWriter.cs
- DataGridViewRowConverter.cs
- SqlDataSourceSelectingEventArgs.cs
- CacheDependency.cs
- base64Transforms.cs
- SafeRightsManagementQueryHandle.cs
- RenderCapability.cs
- WmlPhoneCallAdapter.cs
- ConnectionManagementElementCollection.cs
- UnsupportedPolicyOptionsException.cs
- TimeSpanSecondsConverter.cs
- DataPagerFieldCollection.cs
- PageSettings.cs
- BooleanFunctions.cs
- AbstractDataSvcMapFileLoader.cs
- VariableQuery.cs
- DbParameterHelper.cs