Code:
/ FX-1434 / FX-1434 / 1.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
- PropertyGrid.cs
- SqlDataSourceEnumerator.cs
- ResourceDisplayNameAttribute.cs
- Activity.cs
- HttpConfigurationSystem.cs
- FullTextBreakpoint.cs
- ResourceDescriptionAttribute.cs
- BaseValidator.cs
- CaseExpr.cs
- StrokeNodeOperations2.cs
- ConfigurationManagerInternal.cs
- DrawingAttributeSerializer.cs
- EndpointAddress10.cs
- ManagementQuery.cs
- ServiceOperationViewControl.cs
- MatrixAnimationBase.cs
- SQLInt64Storage.cs
- TCPListener.cs
- SqlRowUpdatedEvent.cs
- StreamHelper.cs
- AttachedAnnotationChangedEventArgs.cs
- ZoneIdentityPermission.cs
- DataTableReaderListener.cs
- IisTraceListener.cs
- SRef.cs
- XmlSerializationReader.cs
- HScrollProperties.cs
- CngKeyCreationParameters.cs
- ActivityExecutor.cs
- ErrorFormatterPage.cs
- CancelEventArgs.cs
- Ops.cs
- ExtendedProtectionPolicy.cs
- RelAssertionDirectKeyIdentifierClause.cs
- TemplateEditingVerb.cs
- RectValueSerializer.cs
- Screen.cs
- FormsAuthenticationUserCollection.cs
- UserPersonalizationStateInfo.cs
- WindowsPen.cs
- HostedElements.cs
- MimeMapping.cs
- CategoryEditor.cs
- FileUpload.cs
- EdmValidator.cs
- Exception.cs
- ConfigurationElementCollection.cs
- DbConnectionStringCommon.cs
- ScrollPattern.cs
- ModulesEntry.cs
- IncrementalHitTester.cs
- BaseResourcesBuildProvider.cs
- ClientData.cs
- EventLogInternal.cs
- HtmlLabelAdapter.cs
- PathFigure.cs
- PathParser.cs
- _UriSyntax.cs
- ProviderConnectionPointCollection.cs
- StylusSystemGestureEventArgs.cs
- CodeSubDirectory.cs
- AssemblyBuilder.cs
- DEREncoding.cs
- XmlDataContract.cs
- ProviderUtil.cs
- CodeExporter.cs
- DbProviderManifest.cs
- CatalogPart.cs
- ScrollItemProviderWrapper.cs
- ClientTargetCollection.cs
- HttpCookie.cs
- DataGridViewCellEventArgs.cs
- ListControl.cs
- RayMeshGeometry3DHitTestResult.cs
- EmptyControlCollection.cs
- SessionStateItemCollection.cs
- ResourceWriter.cs
- RemotingSurrogateSelector.cs
- EditableTreeList.cs
- BidPrivateBase.cs
- TypedRowGenerator.cs
- HwndKeyboardInputProvider.cs
- StreamInfo.cs
- HashRepartitionEnumerator.cs
- RegexInterpreter.cs
- SqlInternalConnectionTds.cs
- XsltOutput.cs
- IncrementalReadDecoders.cs
- SqlCacheDependencySection.cs
- BoolExpression.cs
- ZipIOExtraFieldZip64Element.cs
- MessageFault.cs
- DeploymentSection.cs
- GridViewEditEventArgs.cs
- Parser.cs
- _Events.cs
- MobilePage.cs
- IndexerHelper.cs
- ListenerUnsafeNativeMethods.cs
- StylusButtonCollection.cs