Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / SubMenuStyleCollectionEditor.cs / 1 / SubMenuStyleCollectionEditor.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 SubMenuStyleCollectionEditor : CollectionEditor { ///Provides an editor to edit wizardsteps in a Wizard. ////// /// public SubMenuStyleCollectionEditor(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, "SubMenuStyle"); 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(SubMenuStyle) }; } } } // 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
- RtfToXamlReader.cs
- DebugControllerThread.cs
- DefaultObjectMappingItemCollection.cs
- FlowchartDesignerCommands.cs
- XmlArrayAttribute.cs
- ApplicationSecurityManager.cs
- PackageRelationship.cs
- EdmMember.cs
- ColumnReorderedEventArgs.cs
- StatusCommandUI.cs
- DesignerAttributeInfo.cs
- DynamicFilter.cs
- FileAuthorizationModule.cs
- ModelTreeEnumerator.cs
- WindowsSysHeader.cs
- ADMembershipUser.cs
- Processor.cs
- CanonicalFontFamilyReference.cs
- WebPartVerbCollection.cs
- ReflectionTypeLoadException.cs
- DataGridViewAutoSizeModeEventArgs.cs
- PopOutPanel.cs
- XmlSchemaComplexType.cs
- AutomationFocusChangedEventArgs.cs
- EntityWrapper.cs
- PhysicalOps.cs
- GuidTagList.cs
- VirtualizingStackPanel.cs
- NativeCppClassAttribute.cs
- PerformanceCounterCategory.cs
- GacUtil.cs
- GetImportFileNameRequest.cs
- ContractSearchPattern.cs
- SwitchLevelAttribute.cs
- SqlDataSource.cs
- TreeSet.cs
- WsdlBuildProvider.cs
- WebControl.cs
- ControlBindingsCollection.cs
- IisTraceListener.cs
- QilGeneratorEnv.cs
- PassportAuthenticationEventArgs.cs
- AppliedDeviceFiltersDialog.cs
- SafeHandles.cs
- InfoCardBaseException.cs
- WSSecurityJan2004.cs
- DocumentPageHost.cs
- RelationshipEndMember.cs
- AspNetRouteServiceHttpHandler.cs
- ObjectDataSourceMethodEventArgs.cs
- OperatorExpressions.cs
- NativeBuffer.cs
- EntityUtil.cs
- SchemaNames.cs
- InvalidPipelineStoreException.cs
- SinglePageViewer.cs
- XamlPathDataSerializer.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- NeutralResourcesLanguageAttribute.cs
- CodeAttachEventStatement.cs
- SignedXml.cs
- RadioButtonDesigner.cs
- SubMenuStyle.cs
- TextServicesProperty.cs
- RectConverter.cs
- DiscoveryClientOutputChannel.cs
- PolicyVersion.cs
- CurrentChangedEventManager.cs
- ExitEventArgs.cs
- UseAttributeSetsAction.cs
- WebServicesInteroperability.cs
- Point4D.cs
- AutoResetEvent.cs
- RSAOAEPKeyExchangeFormatter.cs
- TextRangeAdaptor.cs
- XPathDocumentIterator.cs
- TextRangeProviderWrapper.cs
- TransformerInfo.cs
- XamlSerializerUtil.cs
- QualificationDataItem.cs
- ToolboxBitmapAttribute.cs
- OracleFactory.cs
- ISessionStateStore.cs
- StringUtil.cs
- _CommandStream.cs
- XmlUrlResolver.cs
- QilReplaceVisitor.cs
- MetaTableHelper.cs
- SerializationIncompleteException.cs
- MemberDescriptor.cs
- SingleObjectCollection.cs
- NaturalLanguageHyphenator.cs
- Array.cs
- CurrentChangingEventArgs.cs
- TreeChangeInfo.cs
- LayoutManager.cs
- TypeDescriptor.cs
- OleCmdHelper.cs
- ComponentChangedEvent.cs
- HttpListenerPrefixCollection.cs