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
- DefaultCommandConverter.cs
- XdrBuilder.cs
- CellLabel.cs
- VariableQuery.cs
- SafeNativeMethods.cs
- CodeValidator.cs
- PrimitiveType.cs
- BlurEffect.cs
- SqlEnums.cs
- MethodToken.cs
- ServiceModelEnumValidator.cs
- CheckoutException.cs
- BamlLocalizableResourceKey.cs
- LocalizationComments.cs
- RC2.cs
- Scheduling.cs
- EventPropertyMap.cs
- SystemNetworkInterface.cs
- EasingQuaternionKeyFrame.cs
- ReadContentAsBinaryHelper.cs
- SerializationStore.cs
- ProvideValueServiceProvider.cs
- LinqTreeNodeEvaluator.cs
- OperatingSystem.cs
- ReferentialConstraint.cs
- SeekStoryboard.cs
- EntityDataReader.cs
- AuthenticatedStream.cs
- MethodToken.cs
- OleDbInfoMessageEvent.cs
- CustomLineCap.cs
- RequestCacheValidator.cs
- ForceCopyBuildProvider.cs
- EditCommandColumn.cs
- StyleModeStack.cs
- precedingquery.cs
- TypeConverterHelper.cs
- COM2FontConverter.cs
- GrammarBuilderDictation.cs
- AuthenticationConfig.cs
- CodeIdentifier.cs
- HtmlWindowCollection.cs
- LineInfo.cs
- ClientTargetSection.cs
- MouseButtonEventArgs.cs
- EditCommandColumn.cs
- UnionCodeGroup.cs
- HtmlTable.cs
- DictionaryTraceRecord.cs
- ExpressionBuilder.cs
- MemberInitExpression.cs
- TrustLevel.cs
- TextTreeDeleteContentUndoUnit.cs
- SQLByteStorage.cs
- BinHexDecoder.cs
- EntryWrittenEventArgs.cs
- EnvelopedSignatureTransform.cs
- ResizeBehavior.cs
- X509Chain.cs
- DataException.cs
- QilTernary.cs
- MulticastIPAddressInformationCollection.cs
- SqlServer2KCompatibilityAnnotation.cs
- SyndicationElementExtension.cs
- DataKeyArray.cs
- ResourceManager.cs
- FilteredDataSetHelper.cs
- DetailsViewPagerRow.cs
- SynchronizedInputProviderWrapper.cs
- BaseTreeIterator.cs
- ImageAutomationPeer.cs
- SharedPerformanceCounter.cs
- DataGridParentRows.cs
- HttpCookieCollection.cs
- Typeface.cs
- StructuralObject.cs
- EncodingTable.cs
- DispatcherSynchronizationContext.cs
- ValidationResult.cs
- ObjectViewQueryResultData.cs
- BuildManagerHost.cs
- HttpRequestMessageProperty.cs
- BamlRecordReader.cs
- dbenumerator.cs
- FontCollection.cs
- Table.cs
- ExecutedRoutedEventArgs.cs
- Soap.cs
- PriorityQueue.cs
- CodeParameterDeclarationExpressionCollection.cs
- CurrencyWrapper.cs
- ElementMarkupObject.cs
- SqlClientMetaDataCollectionNames.cs
- DiagnosticEventProvider.cs
- SystemIPGlobalStatistics.cs
- HashCodeCombiner.cs
- Logging.cs
- WinFormsUtils.cs
- HTMLTextWriter.cs
- DataGridViewHeaderCell.cs