Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebParts / PageCatalogPartDesigner.cs / 1 / PageCatalogPartDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls.WebParts { using System; using System.ComponentModel; using System.Web.UI.Design; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class PageCatalogPartDesigner : CatalogPartDesigner { private PageCatalogPart _catalogPart; // PageCatalogPart has no default runtime rendering, so GetDesignTimeHtml() should also // return String.Empty, so we don't get the '[Type "ID"]' rendered in the designer. public override string GetDesignTimeHtml() { if (!(_catalogPart.Parent is CatalogZoneBase)) { return CreateInvalidParentDesignTimeHtml(typeof(CatalogPart), typeof(CatalogZoneBase)); } return String.Empty; } public override void Initialize(IComponent component) { VerifyInitializeArgument(component, typeof(PageCatalogPart)); _catalogPart = (PageCatalogPart)component; base.Initialize(component); } } } // 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
- httpstaticobjectscollection.cs
- XsdCachingReader.cs
- ThemeableAttribute.cs
- DeferredReference.cs
- WebPartZoneCollection.cs
- ByteAnimationUsingKeyFrames.cs
- SettingsBase.cs
- FloaterParagraph.cs
- Utils.cs
- dbdatarecord.cs
- RootDesignerSerializerAttribute.cs
- NativeCppClassAttribute.cs
- HandledEventArgs.cs
- TypeResolver.cs
- dataobject.cs
- FaultCallbackWrapper.cs
- XPathEmptyIterator.cs
- AssemblyCache.cs
- ModelServiceImpl.cs
- ActivityTypeDesigner.xaml.cs
- SelectionItemProviderWrapper.cs
- FactoryId.cs
- GlobalDataBindingHandler.cs
- TreeNodeBindingCollection.cs
- ValueTypeFixupInfo.cs
- PageStatePersister.cs
- CodePageUtils.cs
- SourceElementsCollection.cs
- MaterialCollection.cs
- WindowsGraphicsWrapper.cs
- CodeTypeOfExpression.cs
- SecureEnvironment.cs
- ListViewGroup.cs
- _DigestClient.cs
- X509ChainPolicy.cs
- ContextMenuStrip.cs
- XmlNodeComparer.cs
- CodeNamespaceCollection.cs
- unitconverter.cs
- Unit.cs
- DESCryptoServiceProvider.cs
- NotImplementedException.cs
- HelpInfo.cs
- PeerUnsafeNativeMethods.cs
- CharacterBufferReference.cs
- TouchPoint.cs
- WebRequestModuleElementCollection.cs
- Composition.cs
- TableHeaderCell.cs
- GlyphTypeface.cs
- MembershipSection.cs
- Parser.cs
- CornerRadiusConverter.cs
- TaskFileService.cs
- TextSegment.cs
- ControlCommandSet.cs
- InvalidBodyAccessException.cs
- EntityModelBuildProvider.cs
- DataColumnChangeEvent.cs
- ToolStripRenderer.cs
- EventDescriptor.cs
- SelectManyQueryOperator.cs
- PropertyPathWorker.cs
- RouteTable.cs
- FillRuleValidation.cs
- DelegatedStream.cs
- ServiceNameElement.cs
- FormParameter.cs
- EpmTargetPathSegment.cs
- FlowDocumentScrollViewer.cs
- SystemIPGlobalProperties.cs
- AliasedExpr.cs
- PagerSettings.cs
- JournalEntryListConverter.cs
- FontFamilyIdentifier.cs
- IndependentAnimationStorage.cs
- IndentTextWriter.cs
- SessionSwitchEventArgs.cs
- versioninfo.cs
- VersionPair.cs
- ConvertersCollection.cs
- figurelength.cs
- CustomPopupPlacement.cs
- KerberosRequestorSecurityToken.cs
- BigInt.cs
- SettingsProperty.cs
- DisposableCollectionWrapper.cs
- ServicesUtilities.cs
- Compiler.cs
- Bits.cs
- UInt32Storage.cs
- EventDescriptor.cs
- ProtocolsSection.cs
- PageThemeBuildProvider.cs
- Interlocked.cs
- DataGridTable.cs
- CaseCqlBlock.cs
- TreeViewEvent.cs
- Perspective.cs
- TreeNode.cs