1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation. All rights reserved.
3 //----------------------------------------------------------------
4 namespace System.Activities.Presentation.Internal.PropertyEditing.Selection
9 // Interface we use to separate logic that knows how to look up and resolve a given SelectionPath
10 // into an actual visual object somewhere within a given CategoryList control instance.
12 internal interface ISelectionPathInterpreter
16 // Gets the token that uniquely identifies the type of SelectionPath instances
17 // that a given ISelectionPathInterpreter knows how to interpret
23 // Resolves the specified SelectionPath into an actual visual object somewhere within
24 // the given CategoryList control instance. The implementation can assume that the
25 // SelectionPath instance passed into this method matches the PathTypeId specified
28 // <param name="root">CategoryList control to look into</param>
29 // <param name="path">SelectionPath to resolve</param>
30 // <param name="pendingGeneration">Set to true if the specified UI is under generating</param>
31 // <returns>Resolved visual corresponding to the given path if found, null otherise.</returns>
32 DependencyObject ResolveSelectionPath(CategoryList root, SelectionPath path, out bool pendingGeneration);