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
- PackagePart.cs
- WebMessageFormatHelper.cs
- SqlOuterApplyReducer.cs
- input.cs
- WebRequestModuleElementCollection.cs
- PlatformNotSupportedException.cs
- RegexCompilationInfo.cs
- ToolboxItemLoader.cs
- Hash.cs
- XmlTypeMapping.cs
- ParameterToken.cs
- WebPartDisplayModeCollection.cs
- DrawListViewItemEventArgs.cs
- Parser.cs
- UnsafeNativeMethods.cs
- SqlDataSourceQuery.cs
- DataBoundLiteralControl.cs
- FormatException.cs
- ToolstripProfessionalRenderer.cs
- SoapFault.cs
- assertwrapper.cs
- QueryOutputWriter.cs
- Image.cs
- PeerNameRegistration.cs
- BaseParser.cs
- KeyInstance.cs
- GCHandleCookieTable.cs
- FormsAuthenticationCredentials.cs
- MailMessageEventArgs.cs
- AssemblySettingAttributes.cs
- AnnotationAdorner.cs
- ColumnMapProcessor.cs
- SHA512Managed.cs
- ThreadSafeMessageFilterTable.cs
- DetailsViewInsertedEventArgs.cs
- TextBox.cs
- BuildManager.cs
- NamespaceExpr.cs
- SystemInformation.cs
- TCEAdapterGenerator.cs
- FileDialogCustomPlace.cs
- SQLSingle.cs
- TableLayoutPanel.cs
- StateManagedCollection.cs
- DeferrableContent.cs
- VariableQuery.cs
- ComboBox.cs
- VectorConverter.cs
- SerializeAbsoluteContext.cs
- WebHttpDispatchOperationSelector.cs
- ColumnHeader.cs
- ContractMethodParameterInfo.cs
- IPHostEntry.cs
- Debugger.cs
- TextSchema.cs
- panel.cs
- AppDomainProtocolHandler.cs
- StringSource.cs
- oledbconnectionstring.cs
- DrawingDrawingContext.cs
- StaticFileHandler.cs
- DateTime.cs
- XhtmlMobileTextWriter.cs
- ItemCollection.cs
- DataGridViewAccessibleObject.cs
- XmlSchemaChoice.cs
- EntityWithKeyStrategy.cs
- Margins.cs
- ZipIOFileItemStream.cs
- CodeIdentifiers.cs
- ModelFunctionTypeElement.cs
- SizeF.cs
- WindowsBrush.cs
- DataTablePropertyDescriptor.cs
- MailSettingsSection.cs
- WaitForChangedResult.cs
- QuotedStringWriteStateInfo.cs
- PagePropertiesChangingEventArgs.cs
- ProxyElement.cs
- XmlObjectSerializer.cs
- StringStorage.cs
- Matrix.cs
- FloatAverageAggregationOperator.cs
- ContentTextAutomationPeer.cs
- DeclarativeCatalogPartDesigner.cs
- XmlNodeChangedEventArgs.cs
- NetworkAddressChange.cs
- ToolStripContainer.cs
- GorillaCodec.cs
- BordersPage.cs
- ipaddressinformationcollection.cs
- FactoryGenerator.cs
- BulletDecorator.cs
- GridViewSortEventArgs.cs
- BrowsableAttribute.cs
- XpsSerializerFactory.cs
- ProgressBarAutomationPeer.cs
- RoutingExtensionElement.cs
- ResolvedKeyFrameEntry.cs
- ScriptingSectionGroup.cs