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
- XamlSerializerUtil.cs
- XmlNullResolver.cs
- PrinterResolution.cs
- DSACryptoServiceProvider.cs
- KeyInstance.cs
- SubpageParagraph.cs
- ProcessInfo.cs
- ListenerHandler.cs
- RegionIterator.cs
- ProxyGenerator.cs
- RepeaterItemEventArgs.cs
- DataViewManagerListItemTypeDescriptor.cs
- PropertyBuilder.cs
- BaseTreeIterator.cs
- ZipIOLocalFileHeader.cs
- ActionMessageFilterTable.cs
- HtmlObjectListAdapter.cs
- QilPatternVisitor.cs
- OperationContractAttribute.cs
- StrokeNodeEnumerator.cs
- ObjectListSelectEventArgs.cs
- AttachmentService.cs
- SystemUdpStatistics.cs
- XmlSchemaSequence.cs
- TaiwanCalendar.cs
- DataBindingHandlerAttribute.cs
- DataRowView.cs
- StringSource.cs
- SqlDelegatedTransaction.cs
- ModuleBuilder.cs
- AssemblyHelper.cs
- SQLInt32.cs
- WindowsTab.cs
- FunctionQuery.cs
- PageAsyncTask.cs
- LambdaCompiler.Statements.cs
- EvidenceBase.cs
- ArraySubsetEnumerator.cs
- TextParagraphView.cs
- VisualStateChangedEventArgs.cs
- CompilerParameters.cs
- XPathArrayIterator.cs
- RankException.cs
- FixedTextBuilder.cs
- DataServiceConfiguration.cs
- JsonObjectDataContract.cs
- ArraySet.cs
- ContextMenuService.cs
- ListViewHitTestInfo.cs
- ContextBase.cs
- ValidationManager.cs
- CollectionConverter.cs
- HostingEnvironmentWrapper.cs
- MbpInfo.cs
- WebControlAdapter.cs
- ControlAdapter.cs
- ControlUtil.cs
- NamedPermissionSet.cs
- SelectionPatternIdentifiers.cs
- TraceUtility.cs
- GlyphElement.cs
- SystemException.cs
- AbandonedMutexException.cs
- SvcMapFileLoader.cs
- BindingListCollectionView.cs
- TdsParserStateObject.cs
- Converter.cs
- MappingSource.cs
- FormatVersion.cs
- IIS7WorkerRequest.cs
- UnsafeNativeMethods.cs
- SQLDateTime.cs
- _HelperAsyncResults.cs
- streamingZipPartStream.cs
- IconHelper.cs
- BufferedResponseStream.cs
- TableRow.cs
- DbModificationCommandTree.cs
- PrintPageEvent.cs
- GregorianCalendarHelper.cs
- DateTimeSerializationSection.cs
- InkSerializer.cs
- OleDbRowUpdatedEvent.cs
- MetadataException.cs
- SimpleBitVector32.cs
- SQLBoolean.cs
- ToolBarOverflowPanel.cs
- CodeCompileUnit.cs
- OleDbPropertySetGuid.cs
- InkCanvasAutomationPeer.cs
- NamedPermissionSet.cs
- BamlResourceSerializer.cs
- SerializationObjectManager.cs
- ContainerUtilities.cs
- XmlTextReader.cs
- Models.cs
- AssociatedControlConverter.cs
- UIElementParagraph.cs
- ReferencedCategoriesDocument.cs
- WebPartCancelEventArgs.cs