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
- DataSourceDescriptorCollection.cs
- TypefaceMetricsCache.cs
- PropertyIDSet.cs
- OrthographicCamera.cs
- LineBreakRecord.cs
- RowVisual.cs
- TreeView.cs
- DataGridItemAttachedStorage.cs
- EnvelopedPkcs7.cs
- DelayedRegex.cs
- Lasso.cs
- SchemaMapping.cs
- CodePropertyReferenceExpression.cs
- ZipFileInfo.cs
- RichTextBox.cs
- ProviderCollection.cs
- ProcessStartInfo.cs
- PlatformNotSupportedException.cs
- PackagingUtilities.cs
- AdjustableArrowCap.cs
- AvTraceDetails.cs
- RoleManagerSection.cs
- ProcessHostConfigUtils.cs
- ProfessionalColorTable.cs
- FormViewDeleteEventArgs.cs
- XslNumber.cs
- RowToParametersTransformer.cs
- ArrayWithOffset.cs
- TreeViewItemAutomationPeer.cs
- DataGridTablesFactory.cs
- RotateTransform.cs
- ContextMenu.cs
- RowToParametersTransformer.cs
- XmlSchemas.cs
- GenericUriParser.cs
- CodeTypeParameter.cs
- GeneralTransform3DTo2D.cs
- MetadataCollection.cs
- ComponentResourceKeyConverter.cs
- AttributeConverter.cs
- CustomCategoryAttribute.cs
- TemplateKeyConverter.cs
- ISCIIEncoding.cs
- __ConsoleStream.cs
- TextBoxAutomationPeer.cs
- While.cs
- oledbmetadatacolumnnames.cs
- OperationContext.cs
- SafeArchiveContext.cs
- TimestampInformation.cs
- _HelperAsyncResults.cs
- TextUtf8RawTextWriter.cs
- _ConnectOverlappedAsyncResult.cs
- MailWebEventProvider.cs
- CompiledRegexRunner.cs
- Simplifier.cs
- FileUpload.cs
- ClientBuildManager.cs
- Rect.cs
- SerializationHelper.cs
- ReadOnlyNameValueCollection.cs
- Route.cs
- StateChangeEvent.cs
- BooleanSwitch.cs
- CompositionTarget.cs
- ProjectionPlanCompiler.cs
- ConfigViewGenerator.cs
- xmlfixedPageInfo.cs
- XPathNode.cs
- NumericUpDown.cs
- MsmqIntegrationProcessProtocolHandler.cs
- DocumentApplicationJournalEntry.cs
- ProviderConnectionPoint.cs
- UpdateProgress.cs
- RepeaterCommandEventArgs.cs
- ByteStorage.cs
- SHA512CryptoServiceProvider.cs
- Stackframe.cs
- ScaleTransform.cs
- DefaultPrintController.cs
- DependencyObjectCodeDomSerializer.cs
- DataGridViewButtonCell.cs
- XmlBinaryReader.cs
- InputReport.cs
- Inline.cs
- Byte.cs
- SwitchLevelAttribute.cs
- MulticastOption.cs
- WebBrowser.cs
- BitmapEffectGeneralTransform.cs
- EncryptedType.cs
- XAMLParseException.cs
- PreProcessInputEventArgs.cs
- ObjectToken.cs
- QilLoop.cs
- XXXInfos.cs
- ChoiceConverter.cs
- cookie.cs
- TypeLoadException.cs
- SafeHandles.cs