Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebParts / WebPartZoneBaseDesigner.cs / 1 / WebPartZoneBaseDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls.WebParts { using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Design; using System.Diagnostics; using System.Globalization; using System.IO; using System.Web.UI.Design; using System.Web.UI.Design.WebControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml; ////// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class WebPartZoneBaseDesigner : WebZoneDesigner { public override void Initialize(IComponent component) { VerifyInitializeArgument(component, typeof(WebPartZoneBase)); base.Initialize(component); } protected override void PreFilterProperties(IDictionary properties) { base.PreFilterProperties(properties); Attribute[] newAttributes = new Attribute[] { new BrowsableAttribute(false), new EditorBrowsableAttribute(EditorBrowsableState.Never), new ThemeableAttribute(false), }; string propertyName = "VerbStyle"; PropertyDescriptor property = (PropertyDescriptor) properties[propertyName]; Debug.Assert(property != null, "Property is null: " + propertyName); if (property != null) { properties[propertyName] = TypeDescriptor.CreateProperty(property.ComponentType, property, newAttributes); } } } } // 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
- ObjectDataSourceDisposingEventArgs.cs
- ProtocolsConfigurationHandler.cs
- VarRefManager.cs
- ComponentEditorPage.cs
- Point3DCollection.cs
- HttpFileCollection.cs
- ControlCachePolicy.cs
- BindingMAnagerBase.cs
- WaitingCursor.cs
- SqlBooleanMismatchVisitor.cs
- XamlFrame.cs
- SafeLibraryHandle.cs
- GridPatternIdentifiers.cs
- DataGridViewRowConverter.cs
- SmiMetaData.cs
- DesignTable.cs
- SchemaTypeEmitter.cs
- TypeSource.cs
- ConstructorArgumentAttribute.cs
- OracleDataAdapter.cs
- DbProviderFactories.cs
- BatchWriter.cs
- Win32SafeHandles.cs
- NameSpaceExtractor.cs
- Knowncolors.cs
- Control.cs
- CodeDirectionExpression.cs
- WebScriptMetadataMessage.cs
- WhitespaceReader.cs
- StreamGeometry.cs
- SortedDictionary.cs
- MediaEntryAttribute.cs
- SizeLimitedCache.cs
- GeneralTransform.cs
- TypeHelpers.cs
- EntityViewGenerator.cs
- RoutedUICommand.cs
- ResourcePermissionBaseEntry.cs
- WebBrowserBase.cs
- Point3DConverter.cs
- FactoryGenerator.cs
- ErrorHandler.cs
- CodeAttributeDeclarationCollection.cs
- CompilationSection.cs
- DynamicDataRoute.cs
- DataGridColumnHeadersPresenter.cs
- ClientSideProviderDescription.cs
- RegexFCD.cs
- DbMetaDataCollectionNames.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- DataTrigger.cs
- ClientTargetCollection.cs
- RuntimeHandles.cs
- DesignTimeSiteMapProvider.cs
- NativeMethods.cs
- ReadOnlyDataSource.cs
- SymDocumentType.cs
- BufferedGraphics.cs
- OutputWindow.cs
- XDeferredAxisSource.cs
- WindowsListViewGroupHelper.cs
- DesignTimeDataBinding.cs
- ProcessManager.cs
- WriteableOnDemandStream.cs
- RadioButton.cs
- EntityModelSchemaGenerator.cs
- ServiceAuthorizationElement.cs
- WindowsScrollBarBits.cs
- SecureEnvironment.cs
- IntersectQueryOperator.cs
- MethodBuilderInstantiation.cs
- ComponentChangedEvent.cs
- SafeFileMappingHandle.cs
- WmlLabelAdapter.cs
- CompensationTokenData.cs
- ContentType.cs
- ServiceDiscoveryBehavior.cs
- CallTemplateAction.cs
- DataGridViewRowCancelEventArgs.cs
- HtmlPageAdapter.cs
- XmlValueConverter.cs
- RootBuilder.cs
- TextPointerBase.cs
- RequestBringIntoViewEventArgs.cs
- BuildProvider.cs
- KeyToListMap.cs
- Geometry.cs
- DataGridViewRowConverter.cs
- WindowsRegion.cs
- ValueTypeFixupInfo.cs
- PropertyDescriptor.cs
- DataSysAttribute.cs
- MultipleViewPattern.cs
- RequestCacheManager.cs
- WebPartTransformerCollection.cs
- Parameter.cs
- oledbmetadatacolumnnames.cs
- FileDialogPermission.cs
- HtmlValidationSummaryAdapter.cs
- BaseTemplateBuildProvider.cs