Code:
/ FX-1434 / FX-1434 / 1.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
- DataSpaceManager.cs
- WinEventHandler.cs
- RuleSet.cs
- ProtocolsConfiguration.cs
- PermissionAttributes.cs
- TextServicesCompartmentContext.cs
- MailWebEventProvider.cs
- CodeCatchClause.cs
- FlowchartDesigner.xaml.cs
- IdentifierService.cs
- Expression.cs
- CodeTypeDeclaration.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- xmlfixedPageInfo.cs
- ChildDocumentBlock.cs
- TogglePatternIdentifiers.cs
- MenuCommand.cs
- InkCollectionBehavior.cs
- HistoryEventArgs.cs
- HttpHandlerActionCollection.cs
- GridViewPageEventArgs.cs
- HttpRequestBase.cs
- ConfigurationElement.cs
- ModelItemDictionary.cs
- httpapplicationstate.cs
- PictureBox.cs
- Authorization.cs
- SequenceRangeCollection.cs
- SpecularMaterial.cs
- MemberHolder.cs
- activationcontext.cs
- PrefixHandle.cs
- NativeMethods.cs
- SHA384.cs
- CodeSubDirectoriesCollection.cs
- TranslateTransform.cs
- ThaiBuddhistCalendar.cs
- ItemCheckedEvent.cs
- HtmlContainerControl.cs
- StylusPointPropertyUnit.cs
- ValueHandle.cs
- QuaternionRotation3D.cs
- SiteMapDataSource.cs
- DataTableReaderListener.cs
- Attributes.cs
- SymLanguageVendor.cs
- SortedDictionary.cs
- CursorInteropHelper.cs
- InternalUserCancelledException.cs
- SchemaImporterExtension.cs
- BaseAsyncResult.cs
- InkCanvasFeedbackAdorner.cs
- SessionEndedEventArgs.cs
- EntityClientCacheKey.cs
- BamlTreeMap.cs
- XsltInput.cs
- Convert.cs
- HttpTransportManager.cs
- ToolZone.cs
- SqlNotificationRequest.cs
- Translator.cs
- FormClosingEvent.cs
- EnumConverter.cs
- ServiceProviders.cs
- SoundPlayerAction.cs
- Button.cs
- CodeEventReferenceExpression.cs
- GlyphRunDrawing.cs
- XmlSchemaSequence.cs
- AuthorizationSection.cs
- ReadOnlyHierarchicalDataSource.cs
- XmlSchemaCollection.cs
- MessageBox.cs
- DictionaryEntry.cs
- CornerRadiusConverter.cs
- HttpHeaderCollection.cs
- RepeatInfo.cs
- ValidationResult.cs
- DoubleCollection.cs
- Stack.cs
- _SecureChannel.cs
- _Rfc2616CacheValidators.cs
- SystemIPGlobalProperties.cs
- Image.cs
- ItemMap.cs
- IImplicitResourceProvider.cs
- ToolStripTextBox.cs
- DatatypeImplementation.cs
- NodeLabelEditEvent.cs
- PriorityBinding.cs
- SecurityDescriptor.cs
- FixedLineResult.cs
- ProxyAttribute.cs
- DocumentSequenceHighlightLayer.cs
- DelayedRegex.cs
- _AuthenticationState.cs
- SystemPens.cs
- TextEncodedRawTextWriter.cs
- ChannelServices.cs
- IriParsingElement.cs