Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Base / Core / ContextItem.cs / 1305376 / ContextItem.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.Activities.Presentation { using System.Diagnostics.CodeAnalysis; using System; using System.Collections.Generic; //// The ContextItem class is the base class from which all context items must derive. // public abstract class ContextItem { //// Creates a new ContextItem. // protected ContextItem() { } //// Returns the item type for this editing context item. Context items are // considered unique based on their item type. By using ItemType to identify // a type of context item we allow several derived versions of context items to // be cataloged under the same key in the editing context. // //public abstract Type ItemType { get; } // // This method is called on a context item before it is stored in the context item // manager. The previous item in the context item manager is passed. // // The editing context that is making this change. // The previously active item in the context. Because items must have default constructors a default item will be fabricated if an item is first passed into the context. //protected virtual void OnItemChanged(EditingContext context, ContextItem previousItem) { } // // Internal API that calls OnItemChanged. This is invoked from the // abstract ContextItemManager class so deriving classes can still // invoke it. // internal void InvokeOnItemChanged(EditingContext context, ContextItem previousItem) { OnItemChanged(context, previousItem); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SafeSecurityHandles.cs
- IOThreadScheduler.cs
- SmtpReplyReaderFactory.cs
- HttpDebugHandler.cs
- MachineKeySection.cs
- XmlSchemaSimpleContentExtension.cs
- XmlProcessingInstruction.cs
- GridViewDeletedEventArgs.cs
- WindowsListViewItemCheckBox.cs
- ThicknessConverter.cs
- TypeInfo.cs
- __ComObject.cs
- Transform3DCollection.cs
- ParseElementCollection.cs
- DataSvcMapFileSerializer.cs
- PeerPresenceInfo.cs
- CommandManager.cs
- InitializationEventAttribute.cs
- Module.cs
- Update.cs
- FormsAuthenticationConfiguration.cs
- Transform.cs
- SqlExpander.cs
- CompilationUnit.cs
- MimeParameterWriter.cs
- OutputScopeManager.cs
- elementinformation.cs
- FileUpload.cs
- DESCryptoServiceProvider.cs
- SQLBinary.cs
- compensatingcollection.cs
- __Error.cs
- XPathNodeList.cs
- TimeStampChecker.cs
- EventEntry.cs
- PipeStream.cs
- WebServiceClientProxyGenerator.cs
- StreamGeometryContext.cs
- AnimationLayer.cs
- LingerOption.cs
- ProfileService.cs
- BulletDecorator.cs
- ContainerFilterService.cs
- XmlSignificantWhitespace.cs
- DecoderNLS.cs
- EdmError.cs
- Simplifier.cs
- Decorator.cs
- XmlConvert.cs
- DefaultMemberAttribute.cs
- ConfigXmlCDataSection.cs
- XmlNamespaceMappingCollection.cs
- HMACMD5.cs
- FontInfo.cs
- UIHelper.cs
- WorkflowControlEndpoint.cs
- QueuePathDialog.cs
- StreamHelper.cs
- RemoteWebConfigurationHost.cs
- WebFaultClientMessageInspector.cs
- TextStore.cs
- BrowserTree.cs
- CheckBox.cs
- TextServicesCompartmentContext.cs
- XmlnsDictionary.cs
- CodeTypeReferenceExpression.cs
- AppDomainManager.cs
- SqlParameterCollection.cs
- WorkflowMarkupSerializationException.cs
- OperationCanceledException.cs
- EntityClientCacheKey.cs
- DataSourceControlBuilder.cs
- ElementHostAutomationPeer.cs
- ConstructorArgumentAttribute.cs
- SecurityState.cs
- XmlSchemaObjectCollection.cs
- Resources.Designer.cs
- MimeParameter.cs
- TypeConverterAttribute.cs
- HtmlProps.cs
- SoapSchemaImporter.cs
- Faults.cs
- IntMinMaxAggregationOperator.cs
- SqlParameterizer.cs
- NavigatingCancelEventArgs.cs
- SynchronizedInputPattern.cs
- SrgsDocumentParser.cs
- DesignerCapabilities.cs
- XmlWrappingReader.cs
- StringInfo.cs
- _ProxyRegBlob.cs
- XPathParser.cs
- ValidationPropertyAttribute.cs
- DbConnectionInternal.cs
- EmptyControlCollection.cs
- TimeoutHelper.cs
- Lease.cs
- MSHTMLHost.cs
- ProgressBarRenderer.cs
- Process.cs