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
- Int32Converter.cs
- XmlTypeAttribute.cs
- BitmapVisualManager.cs
- Border.cs
- Vector.cs
- Vector.cs
- DataDocumentXPathNavigator.cs
- HtmlProps.cs
- ConnectionPoint.cs
- NonBatchDirectoryCompiler.cs
- BinaryConverter.cs
- LiteralControl.cs
- TargetException.cs
- errorpatternmatcher.cs
- TypeDescriptionProviderAttribute.cs
- LongCountAggregationOperator.cs
- datacache.cs
- PriorityItem.cs
- MultipleViewProviderWrapper.cs
- FrameSecurityDescriptor.cs
- UdpConstants.cs
- EntityDataSourceWizardForm.cs
- QueryExtender.cs
- TextInfo.cs
- DbCommandDefinition.cs
- TreeIterators.cs
- HttpHeaderCollection.cs
- QilStrConcatenator.cs
- NavigationWindowAutomationPeer.cs
- OpenTypeLayout.cs
- LinqDataView.cs
- XmlExtensionFunction.cs
- FragmentQueryProcessor.cs
- WebConfigurationFileMap.cs
- XpsFont.cs
- ConstructorNeedsTagAttribute.cs
- FacetDescriptionElement.cs
- SelectorItemAutomationPeer.cs
- SQLDouble.cs
- StrongNameUtility.cs
- SQLGuidStorage.cs
- VisualTreeHelper.cs
- MappingModelBuildProvider.cs
- UIElement.cs
- Point.cs
- PropertyPath.cs
- ConstantSlot.cs
- EntityObject.cs
- PageBuildProvider.cs
- HandleRef.cs
- PropertyGeneratedEventArgs.cs
- DataGridLinkButton.cs
- PerfCounterSection.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- UnsafeNativeMethodsCLR.cs
- ScaleTransform3D.cs
- VersionPair.cs
- OletxResourceManager.cs
- BridgeDataReader.cs
- XmlReader.cs
- InternalResources.cs
- Transform3D.cs
- LabelAutomationPeer.cs
- DataServiceException.cs
- ComAdminWrapper.cs
- BasicKeyConstraint.cs
- TypeUnloadedException.cs
- DesignerOptionService.cs
- TdsParserSafeHandles.cs
- Constraint.cs
- CqlWriter.cs
- XmlDataImplementation.cs
- Certificate.cs
- CheckBoxField.cs
- ConditionalAttribute.cs
- Normalization.cs
- DataColumnMapping.cs
- XomlCompiler.cs
- DesignerImageAdapter.cs
- CurrentChangingEventManager.cs
- EventHandlers.cs
- ToolboxItem.cs
- Quad.cs
- QilPatternFactory.cs
- ColumnPropertiesGroup.cs
- AvTraceDetails.cs
- CalendarAutoFormat.cs
- BitmapEffectDrawingContextState.cs
- FixedBufferAttribute.cs
- ProcessInfo.cs
- PointAnimationUsingPath.cs
- complextypematerializer.cs
- GeometryDrawing.cs
- ProgressPage.cs
- ClientBuildManager.cs
- ADRole.cs
- PageParserFilter.cs
- ADRoleFactory.cs
- AdCreatedEventArgs.cs
- ReadOnlyDictionary.cs