Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / CompMod / System / ComponentModel / Design / DesignerActionItem.cs / 1 / DesignerActionItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel.Design { using System; using System.Collections; using System.Collections.Specialized; using System.ComponentModel; using System.Text.RegularExpressions; ////// /// A menu command that defines text and other metadata to describe a targeted task that can be performed. // Tasks typically walk the user through some multi-step process, such as configuring a data source for a component. // Designer tasks are shown in a custom piece of UI (Chrome). /// public abstract class DesignerActionItem { private bool allowAssociate; private string displayName; private string description; private string category; private IDictionary properties; ////// /// /// [to be provvided] /// public DesignerActionItem(string displayName, string category, string description) { this.category = category; this.description = description; this.displayName = displayName == null ? null : Regex.Replace(displayName, @"\(\&.\)", ""); // VSWHIDBEY 485835 } internal DesignerActionItem() { } ////// /// [to be provvided] /// public bool AllowAssociate { get { return allowAssociate; } set { allowAssociate = value; } } ////// /// [to be provvided] /// public virtual string Category { get { return category; } } ////// /// [to be provvided] /// public virtual string Description { get { return description; } } ////// /// [to be provvided] /// public virtual string DisplayName { get { return displayName; } } ////// /// [to be provvided] /// public IDictionary Properties { get { if (properties == null) { properties = new HybridDictionary(); } return properties; } } } } // 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
- EntityDataSourceDesigner.cs
- ExpandableObjectConverter.cs
- RangeExpression.cs
- ObjectPropertyMapping.cs
- BitmapEffectOutputConnector.cs
- ProtocolException.cs
- AssemblyHash.cs
- Image.cs
- RequestNavigateEventArgs.cs
- CompilationUtil.cs
- ReturnValue.cs
- ExpandedWrapper.cs
- DataRecord.cs
- XmlReflectionMember.cs
- CryptoApi.cs
- TypeDependencyAttribute.cs
- DataGridViewColumn.cs
- AnnotationHighlightLayer.cs
- ServiceReference.cs
- WeakReference.cs
- XhtmlBasicFormAdapter.cs
- SafeHandles.cs
- SettingsAttributeDictionary.cs
- PublisherIdentityPermission.cs
- MenuItemCollection.cs
- BitmapDownload.cs
- AndCondition.cs
- ObjectStateFormatter.cs
- ToolbarAUtomationPeer.cs
- TypeBuilderInstantiation.cs
- FtpCachePolicyElement.cs
- XmlMembersMapping.cs
- JournalEntry.cs
- WasEndpointConfigContainer.cs
- SQLDecimal.cs
- PageCatalogPart.cs
- ArrangedElementCollection.cs
- LinkedList.cs
- HMACSHA1.cs
- Utils.cs
- UrlSyndicationContent.cs
- BitmapSourceSafeMILHandle.cs
- DashStyle.cs
- LinqDataSourceView.cs
- ObjectListField.cs
- QueryCacheManager.cs
- ToolStripButton.cs
- AxDesigner.cs
- BevelBitmapEffect.cs
- DictionaryContent.cs
- Accessible.cs
- RichTextBoxContextMenu.cs
- SmtpMail.cs
- DESCryptoServiceProvider.cs
- Item.cs
- StringArrayEditor.cs
- EdmScalarPropertyAttribute.cs
- TemplateContentLoader.cs
- AsymmetricSecurityBindingElement.cs
- Part.cs
- ScriptControlManager.cs
- WebBrowser.cs
- TextEditorTables.cs
- ObjectComplexPropertyMapping.cs
- DataSourceControl.cs
- WindowsClientElement.cs
- MaskDesignerDialog.cs
- XmlBinaryReader.cs
- RegionData.cs
- EndEvent.cs
- PositiveTimeSpanValidatorAttribute.cs
- ExecutorLocksHeldException.cs
- CompilerLocalReference.cs
- DecoderBestFitFallback.cs
- SecurityElement.cs
- AssemblyCollection.cs
- StoreItemCollection.cs
- SplineQuaternionKeyFrame.cs
- Cursor.cs
- KeyGestureConverter.cs
- DataView.cs
- SocketInformation.cs
- ConfigsHelper.cs
- UnsafeNativeMethods.cs
- FaultHandlingFilter.cs
- StyleCollection.cs
- SqlRewriteScalarSubqueries.cs
- NumericUpDownAccelerationCollection.cs
- StandardOleMarshalObject.cs
- ProfileManager.cs
- MetadataArtifactLoaderFile.cs
- BadImageFormatException.cs
- RemotingConfiguration.cs
- CodePageEncoding.cs
- CqlParser.cs
- SEHException.cs
- OptimizedTemplateContent.cs
- PresentationAppDomainManager.cs
- WebContext.cs
- Validator.cs