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
- DataControlFieldCollection.cs
- XmlTypeMapping.cs
- DelegateArgument.cs
- ConfigXmlWhitespace.cs
- ToggleButton.cs
- MembershipUser.cs
- StoreContentChangedEventArgs.cs
- StylusShape.cs
- AssemblyName.cs
- Package.cs
- LZCodec.cs
- SortQuery.cs
- TrustManagerMoreInformation.cs
- SmtpAuthenticationManager.cs
- TemplateBuilder.cs
- OdbcParameter.cs
- JpegBitmapDecoder.cs
- ColumnTypeConverter.cs
- Base64Decoder.cs
- HasCopySemanticsAttribute.cs
- UrlMappingsSection.cs
- DataSysAttribute.cs
- TemplateBuilder.cs
- Page.cs
- RegexWorker.cs
- UserNamePasswordValidationMode.cs
- DateTimeParse.cs
- ErrorTableItemStyle.cs
- CmsInterop.cs
- BadImageFormatException.cs
- CompiledQuery.cs
- CodePageEncoding.cs
- CorrelationResolver.cs
- Currency.cs
- AdCreatedEventArgs.cs
- ObjectDataSourceEventArgs.cs
- FlowDocument.cs
- CommandManager.cs
- HttpResponse.cs
- TextTreeUndoUnit.cs
- Transform3DGroup.cs
- InvokePatternIdentifiers.cs
- ConnectionPoint.cs
- WebPartConnectionCollection.cs
- DetailsViewPagerRow.cs
- Journal.cs
- ProfilePropertyMetadata.cs
- ColumnResizeAdorner.cs
- CollectionChangedEventManager.cs
- Context.cs
- TransformPatternIdentifiers.cs
- SqlComparer.cs
- HttpWebRequest.cs
- XPathPatternParser.cs
- Overlapped.cs
- PersonalizableAttribute.cs
- CommandSet.cs
- RegexTree.cs
- ListViewInsertedEventArgs.cs
- Accessible.cs
- UpdateTracker.cs
- NonSerializedAttribute.cs
- ButtonDesigner.cs
- SecurityTokenException.cs
- Descriptor.cs
- XmlDocumentSerializer.cs
- StateChangeEvent.cs
- X509SecurityToken.cs
- EventListener.cs
- DataServiceHostWrapper.cs
- MsmqHostedTransportConfiguration.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- FontStyle.cs
- Themes.cs
- SessionPageStateSection.cs
- WindowsButton.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DetailsViewPageEventArgs.cs
- ValueChangedEventManager.cs
- MemberBinding.cs
- ProfileService.cs
- DeferredRunTextReference.cs
- StorageMappingFragment.cs
- SqlReorderer.cs
- TextEditorTyping.cs
- initElementDictionary.cs
- TimelineGroup.cs
- XmlLinkedNode.cs
- WindowsAuthenticationEventArgs.cs
- TemplateBindingExpressionConverter.cs
- sqlcontext.cs
- AnonymousIdentificationModule.cs
- ClickablePoint.cs
- HyperLinkStyle.cs
- Vector3D.cs
- LinkClickEvent.cs
- SqlAggregateChecker.cs
- Content.cs
- ContainerActivationHelper.cs
- Exception.cs