Code:
/ DotNET / DotNET / 8.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
- HebrewCalendar.cs
- RegistryExceptionHelper.cs
- DbModificationCommandTree.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- SolidBrush.cs
- RemoteDebugger.cs
- _Rfc2616CacheValidators.cs
- GridLengthConverter.cs
- TemplateBindingExtension.cs
- RegexStringValidator.cs
- BoundField.cs
- StaticDataManager.cs
- NetworkInformationPermission.cs
- Size3DConverter.cs
- SecurityKeyUsage.cs
- ThumbButtonInfoCollection.cs
- GeneralTransform3DTo2DTo3D.cs
- StatusBarItemAutomationPeer.cs
- GeneralTransformGroup.cs
- TextInfo.cs
- ExplicitDiscriminatorMap.cs
- connectionpool.cs
- DataGridClipboardHelper.cs
- ConstructorNeedsTagAttribute.cs
- SqlXmlStorage.cs
- codemethodreferenceexpression.cs
- ImageMapEventArgs.cs
- RequestQueue.cs
- PerformanceCountersElement.cs
- LightweightCodeGenerator.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- XPathQilFactory.cs
- TextRange.cs
- AnnotationAdorner.cs
- ErrorTableItemStyle.cs
- SQLChars.cs
- WebPartDescriptionCollection.cs
- MemberHolder.cs
- COSERVERINFO.cs
- SourceFileInfo.cs
- Timer.cs
- VerbConverter.cs
- Decorator.cs
- FormatterConverter.cs
- SelectedDatesCollection.cs
- EventPrivateKey.cs
- SmtpAuthenticationManager.cs
- XmlWhitespace.cs
- CodeBlockBuilder.cs
- PropertyIdentifier.cs
- AbandonedMutexException.cs
- SqlConnectionPoolGroupProviderInfo.cs
- localization.cs
- TransformProviderWrapper.cs
- SemanticResultValue.cs
- Rule.cs
- BaseInfoTable.cs
- ExpressionWriter.cs
- IntSecurity.cs
- BindingExpressionUncommonField.cs
- SortDescriptionCollection.cs
- BitmapCacheBrush.cs
- PersistenceException.cs
- WindowsListViewItemCheckBox.cs
- errorpatternmatcher.cs
- EventLogEntryCollection.cs
- EndOfStreamException.cs
- ApplicationActivator.cs
- ISAPIWorkerRequest.cs
- Ops.cs
- XmlNullResolver.cs
- RequestQueryProcessor.cs
- SpotLight.cs
- DataGridColumn.cs
- AutomationPatternInfo.cs
- StringFreezingAttribute.cs
- DictionaryGlobals.cs
- SpecialFolderEnumConverter.cs
- DefaultParameterValueAttribute.cs
- PlanCompiler.cs
- XmlNodeList.cs
- TrackingDataItemValue.cs
- TypeViewSchema.cs
- Triplet.cs
- CryptoKeySecurity.cs
- MouseActionValueSerializer.cs
- FactoryGenerator.cs
- ServiceOperationListItemList.cs
- XmlAutoDetectWriter.cs
- CapabilitiesRule.cs
- Membership.cs
- DesignerLoader.cs
- AudioBase.cs
- TraceInternal.cs
- RelationshipDetailsCollection.cs
- _HelperAsyncResults.cs
- TextEditorSelection.cs
- ElementNotAvailableException.cs
- ViewDesigner.cs
- CheckPair.cs