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
- EdmItemCollection.cs
- HtmlInputHidden.cs
- OrderingQueryOperator.cs
- LifetimeServices.cs
- DispatcherTimer.cs
- FormCollection.cs
- Parsers.cs
- PeerCustomResolverBindingElement.cs
- AssociationEndMember.cs
- mactripleDES.cs
- ReadOnlyHierarchicalDataSourceView.cs
- WebPartRestoreVerb.cs
- CssStyleCollection.cs
- Double.cs
- Figure.cs
- XmlCharacterData.cs
- DataGridViewCellFormattingEventArgs.cs
- EventsTab.cs
- VirtualPathUtility.cs
- assemblycache.cs
- DbConnectionClosed.cs
- ParentUndoUnit.cs
- OletxVolatileEnlistment.cs
- ThaiBuddhistCalendar.cs
- ObjectStateEntry.cs
- NamespaceEmitter.cs
- COSERVERINFO.cs
- CheckPair.cs
- StorageEntityTypeMapping.cs
- TypeInitializationException.cs
- XmlTextReaderImpl.cs
- BatchParser.cs
- XsltCompileContext.cs
- DoubleLinkListEnumerator.cs
- BrowserInteropHelper.cs
- ConnectionConsumerAttribute.cs
- Win32PrintDialog.cs
- Transform.cs
- XamlBuildTaskServices.cs
- DetailsViewRow.cs
- AssemblyCache.cs
- BinaryReader.cs
- Window.cs
- CorrelationQueryBehavior.cs
- ToolStrip.cs
- UnsafeNativeMethods.cs
- ConnectionStringsExpressionBuilder.cs
- StrongNamePublicKeyBlob.cs
- WrapperEqualityComparer.cs
- DriveInfo.cs
- EventProviderBase.cs
- TrustManagerMoreInformation.cs
- HttpModule.cs
- CodeEventReferenceExpression.cs
- Highlights.cs
- TreeNode.cs
- SecurityPolicySection.cs
- MsmqIntegrationSecurityMode.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- PackWebRequest.cs
- Size3DConverter.cs
- SupportingTokenChannel.cs
- HandlerFactoryWrapper.cs
- RankException.cs
- HtmlAnchor.cs
- FormsAuthenticationTicket.cs
- SQLSingle.cs
- MultiSelector.cs
- ConstraintManager.cs
- Config.cs
- PageClientProxyGenerator.cs
- PermissionAttributes.cs
- BitmapEffectDrawingContextWalker.cs
- ProxyElement.cs
- Unit.cs
- IIS7UserPrincipal.cs
- DataSpaceManager.cs
- TextEndOfParagraph.cs
- ForAllOperator.cs
- UpDownBaseDesigner.cs
- Base64Decoder.cs
- HtmlFormParameterReader.cs
- Point4D.cs
- DatagridviewDisplayedBandsData.cs
- DBConnectionString.cs
- UnwrappedTypesXmlSerializerManager.cs
- XmlTypeMapping.cs
- AnnotationMap.cs
- KoreanLunisolarCalendar.cs
- XmlDataDocument.cs
- RequestBringIntoViewEventArgs.cs
- CompositeScriptReference.cs
- TextDecorationCollectionConverter.cs
- BinaryFormatterWriter.cs
- OleDbStruct.cs
- ListComponentEditor.cs
- BlobPersonalizationState.cs
- FloatMinMaxAggregationOperator.cs
- RoleBoolean.cs
- LinqDataSourceStatusEventArgs.cs