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
- XmlWellformedWriter.cs
- KerberosTicketHashIdentifierClause.cs
- PageVisual.cs
- Compiler.cs
- ConsoleKeyInfo.cs
- ThicknessAnimation.cs
- NamedElement.cs
- altserialization.cs
- BamlRecords.cs
- CuspData.cs
- TripleDES.cs
- PanelDesigner.cs
- TreeWalkHelper.cs
- TypeUsageBuilder.cs
- TraceFilter.cs
- GlyphTypeface.cs
- RuntimeIdentifierPropertyAttribute.cs
- DeviceSpecificDesigner.cs
- XmlDataFileEditor.cs
- PopupEventArgs.cs
- SingleTagSectionHandler.cs
- XamlTreeBuilderBamlRecordWriter.cs
- XpsViewerException.cs
- TerminateDesigner.cs
- Calendar.cs
- UrlMappingCollection.cs
- SaveFileDialog.cs
- IdnMapping.cs
- Stream.cs
- CustomValidator.cs
- AnimationStorage.cs
- OperationAbortedException.cs
- CustomTypeDescriptor.cs
- XmlComplianceUtil.cs
- MDIControlStrip.cs
- DrawListViewItemEventArgs.cs
- NativeMethods.cs
- XhtmlCssHandler.cs
- XmlTextAttribute.cs
- HttpProfileGroupBase.cs
- CommandLibraryHelper.cs
- WFItemsToSpacerVisibility.cs
- EventProxy.cs
- AutoResetEvent.cs
- Scene3D.cs
- Attributes.cs
- StorageMappingItemLoader.cs
- CalendarData.cs
- DBDataPermissionAttribute.cs
- DynamicExpression.cs
- FixedDocumentPaginator.cs
- QueryResultOp.cs
- HttpRawResponse.cs
- XhtmlTextWriter.cs
- TextRunCache.cs
- InternalControlCollection.cs
- Point3DValueSerializer.cs
- ListViewItemMouseHoverEvent.cs
- GeneralTransform3DTo2DTo3D.cs
- FixedSOMPage.cs
- SimpleBitVector32.cs
- ScrollItemProviderWrapper.cs
- SystemWebExtensionsSectionGroup.cs
- SafeHandles.cs
- Style.cs
- HwndTarget.cs
- Switch.cs
- PackUriHelper.cs
- BitmapEffectrendercontext.cs
- Function.cs
- _SafeNetHandles.cs
- RadialGradientBrush.cs
- NativeMethods.cs
- ConsumerConnectionPointCollection.cs
- StylusPointPropertyId.cs
- ZoneButton.cs
- StateMachine.cs
- ApplicationInterop.cs
- ListViewTableRow.cs
- WindowsFormsHostAutomationPeer.cs
- XmlQualifiedNameTest.cs
- GridViewCellAutomationPeer.cs
- PrintDialogException.cs
- SerializerProvider.cs
- SqlVersion.cs
- KeyConstraint.cs
- OleStrCAMarshaler.cs
- UInt64Converter.cs
- TextTreeInsertElementUndoUnit.cs
- DataListItem.cs
- ListControlConvertEventArgs.cs
- OAVariantLib.cs
- rsa.cs
- Point3D.cs
- TypeContext.cs
- Random.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- DataGridViewColumn.cs
- CodeStatement.cs
- Ref.cs