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
- versioninfo.cs
- StrokeNodeOperations.cs
- BaseConfigurationRecord.cs
- DeviceContext2.cs
- ImageClickEventArgs.cs
- PasswordRecoveryAutoFormat.cs
- XmlSchemaComplexContentExtension.cs
- MobileRedirect.cs
- ProfessionalColors.cs
- PartialCachingControl.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- RangeContentEnumerator.cs
- ClientRoleProvider.cs
- ButtonBaseAutomationPeer.cs
- MenuItemStyleCollection.cs
- Type.cs
- HttpConfigurationContext.cs
- Command.cs
- OracleNumber.cs
- PropertiesTab.cs
- RC2.cs
- PropertyTabChangedEvent.cs
- EntityDataSourceViewSchema.cs
- ScriptingJsonSerializationSection.cs
- Interlocked.cs
- NetworkAddressChange.cs
- CommandEventArgs.cs
- COM2PropertyBuilderUITypeEditor.cs
- AssemblyNameProxy.cs
- StatusBarPanel.cs
- TextRangeAdaptor.cs
- ModuleElement.cs
- DocumentXPathNavigator.cs
- ConfigPathUtility.cs
- BaseParser.cs
- WebPart.cs
- TraceSwitch.cs
- JsonDataContract.cs
- NameValueConfigurationCollection.cs
- NavigationPropertyEmitter.cs
- DataContractSerializerSection.cs
- LinkTarget.cs
- Aggregates.cs
- CellLabel.cs
- ListMarkerLine.cs
- StringOutput.cs
- CompatibleComparer.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ListBindingHelper.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SEHException.cs
- BaseTemplateBuildProvider.cs
- PhysicalFontFamily.cs
- StorageEntitySetMapping.cs
- ELinqQueryState.cs
- SerializationInfoEnumerator.cs
- CompositeTypefaceMetrics.cs
- RijndaelManagedTransform.cs
- SafeRightsManagementEnvironmentHandle.cs
- UICuesEvent.cs
- ChangeNode.cs
- Point.cs
- MouseDevice.cs
- StylusButton.cs
- StylusDevice.cs
- UnsafeNativeMethodsTablet.cs
- LocatorGroup.cs
- EnumValidator.cs
- X509RawDataKeyIdentifierClause.cs
- CodeCommentStatement.cs
- XmlUrlResolver.cs
- StyleCollectionEditor.cs
- LoginAutoFormat.cs
- HtmlShimManager.cs
- RuntimeHelpers.cs
- LinqDataSourceUpdateEventArgs.cs
- EntityWrapper.cs
- AppendHelper.cs
- Maps.cs
- UpDownBase.cs
- MediaContextNotificationWindow.cs
- Schema.cs
- SecurityPermission.cs
- XsdDataContractImporter.cs
- WriteStateInfoBase.cs
- AuthenticationModuleElementCollection.cs
- EncoderParameter.cs
- CommonXSendMessage.cs
- ContractCodeDomInfo.cs
- QueryActivatableWorkflowsCommand.cs
- BasePattern.cs
- ObjectDisposedException.cs
- TargetPerspective.cs
- SQLDecimal.cs
- DispatcherOperation.cs
- CellQuery.cs
- CacheDependency.cs
- HtmlControlPersistable.cs
- BatchWriter.cs
- WeakRefEnumerator.cs