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
- Matrix3D.cs
- DataSpaceManager.cs
- Geometry3D.cs
- KernelTypeValidation.cs
- CompositeDataBoundControl.cs
- WindowsSecurityTokenAuthenticator.cs
- DeclarativeCatalogPart.cs
- VBIdentifierDesigner.xaml.cs
- TraceUtility.cs
- DelimitedListTraceListener.cs
- WorkflowApplicationException.cs
- WebColorConverter.cs
- KerberosTicketHashIdentifierClause.cs
- BrowserCapabilitiesCodeGenerator.cs
- DataListCommandEventArgs.cs
- CharAnimationBase.cs
- GridLengthConverter.cs
- ActivityDesignerAccessibleObject.cs
- shaper.cs
- WorkflowControlEndpoint.cs
- TextElementEditingBehaviorAttribute.cs
- BuildProviderCollection.cs
- WasEndpointConfigContainer.cs
- FormattedTextSymbols.cs
- ImageCodecInfoPrivate.cs
- DataGridViewMethods.cs
- AnimationClock.cs
- WebUtil.cs
- TreeWalker.cs
- COAUTHIDENTITY.cs
- ConsoleCancelEventArgs.cs
- SourceFilter.cs
- SystemFonts.cs
- Propagator.JoinPropagator.cs
- NumericUpDown.cs
- DriveInfo.cs
- SystemKeyConverter.cs
- PropertySegmentSerializer.cs
- DataContractJsonSerializerOperationBehavior.cs
- HierarchicalDataBoundControlAdapter.cs
- EntityDesignerUtils.cs
- DeviceFiltersSection.cs
- ChannelTracker.cs
- FileReservationCollection.cs
- WizardSideBarListControlItemEventArgs.cs
- TemplatePropertyEntry.cs
- StylusEditingBehavior.cs
- QuestionEventArgs.cs
- DelegateSerializationHolder.cs
- LateBoundBitmapDecoder.cs
- CustomTrackingQuery.cs
- LockedHandleGlyph.cs
- StyleCollection.cs
- While.cs
- IUnknownConstantAttribute.cs
- LineServicesCallbacks.cs
- DataConnectionHelper.cs
- DatagramAdapter.cs
- HtmlDocument.cs
- DataGridViewTextBoxColumn.cs
- WindowsTokenRoleProvider.cs
- ProfilePropertySettingsCollection.cs
- GeometryGroup.cs
- ComPlusSynchronizationContext.cs
- StringComparer.cs
- updatecommandorderer.cs
- KeyGestureConverter.cs
- CodeTypeReferenceExpression.cs
- RequestCachePolicyConverter.cs
- SiteMembershipCondition.cs
- WebBrowserNavigatedEventHandler.cs
- GrammarBuilder.cs
- ExceptionHandlerDesigner.cs
- GlyphShapingProperties.cs
- WindowsStatusBar.cs
- MasterPageParser.cs
- DrawItemEvent.cs
- PeerValidationBehavior.cs
- ContentControl.cs
- InternalConfigEventArgs.cs
- SqlCaseSimplifier.cs
- WebPartsPersonalization.cs
- RootNamespaceAttribute.cs
- XamlFrame.cs
- OleDbStruct.cs
- DbDataAdapter.cs
- GPRECTF.cs
- StylusButton.cs
- DummyDataSource.cs
- MonitoringDescriptionAttribute.cs
- TextParentUndoUnit.cs
- BamlResourceSerializer.cs
- Pens.cs
- EntitySqlQueryBuilder.cs
- JournalNavigationScope.cs
- QEncodedStream.cs
- ProfileSettings.cs
- LoginUtil.cs
- XmlImplementation.cs
- DataSourceSelectArguments.cs