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
- TypeDescriptionProvider.cs
- InterleavedZipPartStream.cs
- DiscreteKeyFrames.cs
- cryptoapiTransform.cs
- GroupItemAutomationPeer.cs
- Typeface.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- DataControlFieldCollection.cs
- BStrWrapper.cs
- ResetableIterator.cs
- DataPagerField.cs
- WebPartTransformer.cs
- WebBrowserNavigatingEventHandler.cs
- NameSpaceEvent.cs
- ContentFilePart.cs
- TextTreeTextBlock.cs
- PermissionSetEnumerator.cs
- SrgsRuleRef.cs
- ExpressionWriter.cs
- ComPersistableTypeElementCollection.cs
- PerformanceCountersElement.cs
- ThreadExceptionEvent.cs
- XMLSchema.cs
- CalendarTable.cs
- InkCanvasInnerCanvas.cs
- OrderToken.cs
- EventMemberCodeDomSerializer.cs
- EntitySetBaseCollection.cs
- ThreadAttributes.cs
- UserValidatedEventArgs.cs
- DBConnection.cs
- ImageCodecInfo.cs
- Substitution.cs
- XmlAnyElementAttribute.cs
- Track.cs
- PeerCollaborationPermission.cs
- URI.cs
- ProfilePropertyNameValidator.cs
- TableStyle.cs
- StructuredType.cs
- BindingMemberInfo.cs
- ConditionCollection.cs
- CodeLabeledStatement.cs
- XmlSchemaSimpleTypeRestriction.cs
- __Filters.cs
- ManifestSignedXml.cs
- SponsorHelper.cs
- FacetChecker.cs
- TreeViewItemAutomationPeer.cs
- XhtmlBasicObjectListAdapter.cs
- DbConnectionFactory.cs
- DesignerOptionService.cs
- SqlClientMetaDataCollectionNames.cs
- InfoCardUIAgent.cs
- ConfigurationException.cs
- DataGridCaption.cs
- AsyncResult.cs
- SHA384Cng.cs
- XmlBuffer.cs
- HtmlForm.cs
- CodeConditionStatement.cs
- ProfilePropertyNameValidator.cs
- ComponentEditorPage.cs
- SoapTransportImporter.cs
- ReadOnlyPropertyMetadata.cs
- LocalizableAttribute.cs
- Compress.cs
- ObjectDataSourceView.cs
- BamlTreeNode.cs
- ComboBox.cs
- AliasExpr.cs
- AnimationClockResource.cs
- DataAccessException.cs
- MulticastIPAddressInformationCollection.cs
- IPEndPoint.cs
- DeclaredTypeElement.cs
- TextElementEnumerator.cs
- XmlSchemaAttribute.cs
- BuilderPropertyEntry.cs
- EnumerableRowCollectionExtensions.cs
- EditingCommands.cs
- DocComment.cs
- GlyphRun.cs
- LiteralLink.cs
- VolatileResourceManager.cs
- ObjectParameterCollection.cs
- DropShadowBitmapEffect.cs
- AvTrace.cs
- LinqDataSourceView.cs
- SecurityResources.cs
- BinaryObjectReader.cs
- ScopeElement.cs
- DBConcurrencyException.cs
- DesignTimeSiteMapProvider.cs
- WebPartCancelEventArgs.cs
- FieldBuilder.cs
- DelegatingTypeDescriptionProvider.cs
- ErrorHandler.cs
- Calendar.cs
- ArrangedElementCollection.cs