Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / MenuItemStyleCollectionEditor.cs / 1 / MenuItemStyleCollectionEditor.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.Design; using System.Reflection; using System.ComponentModel; using System.ComponentModel.Design; using System.Web.UI.WebControls; ////// /// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode)] public class MenuItemStyleCollectionEditor : CollectionEditor { ///Provides an editor to edit wizardsteps in a Wizard. ////// /// public MenuItemStyleCollectionEditor(Type type) : base(type) { } ///Initializes a new instance of the ///class. /// /// protected override bool CanSelectMultipleInstances() { return false; } protected override CollectionForm CreateCollectionForm() { CollectionForm form = base.CreateCollectionForm(); form.Text = SR.GetString(SR.CollectionEditorCaption, "MenuItemStyle"); return form; } ///Gets a value indicating whether multiple instances may be selected. ////// /// protected override object CreateInstance(Type itemType) { return Activator.CreateInstance(itemType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.CreateInstance, null, null, null); } ///[To be supplied.] ////// /// Retrieves the data types this collection can contain. The default /// implementation looks inside of the collection for the Item property /// and returns the returning datatype of the item. Do not call this /// method directly. Instead, use the ItemTypes property. Use this /// method to override the default implementation. /// protected override Type[] CreateNewItemTypes() { return new Type[] { typeof(MenuItemStyle) }; } } } // 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
- FixedDocument.cs
- PartialClassGenerationTask.cs
- BitFlagsGenerator.cs
- WorkflowMarkupSerializerMapping.cs
- OracleInternalConnection.cs
- UriTemplateTrieNode.cs
- _Semaphore.cs
- UIElementHelper.cs
- InProcStateClientManager.cs
- DataGridColumnCollection.cs
- ThicknessAnimationBase.cs
- DrawingBrush.cs
- ToolboxItemFilterAttribute.cs
- Codec.cs
- OrthographicCamera.cs
- PriorityRange.cs
- DeclarativeCatalogPart.cs
- BinaryObjectReader.cs
- IntSumAggregationOperator.cs
- Base64Encoding.cs
- Stylesheet.cs
- GridViewCellAutomationPeer.cs
- ThrowHelper.cs
- ContainerParaClient.cs
- PointConverter.cs
- PageFunction.cs
- MenuItem.cs
- TrustLevelCollection.cs
- LabelDesigner.cs
- XmlNamespaceDeclarationsAttribute.cs
- Rfc2898DeriveBytes.cs
- RijndaelManaged.cs
- Odbc32.cs
- _OverlappedAsyncResult.cs
- SplitterDesigner.cs
- TypeSystem.cs
- DurableInstanceManager.cs
- HtmlTableCellCollection.cs
- DbFunctionCommandTree.cs
- BevelBitmapEffect.cs
- XmlSchemaParticle.cs
- MultidimensionalArrayItemReference.cs
- NamedPipeProcessProtocolHandler.cs
- OleServicesContext.cs
- SafeNativeMethods.cs
- RNGCryptoServiceProvider.cs
- ArrowControl.xaml.cs
- OrderingExpression.cs
- CompressionTransform.cs
- HttpHandlerActionCollection.cs
- DataServiceClientException.cs
- PagePropertiesChangingEventArgs.cs
- EllipseGeometry.cs
- RotateTransform.cs
- WorkflowPrinting.cs
- GenerateDerivedKeyRequest.cs
- FileDataSourceCache.cs
- SchemaTableOptionalColumn.cs
- DependentList.cs
- SingleStorage.cs
- DocumentCollection.cs
- InlineUIContainer.cs
- InProcStateClientManager.cs
- LocalizabilityAttribute.cs
- precedingsibling.cs
- XsdValidatingReader.cs
- IntSecurity.cs
- XmlArrayItemAttributes.cs
- SequentialOutput.cs
- MaskInputRejectedEventArgs.cs
- WindowsToolbarItemAsMenuItem.cs
- TypeTypeConverter.cs
- SecurityDocument.cs
- XmlWrappingReader.cs
- XmlSignificantWhitespace.cs
- TCPClient.cs
- IndexedString.cs
- NameSpaceEvent.cs
- DialogDivider.cs
- SelfIssuedAuthProofToken.cs
- EditorPartCollection.cs
- PropertyDescriptorComparer.cs
- StorageMappingItemLoader.cs
- Speller.cs
- RegionData.cs
- SiteMapDataSourceView.cs
- StrokeDescriptor.cs
- SystemNetworkInterface.cs
- XmlSerializationReader.cs
- ViewEventArgs.cs
- ASCIIEncoding.cs
- GridToolTip.cs
- Annotation.cs
- XmlAttributeHolder.cs
- Rule.cs
- PolyQuadraticBezierSegment.cs
- Dispatcher.cs
- unsafenativemethodstextservices.cs
- FixedBufferAttribute.cs
- XPathDocumentBuilder.cs