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
- SafeLocalAllocation.cs
- RepeaterItem.cs
- SoapMessage.cs
- securitycriticaldata.cs
- TextTreeTextNode.cs
- RawStylusInputCustomData.cs
- ActiveXContainer.cs
- ScrollViewerAutomationPeer.cs
- Set.cs
- columnmapfactory.cs
- ToolStripHighContrastRenderer.cs
- FontStretchConverter.cs
- SystemThemeKey.cs
- WasNotInstalledException.cs
- DLinqColumnProvider.cs
- AssertSection.cs
- InstanceData.cs
- RuntimeConfigLKG.cs
- Model3DCollection.cs
- SHA384.cs
- Soap.cs
- XmlDictionaryReaderQuotas.cs
- CodeCatchClauseCollection.cs
- FirstQueryOperator.cs
- FormatException.cs
- GridViewUpdateEventArgs.cs
- _HeaderInfoTable.cs
- UrlEncodedParameterWriter.cs
- ListViewGroupItemCollection.cs
- EntitySetDataBindingList.cs
- MethodImplAttribute.cs
- XhtmlConformanceSection.cs
- DateTimeFormatInfoScanner.cs
- ArgIterator.cs
- DbParameterCollectionHelper.cs
- MD5HashHelper.cs
- ProgressBar.cs
- SmtpSection.cs
- DrawingCollection.cs
- SqlTypeConverter.cs
- InvalidCastException.cs
- ServiceMoniker.cs
- Storyboard.cs
- OpenTypeLayoutCache.cs
- ValidatingCollection.cs
- PermissionRequestEvidence.cs
- HandlerBase.cs
- InputGestureCollection.cs
- SoapAttributes.cs
- DbConvert.cs
- ControlIdConverter.cs
- ActivityExecutionFilter.cs
- AlternateViewCollection.cs
- StorageRoot.cs
- MemoryFailPoint.cs
- SyndicationElementExtensionCollection.cs
- MemberCollection.cs
- ImageConverter.cs
- AnnotationAdorner.cs
- sitestring.cs
- ParseChildrenAsPropertiesAttribute.cs
- Publisher.cs
- UpdatePanelTrigger.cs
- BlockUIContainer.cs
- NegationPusher.cs
- HttpProfileGroupBase.cs
- BinaryReader.cs
- VariableAction.cs
- PersonalizationStateQuery.cs
- assemblycache.cs
- Panel.cs
- CodeBinaryOperatorExpression.cs
- Exceptions.cs
- WebPartUserCapability.cs
- MachineKeySection.cs
- ColumnResizeUndoUnit.cs
- InvalidComObjectException.cs
- Exceptions.cs
- SpecialTypeDataContract.cs
- TripleDESCryptoServiceProvider.cs
- WriteTimeStream.cs
- CachedTypeface.cs
- PreservationFileWriter.cs
- SoapWriter.cs
- ParameterRetriever.cs
- CanExecuteRoutedEventArgs.cs
- WebPartVerb.cs
- SqlInternalConnectionTds.cs
- BitmapEffectCollection.cs
- WebPartDescription.cs
- Point3DAnimationBase.cs
- EqualityArray.cs
- BevelBitmapEffect.cs
- TargetPerspective.cs
- XDeferredAxisSource.cs
- UserControlParser.cs
- Propagator.ExtentPlaceholderCreator.cs
- DecryptRequest.cs
- CachedTypeface.cs
- SocketInformation.cs