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
- UTF7Encoding.cs
- DebugView.cs
- SQLString.cs
- MediaScriptCommandRoutedEventArgs.cs
- UrlMappingsModule.cs
- StructuredType.cs
- BackgroundFormatInfo.cs
- GuidConverter.cs
- NamespaceCollection.cs
- DataGridHyperlinkColumn.cs
- XmlSchemaSimpleTypeList.cs
- BitmapEffectDrawingContent.cs
- PaperSize.cs
- PolyBezierSegment.cs
- DelegatingTypeDescriptionProvider.cs
- GeometryCombineModeValidation.cs
- SID.cs
- DesignerTextBoxAdapter.cs
- PermissionRequestEvidence.cs
- Journal.cs
- TypeCollectionPropertyEditor.cs
- DataGridColumnFloatingHeader.cs
- KeyFrames.cs
- CreatingCookieEventArgs.cs
- UInt64Storage.cs
- WorkflowPageSetupDialog.cs
- HostSecurityManager.cs
- WSHttpBindingElement.cs
- ObjectResult.cs
- TextEffectResolver.cs
- TabPanel.cs
- FilteredXmlReader.cs
- AuthenticationSchemesHelper.cs
- AdapterDictionary.cs
- StackBuilderSink.cs
- JsonDeserializer.cs
- CqlIdentifiers.cs
- EdmProviderManifest.cs
- MoveSizeWinEventHandler.cs
- SignedXmlDebugLog.cs
- FixedPageProcessor.cs
- TableItemStyle.cs
- ToolStripItemCollection.cs
- MaskedTextBox.cs
- GrammarBuilderWildcard.cs
- TextBreakpoint.cs
- HtmlControl.cs
- DocumentOrderQuery.cs
- XmlEntityReference.cs
- System.Data.OracleClient_BID.cs
- CalendarDateRangeChangingEventArgs.cs
- AsyncSerializedWorker.cs
- ShaderEffect.cs
- Vector3DKeyFrameCollection.cs
- Constants.cs
- MethodToken.cs
- ServiceActivationException.cs
- SystemWebCachingSectionGroup.cs
- DurableInstancingOptions.cs
- ZeroOpNode.cs
- KeyNameIdentifierClause.cs
- MSG.cs
- XmlTypeAttribute.cs
- UserValidatedEventArgs.cs
- CodeDelegateCreateExpression.cs
- ACE.cs
- CurrentChangedEventManager.cs
- DesignerTransaction.cs
- InputProcessorProfilesLoader.cs
- CallbackValidator.cs
- GeometryCollection.cs
- CompilerParameters.cs
- DeploymentSection.cs
- SqlAliaser.cs
- SchemaElementDecl.cs
- EntryIndex.cs
- CellIdBoolean.cs
- SafeCoTaskMem.cs
- Utils.cs
- DoubleAnimationUsingPath.cs
- ManifestBasedResourceGroveler.cs
- TagNameToTypeMapper.cs
- DiscoveryInnerClientAdhocCD1.cs
- Nodes.cs
- TemplatePartAttribute.cs
- WebPartsPersonalization.cs
- SetStoryboardSpeedRatio.cs
- Vector3DCollectionConverter.cs
- InstancePersistenceContext.cs
- SByteConverter.cs
- PageVisual.cs
- mediaeventshelper.cs
- SpinWait.cs
- SQlBooleanStorage.cs
- SamlAdvice.cs
- _SSPIWrapper.cs
- Int16Storage.cs
- SplitterDesigner.cs
- EntityCommandExecutionException.cs
- CodeBlockBuilder.cs