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
- unsafenativemethodstextservices.cs
- RemoteWebConfigurationHostStream.cs
- TypeConverterMarkupExtension.cs
- DependencyObject.cs
- PersistNameAttribute.cs
- ReliabilityContractAttribute.cs
- ThemeableAttribute.cs
- HotSpotCollection.cs
- SQLMoney.cs
- SourceSwitch.cs
- WebPartCatalogCloseVerb.cs
- XmlSchemaAnyAttribute.cs
- ProgressiveCrcCalculatingStream.cs
- WebPartVerb.cs
- SqlMethodTransformer.cs
- DataGridViewColumnHeaderCell.cs
- DirtyTextRange.cs
- PathStreamGeometryContext.cs
- EndEvent.cs
- DataGridViewEditingControlShowingEventArgs.cs
- KeyEventArgs.cs
- AsymmetricCryptoHandle.cs
- FileDataSource.cs
- CryptoStream.cs
- SID.cs
- DescendantQuery.cs
- ThicknessKeyFrameCollection.cs
- StrokeDescriptor.cs
- EntityParameterCollection.cs
- SQlBooleanStorage.cs
- RowCache.cs
- ConfigXmlCDataSection.cs
- NativeRecognizer.cs
- IOException.cs
- HttpHandlerAction.cs
- ControlParameter.cs
- EventDescriptor.cs
- SqlExpander.cs
- XmlDictionaryReaderQuotas.cs
- FrameSecurityDescriptor.cs
- _BufferOffsetSize.cs
- RawStylusInput.cs
- KeyValueSerializer.cs
- Console.cs
- FormViewInsertEventArgs.cs
- TextWriter.cs
- Script.cs
- TextInfo.cs
- EdmType.cs
- ThumbButtonInfoCollection.cs
- DataGridItem.cs
- XPathNodeInfoAtom.cs
- SelectionRange.cs
- PrintControllerWithStatusDialog.cs
- FolderLevelBuildProviderCollection.cs
- StringPropertyBuilder.cs
- EditorZone.cs
- CompilerWrapper.cs
- dataprotectionpermission.cs
- SoapServerProtocol.cs
- xsdvalidator.cs
- SystemInformation.cs
- AsymmetricKeyExchangeFormatter.cs
- Registry.cs
- SqlNotificationRequest.cs
- ReverseInheritProperty.cs
- ObjectSet.cs
- EpmCustomContentWriterNodeData.cs
- FusionWrap.cs
- CompressedStack.cs
- DbDataRecord.cs
- StylusPointProperties.cs
- Mappings.cs
- ConfigurationSectionGroup.cs
- RemoteWebConfigurationHost.cs
- NamedPermissionSet.cs
- EventToken.cs
- BooleanSwitch.cs
- InputQueue.cs
- TextElementEnumerator.cs
- ETagAttribute.cs
- FieldBuilder.cs
- ListViewTableRow.cs
- LinkConverter.cs
- ObjectDataProvider.cs
- AssemblyBuilder.cs
- CodeStatement.cs
- EditingMode.cs
- SchemaElementLookUpTable.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- RegularExpressionValidator.cs
- ParagraphResult.cs
- CodeExpressionCollection.cs
- HTMLTextWriter.cs
- TypeConverterHelper.cs
- AuthorizationRuleCollection.cs
- BitmapEffectGeneralTransform.cs
- AdapterUtil.cs
- PagePropertiesChangingEventArgs.cs
- UnsafeNativeMethods.cs