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
- RepeatBehavior.cs
- TemplateFactory.cs
- ResXResourceReader.cs
- glyphs.cs
- ControlBuilderAttribute.cs
- TextElement.cs
- XmlChildEnumerator.cs
- DataGridViewRowHeaderCell.cs
- CodeEntryPointMethod.cs
- FileDetails.cs
- TextEffect.cs
- ISAPIApplicationHost.cs
- HttpCookie.cs
- DurationConverter.cs
- ChtmlTextWriter.cs
- TextSearch.cs
- OutputCacheSettingsSection.cs
- LinqDataSourceContextData.cs
- StringUtil.cs
- SqlRowUpdatingEvent.cs
- RijndaelCryptoServiceProvider.cs
- DataObjectCopyingEventArgs.cs
- DataGridViewCellEventArgs.cs
- TableCellCollection.cs
- ExceptionHelpers.cs
- NGCSerializer.cs
- FilterElement.cs
- ProfileGroupSettings.cs
- DeviceContext.cs
- RuntimeHelpers.cs
- ImageIndexConverter.cs
- Marshal.cs
- TokenBasedSetEnumerator.cs
- RequestTimeoutManager.cs
- DataSourceCache.cs
- SectionVisual.cs
- PrtCap_Public.cs
- TrackingLocationCollection.cs
- FixedSOMPageElement.cs
- Error.cs
- QilReference.cs
- RequestCacheManager.cs
- WsatConfiguration.cs
- metadatamappinghashervisitor.cs
- Pair.cs
- PopupRootAutomationPeer.cs
- ContentPosition.cs
- SqlDataSourceSelectingEventArgs.cs
- ThrowOnMultipleAssignment.cs
- FillBehavior.cs
- PagePropertiesChangingEventArgs.cs
- SchemaTableOptionalColumn.cs
- OutputBuffer.cs
- TracePayload.cs
- RawStylusInputCustomData.cs
- UserPersonalizationStateInfo.cs
- TabletDevice.cs
- BevelBitmapEffect.cs
- manifestimages.cs
- ISO2022Encoding.cs
- StickyNoteContentControl.cs
- MarkupExtensionReturnTypeAttribute.cs
- WindowsFormsHelpers.cs
- DataGrid.cs
- X509InitiatorCertificateServiceElement.cs
- TaiwanLunisolarCalendar.cs
- SQLSingleStorage.cs
- ApplicationSettingsBase.cs
- MD5.cs
- InvalidOleVariantTypeException.cs
- RSAPKCS1SignatureDeformatter.cs
- Decimal.cs
- RectangleConverter.cs
- XmlJsonWriter.cs
- TabletCollection.cs
- Closure.cs
- XPathDescendantIterator.cs
- EntitySqlQueryCacheKey.cs
- InfoCardSymmetricCrypto.cs
- MaskedTextBoxDesignerActionList.cs
- IndexOutOfRangeException.cs
- DbParameterCollection.cs
- WindowsFont.cs
- WindowsRichEdit.cs
- ScopelessEnumAttribute.cs
- ExecutedRoutedEventArgs.cs
- OletxResourceManager.cs
- SaveWorkflowCommand.cs
- While.cs
- LightweightCodeGenerator.cs
- XmlSchemaType.cs
- CompositeScriptReferenceEventArgs.cs
- FormViewPageEventArgs.cs
- SafeThreadHandle.cs
- ListViewAutomationPeer.cs
- SQLBinary.cs
- TraceListeners.cs
- XamlParser.cs
- XsltException.cs
- DataGridHeaderBorder.cs