Code:
/ DotNET / DotNET / 8.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
- JapaneseLunisolarCalendar.cs
- Screen.cs
- CodeGenerator.cs
- FixedSOMPage.cs
- RoutedEvent.cs
- TableLayoutSettings.cs
- Wildcard.cs
- documentsequencetextview.cs
- PropertyEntry.cs
- ImageAttributes.cs
- CodePageEncoding.cs
- ScriptServiceAttribute.cs
- StylusDownEventArgs.cs
- ObjectDataSourceStatusEventArgs.cs
- StyleConverter.cs
- AppDomainAttributes.cs
- CapabilitiesSection.cs
- CompilerInfo.cs
- Compiler.cs
- LogRecordSequence.cs
- Nullable.cs
- MeshGeometry3D.cs
- TrackingProfile.cs
- LinkedResource.cs
- CharEnumerator.cs
- CurrencyWrapper.cs
- EmptyEnumerable.cs
- DnsPermission.cs
- HtmlFormWrapper.cs
- XmlSchemaSimpleContent.cs
- ResourcePermissionBaseEntry.cs
- EdmToObjectNamespaceMap.cs
- SoapObjectWriter.cs
- EnumUnknown.cs
- ImageMap.cs
- DrawingVisual.cs
- TaiwanLunisolarCalendar.cs
- ColumnHeaderCollectionEditor.cs
- PtsPage.cs
- WebResponse.cs
- MethodExpression.cs
- ISAPIApplicationHost.cs
- Component.cs
- SqlDataRecord.cs
- ProfileService.cs
- FormViewPagerRow.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- DataRowComparer.cs
- FileCodeGroup.cs
- WCFBuildProvider.cs
- GenericPrincipal.cs
- ToolStripItemCollection.cs
- ImageSource.cs
- DataReaderContainer.cs
- NullableDoubleAverageAggregationOperator.cs
- StreamReader.cs
- RichTextBoxAutomationPeer.cs
- MemoryMappedView.cs
- UnsafeNativeMethods.cs
- CheckBoxPopupAdapter.cs
- UserPreferenceChangedEventArgs.cs
- Int32Rect.cs
- DrawingServices.cs
- MtomMessageEncodingBindingElement.cs
- DataGridViewCellValueEventArgs.cs
- XmlCollation.cs
- DummyDataSource.cs
- XPathNavigator.cs
- HttpGetProtocolImporter.cs
- AssertFilter.cs
- DataGridRowHeader.cs
- Range.cs
- FontWeightConverter.cs
- NetNamedPipeSecurityElement.cs
- IntMinMaxAggregationOperator.cs
- DesignerSerializerAttribute.cs
- StringAttributeCollection.cs
- ToolStripSplitStackLayout.cs
- SqlBinder.cs
- OpenTypeLayout.cs
- SamlAuthenticationStatement.cs
- templategroup.cs
- CollectionChangedEventManager.cs
- ReferencedCategoriesDocument.cs
- RequestCachePolicyConverter.cs
- UpdatePanelControlTrigger.cs
- XmlChildNodes.cs
- IgnoreFileBuildProvider.cs
- Command.cs
- ConfigurationValidatorAttribute.cs
- HttpCookie.cs
- StickyNoteHelper.cs
- LinkTarget.cs
- DayRenderEvent.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- PrimitiveXmlSerializers.cs
- WorkflowServiceHost.cs
- FormatException.cs
- DescendantOverDescendantQuery.cs
- OracleConnectionStringBuilder.cs