Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / Tools / System.Activities.Presentation / System / Activities / Presentation / Base / Interaction / Services / ViewService.cs / 1305376 / ViewService.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Activities.Presentation.Services { using System; using System.Windows; using System.Activities.Presentation.Model; ////// This service allows you to move between the model and the view. /// public abstract class ViewService { ////// Constructs a new ViewService. /// protected ViewService() { } ////// Returns the model corresponding to the view, or null if /// there is no model matching the view. /// /// /// The view object you wish to find the model for. /// ////// The corresponding model, or null if there is no model for the /// given view object. /// ///if view is null. public abstract ModelItem GetModel(DependencyObject view); ////// Returns the view corresponding to the given model. This /// can return null if there is no view for the model. /// /// /// The model to return the view object for. /// ////// The view for this model, or null if there is no view. /// ///if model is null. ///if model does not represent a valid model for this service. public abstract DependencyObject GetView(ModelItem model); } } // 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
- DelayedRegex.cs
- RelationshipEndCollection.cs
- StatusBar.cs
- DateTimeConstantAttribute.cs
- OdbcConnectionPoolProviderInfo.cs
- Transform3D.cs
- EntityClassGenerator.cs
- WebException.cs
- PerformanceCounterManager.cs
- TemplateControlBuildProvider.cs
- ToolStripRendererSwitcher.cs
- DbConnectionInternal.cs
- _ScatterGatherBuffers.cs
- FileLogRecord.cs
- FacetChecker.cs
- QilDataSource.cs
- DecimalAnimation.cs
- TableCell.cs
- DataGridViewCell.cs
- ViewStateChangedEventArgs.cs
- DocumentPageTextView.cs
- Gdiplus.cs
- GiveFeedbackEvent.cs
- HyperlinkAutomationPeer.cs
- _AcceptOverlappedAsyncResult.cs
- FontStretches.cs
- WebPartActionVerb.cs
- Thread.cs
- WarningException.cs
- ComboBoxItem.cs
- altserialization.cs
- TransformerTypeCollection.cs
- SchemaElementDecl.cs
- QuaternionAnimationBase.cs
- DataRelationCollection.cs
- TextWriterTraceListener.cs
- EmissiveMaterial.cs
- HandleCollector.cs
- SqlFormatter.cs
- NavigationCommands.cs
- HebrewCalendar.cs
- OrderablePartitioner.cs
- WebPartCatalogAddVerb.cs
- CodePageUtils.cs
- DataSourceCacheDurationConverter.cs
- TaskFormBase.cs
- EntityDataReader.cs
- VirtualPath.cs
- RenderData.cs
- KeyNotFoundException.cs
- XPathDocumentIterator.cs
- Brush.cs
- XmlDocumentFragment.cs
- PreservationFileReader.cs
- UInt32Storage.cs
- ProbeMatches11.cs
- QueryableDataSource.cs
- PeerNameRecordCollection.cs
- SecurityContext.cs
- ElementNotAvailableException.cs
- ReferencedAssembly.cs
- SettingsPropertyCollection.cs
- XPathMessageFilterElementComparer.cs
- WsatConfiguration.cs
- DelayedRegex.cs
- DispatcherOperation.cs
- EventSinkActivity.cs
- AttributeCollection.cs
- oledbconnectionstring.cs
- ADRole.cs
- Rotation3DAnimation.cs
- AdornerDecorator.cs
- KeyGesture.cs
- AttributeQuery.cs
- ExpandedProjectionNode.cs
- TreeNodeConverter.cs
- IdentityReference.cs
- CryptoApi.cs
- PeoplePickerWrapper.cs
- DesignerActionVerbItem.cs
- IListConverters.cs
- XPathSelfQuery.cs
- FixedSOMPageConstructor.cs
- DefaultTextStore.cs
- QueueProcessor.cs
- IndicShape.cs
- NegotiationTokenProvider.cs
- CleanUpVirtualizedItemEventArgs.cs
- ListViewTableRow.cs
- WorkflowPersistenceService.cs
- ComponentResourceManager.cs
- linebase.cs
- CodeMemberEvent.cs
- WebBrowserHelper.cs
- GreaterThanOrEqual.cs
- MemberDomainMap.cs
- DebugTrace.cs
- SqlTypesSchemaImporter.cs
- NamedPipeChannelListener.cs
- CodeTypeDeclaration.cs