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
- BuildDependencySet.cs
- SQLSingleStorage.cs
- TransformedBitmap.cs
- StringComparer.cs
- MeasureData.cs
- NumericPagerField.cs
- LocalBuilder.cs
- TextDecorationUnitValidation.cs
- MtomMessageEncodingBindingElement.cs
- CodeAttributeDeclarationCollection.cs
- querybuilder.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- ContentIterators.cs
- SettingsPropertyCollection.cs
- SymLanguageType.cs
- MouseActionConverter.cs
- BitmapEffectState.cs
- BoolExpression.cs
- ColumnWidthChangingEvent.cs
- remotingproxy.cs
- SimpleApplicationHost.cs
- InfiniteTimeSpanConverter.cs
- FixedSOMSemanticBox.cs
- FixedSOMFixedBlock.cs
- DynamicQueryableWrapper.cs
- Rotation3D.cs
- AssemblyContextControlItem.cs
- ArrayList.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- RTLAwareMessageBox.cs
- EntityDesignPluralizationHandler.cs
- COAUTHIDENTITY.cs
- BuildResultCache.cs
- TextUtf8RawTextWriter.cs
- NetNamedPipeSecurityElement.cs
- SwitchLevelAttribute.cs
- DeferredReference.cs
- COM2ExtendedTypeConverter.cs
- TransferRequestHandler.cs
- HtmlPanelAdapter.cs
- ListQueryResults.cs
- NativeMethods.cs
- UnsafeNativeMethods.cs
- ListControlBuilder.cs
- NameValueSectionHandler.cs
- DataBindingCollection.cs
- Char.cs
- TableHeaderCell.cs
- HMACSHA1.cs
- Array.cs
- _LocalDataStoreMgr.cs
- OleDbParameter.cs
- SchemaCollectionCompiler.cs
- StaticSiteMapProvider.cs
- _IPv4Address.cs
- PtsContext.cs
- XmlSchemaSimpleType.cs
- Pen.cs
- ProcessThread.cs
- PageAsyncTaskManager.cs
- InheritedPropertyChangedEventArgs.cs
- StringComparer.cs
- CodeDOMUtility.cs
- ItemMap.cs
- SemaphoreSecurity.cs
- PipelineModuleStepContainer.cs
- RoleService.cs
- WebCategoryAttribute.cs
- sqlnorm.cs
- IntegerCollectionEditor.cs
- GridViewDeleteEventArgs.cs
- PersistChildrenAttribute.cs
- SchemaEntity.cs
- SpanIndex.cs
- SchemaObjectWriter.cs
- GenericIdentity.cs
- TreeNodeSelectionProcessor.cs
- ResourceDisplayNameAttribute.cs
- DataGridViewAutoSizeModeEventArgs.cs
- XmlTextEncoder.cs
- ElementUtil.cs
- KerberosSecurityTokenProvider.cs
- QueryAccessibilityHelpEvent.cs
- SqlMultiplexer.cs
- PkcsUtils.cs
- ProcessModelInfo.cs
- HeaderedItemsControl.cs
- CompleteWizardStep.cs
- BasicHttpSecurity.cs
- UnsafeNativeMethodsTablet.cs
- LogFlushAsyncResult.cs
- ItemCollectionEditor.cs
- XmlProcessingInstruction.cs
- LocalizableAttribute.cs
- ToolStripSeparator.cs
- HtmlInputSubmit.cs
- ProgressBarAutomationPeer.cs
- RoutingExtensionElement.cs
- HttpRequest.cs
- ParentControlDesigner.cs