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
- OleDbConnectionPoolGroupProviderInfo.cs
- lengthconverter.cs
- DockProviderWrapper.cs
- WindowsTab.cs
- ActivationProxy.cs
- BordersPage.cs
- EntityReference.cs
- CodeGroup.cs
- IISUnsafeMethods.cs
- WebSysDefaultValueAttribute.cs
- Evidence.cs
- FontNamesConverter.cs
- ConfigUtil.cs
- ResourceExpressionBuilder.cs
- SmtpAuthenticationManager.cs
- DecimalFormatter.cs
- TextCollapsingProperties.cs
- RuntimeIdentifierPropertyAttribute.cs
- ComponentDispatcher.cs
- EdmMember.cs
- SpellCheck.cs
- IISMapPath.cs
- OutputCacheSettingsSection.cs
- InvokeHandlers.cs
- CodeArrayCreateExpression.cs
- DataGridSortCommandEventArgs.cs
- DataGridViewToolTip.cs
- ColorTranslator.cs
- DiscoveryDefaults.cs
- WorkerProcess.cs
- MenuCommand.cs
- UnmanagedHandle.cs
- ReferenceEqualityComparer.cs
- AppDomainProtocolHandler.cs
- RenderTargetBitmap.cs
- XslCompiledTransform.cs
- BaseTemplateParser.cs
- MatrixCamera.cs
- Deserializer.cs
- ObjectSecurity.cs
- NativeRightsManagementAPIsStructures.cs
- TextDecorationCollection.cs
- Model3D.cs
- BrowserInteropHelper.cs
- PriorityQueue.cs
- WindowShowOrOpenTracker.cs
- ReadOnlyPropertyMetadata.cs
- RuleSetDialog.Designer.cs
- SmiConnection.cs
- SessionState.cs
- SystemIPGlobalProperties.cs
- XmlSchemaInferenceException.cs
- CodeSubDirectoriesCollection.cs
- PhysicalFontFamily.cs
- DiscardableAttribute.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- PageHandlerFactory.cs
- NamespaceList.cs
- ETagAttribute.cs
- IncrementalCompileAnalyzer.cs
- AsymmetricSignatureDeformatter.cs
- AccessedThroughPropertyAttribute.cs
- BufferBuilder.cs
- DataGridViewCellStyleConverter.cs
- GraphicsPathIterator.cs
- ThreadExceptionEvent.cs
- FixedSchema.cs
- EntityClassGenerator.cs
- ProcessModule.cs
- PropertyChangeTracker.cs
- HandlerFactoryWrapper.cs
- WebPartTracker.cs
- AppSettingsReader.cs
- ForeignKeyConstraint.cs
- CompilerLocalReference.cs
- InvalidCommandTreeException.cs
- ListViewHitTestInfo.cs
- StringSource.cs
- BigInt.cs
- SecurityCookieModeValidator.cs
- Assert.cs
- FixedSOMLineCollection.cs
- StringWriter.cs
- DecoderExceptionFallback.cs
- XmlReflectionMember.cs
- OrderPreservingSpoolingTask.cs
- SafeEventLogWriteHandle.cs
- ApplicationProxyInternal.cs
- DecoderBestFitFallback.cs
- xdrvalidator.cs
- CallTemplateAction.cs
- EditingMode.cs
- TypedReference.cs
- LinearGradientBrush.cs
- Cell.cs
- DragDrop.cs
- Compiler.cs
- handlecollector.cs
- VolatileEnlistmentMultiplexing.cs
- DBCSCodePageEncoding.cs