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
- DefaultProxySection.cs
- TypeGeneratedEventArgs.cs
- PagesSection.cs
- HTMLTextWriter.cs
- smtppermission.cs
- OutOfMemoryException.cs
- FilterQuery.cs
- RotateTransform.cs
- HealthMonitoringSection.cs
- XmlKeywords.cs
- ReaderWriterLockWrapper.cs
- QueryStringParameter.cs
- DataGridViewCellParsingEventArgs.cs
- Privilege.cs
- HttpListenerException.cs
- ArraySegment.cs
- TextUtf8RawTextWriter.cs
- TextBoxRenderer.cs
- SqlCacheDependencySection.cs
- DoubleLinkList.cs
- AdornedElementPlaceholder.cs
- cache.cs
- ScriptingScriptResourceHandlerSection.cs
- SQLDecimalStorage.cs
- RemoteX509Token.cs
- URLString.cs
- Tokenizer.cs
- PageAsyncTask.cs
- LinqDataSourceInsertEventArgs.cs
- PropertyConverter.cs
- SchemaMapping.cs
- OdbcHandle.cs
- RemotingSurrogateSelector.cs
- ApplicationInfo.cs
- SupportingTokenListenerFactory.cs
- QilFunction.cs
- _Semaphore.cs
- Viewport3DAutomationPeer.cs
- Animatable.cs
- Int64AnimationUsingKeyFrames.cs
- PhysicalFontFamily.cs
- HtmlTableRow.cs
- ProgressBarHighlightConverter.cs
- BitmapFrameDecode.cs
- SignatureSummaryDialog.cs
- FileChangesMonitor.cs
- PhotoPrintingIntent.cs
- RowsCopiedEventArgs.cs
- SemaphoreFullException.cs
- ValueUnavailableException.cs
- CustomErrorsSectionWrapper.cs
- TypeSystemHelpers.cs
- IgnoreFileBuildProvider.cs
- DateTimeConstantAttribute.cs
- EntityException.cs
- XmlEntity.cs
- InternalCache.cs
- FrameSecurityDescriptor.cs
- IResourceProvider.cs
- HScrollProperties.cs
- MembershipAdapter.cs
- QueryStack.cs
- SqlConnectionString.cs
- BezierSegment.cs
- PromptEventArgs.cs
- ToolStripContentPanelDesigner.cs
- GacUtil.cs
- XsltSettings.cs
- Point3DCollectionValueSerializer.cs
- DesignerAdRotatorAdapter.cs
- SrgsToken.cs
- DataPagerFieldItem.cs
- SudsParser.cs
- StringResourceManager.cs
- FileAuthorizationModule.cs
- X509WindowsSecurityToken.cs
- AutomationAttributeInfo.cs
- _ConnectStream.cs
- SafeCryptoHandles.cs
- FrameworkRichTextComposition.cs
- CompModSwitches.cs
- QilXmlReader.cs
- AttributeConverter.cs
- ImageKeyConverter.cs
- WebPartsPersonalizationAuthorization.cs
- FontFamilyValueSerializer.cs
- SHA384.cs
- RemoveStoryboard.cs
- FontCacheUtil.cs
- DataGridColumn.cs
- EventLogger.cs
- ResourcePart.cs
- EventLogTraceListener.cs
- ViewSimplifier.cs
- hwndwrapper.cs
- SrgsGrammar.cs
- RangeContentEnumerator.cs
- prompt.cs
- XmlUnspecifiedAttribute.cs
- CompatibleIComparer.cs