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
- InputScopeConverter.cs
- QueryOptionExpression.cs
- MemberDescriptor.cs
- TextParentUndoUnit.cs
- AutomationProperties.cs
- ObjectAnimationBase.cs
- WebBrowserProgressChangedEventHandler.cs
- InfoCardXmlSerializer.cs
- LiteralSubsegment.cs
- WebPartConnectionCollection.cs
- Convert.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ContextStaticAttribute.cs
- DataGridViewRowStateChangedEventArgs.cs
- Receive.cs
- XmlDomTextWriter.cs
- WebPermission.cs
- wmiprovider.cs
- GcHandle.cs
- Win32.cs
- MetabaseServerConfig.cs
- TextContainerChangedEventArgs.cs
- RightsManagementPermission.cs
- COAUTHINFO.cs
- DocumentPaginator.cs
- MenuItemStyleCollection.cs
- SmiRecordBuffer.cs
- BitmapFrameDecode.cs
- InkPresenter.cs
- Crypto.cs
- DataSourceSelectArguments.cs
- CollectionView.cs
- UnsafeNativeMethods.cs
- AssemblyResourceLoader.cs
- GridSplitterAutomationPeer.cs
- ClaimTypes.cs
- StorageInfo.cs
- HttpApplication.cs
- BaseDataBoundControl.cs
- CryptoHandle.cs
- HwndTarget.cs
- DoubleLink.cs
- Brush.cs
- FrameworkElement.cs
- DataGridViewCellStyle.cs
- AsyncStreamReader.cs
- DbDataRecord.cs
- MessageQueueException.cs
- VersionedStreamOwner.cs
- ScriptHandlerFactory.cs
- TripleDES.cs
- ArrayHelper.cs
- CryptoProvider.cs
- BeginStoryboard.cs
- SqlDataSourceCustomCommandEditor.cs
- SchemaCollectionCompiler.cs
- DataGridViewCellValueEventArgs.cs
- ScriptIgnoreAttribute.cs
- _NetRes.cs
- RectKeyFrameCollection.cs
- SiteMapNodeCollection.cs
- MiniParameterInfo.cs
- TimeoutTimer.cs
- ValidationSettings.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- ExtensionSimplifierMarkupObject.cs
- DeviceContexts.cs
- PersonalizationStateInfo.cs
- XmlWriter.cs
- ActivityStateRecord.cs
- NoPersistHandle.cs
- EntityDataSourceQueryBuilder.cs
- ButtonPopupAdapter.cs
- LocalClientSecuritySettingsElement.cs
- SecurityUtils.cs
- NativeCompoundFileAPIs.cs
- XmlSchemaComplexContent.cs
- ThaiBuddhistCalendar.cs
- OutputCacheSection.cs
- XmlIncludeAttribute.cs
- CompatibleIComparer.cs
- SerialStream.cs
- DoubleMinMaxAggregationOperator.cs
- WSSecurityPolicy12.cs
- TransformedBitmap.cs
- QilList.cs
- InputBuffer.cs
- Int16Storage.cs
- WSSecurityJan2004.cs
- ObsoleteAttribute.cs
- EntityDesignerUtils.cs
- CellLabel.cs
- HtmlImage.cs
- SerializationUtilities.cs
- HandlerBase.cs
- WebUtil.cs
- DesignerTransactionCloseEvent.cs
- ActionFrame.cs
- OpacityConverter.cs
- XmlComment.cs