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
- CqlParser.cs
- coordinatorscratchpad.cs
- Utils.cs
- VerbConverter.cs
- OleDbParameter.cs
- Int32AnimationUsingKeyFrames.cs
- PropertyCondition.cs
- SpecularMaterial.cs
- RightsManagementInformation.cs
- QueueProcessor.cs
- TransformerInfoCollection.cs
- FrameworkObject.cs
- XamlPathDataSerializer.cs
- PersonalizationDictionary.cs
- XPathNodeInfoAtom.cs
- XmlCharacterData.cs
- SafeBitVector32.cs
- SettingsPropertyValueCollection.cs
- MsmqHostedTransportManager.cs
- SimpleFieldTemplateUserControl.cs
- LinqDataSourceDisposeEventArgs.cs
- SuppressMessageAttribute.cs
- NamespaceCollection.cs
- DateTimeSerializationSection.cs
- Vector3DConverter.cs
- TextElementCollectionHelper.cs
- SystemIPv4InterfaceProperties.cs
- CompositeDuplexElement.cs
- SecurityManager.cs
- ConfigXmlComment.cs
- NativeMethods.cs
- ObjectTypeMapping.cs
- TextEditorCopyPaste.cs
- SmiConnection.cs
- ConfigXmlReader.cs
- HtmlHead.cs
- MetafileHeader.cs
- Expression.DebuggerProxy.cs
- ActivityDesigner.cs
- CompilerErrorCollection.cs
- ExpandCollapsePattern.cs
- AssemblyResolver.cs
- SelectionProcessor.cs
- MenuRendererClassic.cs
- TranslateTransform.cs
- mediapermission.cs
- _BufferOffsetSize.cs
- SupportingTokenListenerFactory.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- CompressEmulationStream.cs
- References.cs
- RijndaelManaged.cs
- PeerResolverSettings.cs
- StoragePropertyMapping.cs
- HuffmanTree.cs
- SecurityRuntime.cs
- FileDialogCustomPlacesCollection.cs
- UnSafeCharBuffer.cs
- XmlRootAttribute.cs
- _Events.cs
- RC2CryptoServiceProvider.cs
- AssemblyAssociatedContentFileAttribute.cs
- ping.cs
- TypeReference.cs
- EdmProviderManifest.cs
- IDQuery.cs
- HtmlContainerControl.cs
- DispatcherExceptionFilterEventArgs.cs
- OleStrCAMarshaler.cs
- CodeDOMUtility.cs
- SqlDelegatedTransaction.cs
- SQLStringStorage.cs
- PeerNameRecordCollection.cs
- SID.cs
- SignatureToken.cs
- WebPartEditorOkVerb.cs
- RuleRefElement.cs
- ClonableStack.cs
- EventRecordWrittenEventArgs.cs
- XPathMultyIterator.cs
- OracleConnection.cs
- Misc.cs
- WebPartHeaderCloseVerb.cs
- StrongNameIdentityPermission.cs
- MouseGestureValueSerializer.cs
- sqlnorm.cs
- XPathException.cs
- DependencyPropertyKey.cs
- InheritanceContextChangedEventManager.cs
- ConfigXmlText.cs
- PageParserFilter.cs
- CodeGenerator.cs
- __Filters.cs
- FixedSOMElement.cs
- Journal.cs
- DataColumnMappingCollection.cs
- HuffmanTree.cs
- PerformanceCounterPermission.cs
- ComponentGuaranteesAttribute.cs
- TriggerCollection.cs