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
- XmlSchemaFacet.cs
- GeometryHitTestResult.cs
- PersonalizableAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- XmlDataImplementation.cs
- ActionNotSupportedException.cs
- PropertyConverter.cs
- XmlReflectionMember.cs
- Base64Stream.cs
- ConfigUtil.cs
- Translator.cs
- StrokeNode.cs
- TextBox.cs
- TransformPattern.cs
- recordstate.cs
- LambdaCompiler.Unary.cs
- SqlGenerator.cs
- CompilerResults.cs
- PrintingPermissionAttribute.cs
- BlockCollection.cs
- MetadataStore.cs
- TextEncodedRawTextWriter.cs
- GACMembershipCondition.cs
- ScrollBar.cs
- ToolStripDropDownButton.cs
- RadioButtonPopupAdapter.cs
- XmlValidatingReaderImpl.cs
- Stylus.cs
- SafeHandles.cs
- WebPartAddingEventArgs.cs
- WebPartCancelEventArgs.cs
- BaseParaClient.cs
- GZipStream.cs
- OverflowException.cs
- ImageCodecInfoPrivate.cs
- AttributeExtensions.cs
- TextElement.cs
- DiscoveryEndpointValidator.cs
- PageAsyncTask.cs
- XmlComment.cs
- PtsCache.cs
- ColumnCollectionEditor.cs
- TabItem.cs
- AnalyzedTree.cs
- CrossAppDomainChannel.cs
- TraceLog.cs
- NamespaceCollection.cs
- GetPageNumberCompletedEventArgs.cs
- UnknownBitmapDecoder.cs
- DataTableTypeConverter.cs
- TemplatingOptionsDialog.cs
- GridEntry.cs
- SmtpAuthenticationManager.cs
- SqlBuilder.cs
- CacheDependency.cs
- SplitContainer.cs
- TransformProviderWrapper.cs
- StringWriter.cs
- ScriptRegistrationManager.cs
- Int64AnimationBase.cs
- OdbcException.cs
- MultipartContentParser.cs
- CellPartitioner.cs
- EntityDataReader.cs
- UrlMappingCollection.cs
- DecodeHelper.cs
- InvokeWebServiceDesigner.cs
- COAUTHIDENTITY.cs
- XmlSchemaChoice.cs
- SingleSelectRootGridEntry.cs
- FormViewRow.cs
- SoapExtensionTypeElement.cs
- RC2CryptoServiceProvider.cs
- DataGridTablesFactory.cs
- RichTextBox.cs
- HtmlWindow.cs
- OutArgumentConverter.cs
- SafeFileHandle.cs
- EventRoute.cs
- StandardMenuStripVerb.cs
- FontFamilyConverter.cs
- ContextStack.cs
- SmtpClient.cs
- WinEventQueueItem.cs
- ValidatorCollection.cs
- PersonalizableAttribute.cs
- ProviderBase.cs
- AxParameterData.cs
- XamlFrame.cs
- TextDecorationCollection.cs
- PingOptions.cs
- ArithmeticException.cs
- CapabilitiesState.cs
- MediaContextNotificationWindow.cs
- Parser.cs
- GridViewRow.cs
- objectresult_tresulttype.cs
- UrlMapping.cs
- ByValueEqualityComparer.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs