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
- FrameDimension.cs
- Stream.cs
- KnownBoxes.cs
- DetailsViewRow.cs
- ButtonChrome.cs
- SpellerInterop.cs
- ToolStripPanelRow.cs
- ChannelSinkStacks.cs
- SchemaHelper.cs
- PagedControl.cs
- RelativeSource.cs
- EditorAttribute.cs
- WebConfigurationFileMap.cs
- BulletedList.cs
- TryExpression.cs
- DispatchWrapper.cs
- WpfXamlMember.cs
- PassportPrincipal.cs
- XmlIterators.cs
- Convert.cs
- Symbol.cs
- updatecommandorderer.cs
- StringSource.cs
- Memoizer.cs
- PropertyInfoSet.cs
- HttpHandlerActionCollection.cs
- ReturnValue.cs
- SettingsPropertyCollection.cs
- X500Name.cs
- DataSourceHelper.cs
- RoleManagerSection.cs
- FloaterParagraph.cs
- RichTextBoxAutomationPeer.cs
- TextDecorationCollectionConverter.cs
- BasicViewGenerator.cs
- EntityEntry.cs
- PageTheme.cs
- GACIdentityPermission.cs
- Quaternion.cs
- LongValidatorAttribute.cs
- GZipStream.cs
- RowCache.cs
- HttpNamespaceReservationInstallComponent.cs
- ScrollProperties.cs
- Style.cs
- NullableDecimalSumAggregationOperator.cs
- BitmapEffectGroup.cs
- SecurityElement.cs
- ToolStripDropDown.cs
- RenderTargetBitmap.cs
- MethodCallTranslator.cs
- userdatakeys.cs
- XmlTextReader.cs
- Viewport3DAutomationPeer.cs
- RadialGradientBrush.cs
- ListBoxItemWrapperAutomationPeer.cs
- IdentityNotMappedException.cs
- InstanceValue.cs
- QilInvokeEarlyBound.cs
- TableParagraph.cs
- ExpressionBuilder.cs
- Dump.cs
- NameGenerator.cs
- Graphics.cs
- Point3DCollection.cs
- CacheEntry.cs
- ConsoleEntryPoint.cs
- LineServices.cs
- ConfigXmlComment.cs
- DeferredReference.cs
- Mutex.cs
- DesignerLoader.cs
- NullableDecimalSumAggregationOperator.cs
- NativeMethods.cs
- ConnectionInterfaceCollection.cs
- FlowchartDesigner.Helpers.cs
- Message.cs
- _SingleItemRequestCache.cs
- ParserStreamGeometryContext.cs
- FreeIndexList.cs
- PointLightBase.cs
- SimpleApplicationHost.cs
- NopReturnReader.cs
- SoapInteropTypes.cs
- RNGCryptoServiceProvider.cs
- BreadCrumbTextConverter.cs
- CLSCompliantAttribute.cs
- CollectionViewSource.cs
- Permission.cs
- XmlAttribute.cs
- Tokenizer.cs
- ExpressionTable.cs
- Not.cs
- LinkButton.cs
- SettingsPropertyNotFoundException.cs
- RangeValidator.cs
- MembershipUser.cs
- WindowsFormsHelpers.cs
- DataPagerFieldCollection.cs
- listviewsubitemcollectioneditor.cs