Class Win32TreeViewFlavorElement
public class Win32TreeViewFlavorElement : Win32FlavorElement
- Inheritance
-
Win32TreeViewFlavorElement
- Inherited Members
Constructors
Win32TreeViewFlavorElement(IntPtr)
public Win32TreeViewFlavorElement(IntPtr handle)
Parameters
handleIntPtr
Methods
EnsureVisible()
Ensures that the flavor element is visible.
public override bool EnsureVisible()
Returns
- bool
True if the operation was successful.
GetChildLineageFromPoint(Point, out FindRefineMode)
Returns a list of flavor elements that is the lineage to the flavor element at the specified screen location.
public override LinkedList<FlavorElement> GetChildLineageFromPoint(Point screenLocation, out FindRefineMode refineMode)
Parameters
screenLocationPointThe screen location to search at.
refineModeFindRefineModeCan be set to indicate that further searching is required.
Returns
- LinkedList<FlavorElement>
The lineage to the flavor element at the specified point as a list.
Remarks
The first element in the returned list is the direct child of this flavor element, the k-th element is the parent of the (k+1)-th element, and the last element is the actual flavor element at the specified screen location. Consequently, an empty list is to be returned if this element is the best fitting element at the requested point.
Returns null if the specified screenLocation is not within this
or one of its descendant elements.
GetElementCapabilities(Element, out Role, out string[], out string)
Supplies the role, a list of capabilities and a preferred capability names to the caller. This method called when building a new element from the flavor element.
public override void GetElementCapabilities(Element parent, out Role role, out string[] capabilities, out string preferredCap)