Method | Description | |
---|---|---|
CreateImageBrushFromVisual ( |
Helper method to create a snapshot of a visual item as a bitmap image. Typically used for things like drag and drop or any time we want to do something where we don't want the hit of a video running in an animating object
|
|
FindDownInTree ( Visual parent, IFinderMatchVisualHelper helper ) : List |
Walker that looks down in the visual tree for any matching elements, typically used with Type
|
|
FindDownInTree ( List |
Really a helper for FindDownInTree, typically not called directly.
|
|
FindElementOfType ( Visual parent, |
Simple form call that returns the first element of a given type down in the visual tree
|
|
FindElementOfTypeUp ( Visual parent, |
Simple form call that returns the first element of a given type up in the visual tree
|
|
FindElementsOfType ( Visual parent, |
Simple form call that returns all elements of a given type down in the visual tree
|
|
FindFocusedElement ( Visual parent ) : |
Helper to find the currently focused element
|
|
FindInTree ( Visual parent, IFinderMatchVisualHelper helper ) : List |
Walker that looks both UP and down in the visual tree for any matching elements, typically used with Type
|
|
FindItemsHost ( Visual parent ) : |
Helper to find a items host (e.g. in a listbox etc) down in the tree
|
|
FindUpInTree ( List |
Really a helper to look Up in a tree, typically not called directly.
|
|
FindVisualElement ( Visual parent, String ElementName ) : |
Helper to find the given named element down in the visual tree
|
|
FindVisualElementUp ( Visual parent, String ElementName ) : |
Helper to find the given named element up in the visual tree
|
|
SingleFindDownInTree ( Visual parent, IFinderMatchVisualHelper helper ) : |
Typically used method that walks down the visual tree from a given point to locate a given match only once. Typically used with Name/ItemHost etc type matching. Only returns one element
|
|
SingleFindInTree ( Visual parent, IFinderMatchVisualHelper helper ) : |
All way visual tree helper that searches UP and DOWN in a tree for the matching pattern. This is used to walk for name matches or type matches typically. Returns only the first matching element
|
|
TurnOffMediaElements ( Visual parent ) : void |
Helper to pause any media elements down in the visual tree
|
|
TurnOnMediaElements ( Visual parent ) : void |
Helper to resume playing any media elements down in the visual tree
|
public static CreateImageBrushFromVisual ( |
||
element | Element to take a snapshot of | |
return | System.Windows.Media.Imaging.RenderTargetBitmap |
public static FindDownInTree ( Visual parent, IFinderMatchVisualHelper helper ) : List |
||
parent | Visual | Start point in the tree to search |
helper | IFinderMatchVisualHelper | Match Helper to use |
return | List |
public static FindDownInTree ( List |
||
lst | List |
|
parent | ||
ignore | ||
helper | IFinderMatchVisualHelper | |
return | void |
public static FindElementOfType ( Visual parent, |
||
parent | Visual | |
ty | ||
return |
public static FindElementOfTypeUp ( Visual parent, |
||
parent | Visual | |
ty | ||
return |
public static FindElementsOfType ( Visual parent, |
||
parent | Visual | |
ty | ||
return | List |
public static FindFocusedElement ( Visual parent ) : |
||
parent | Visual | |
return |
public static FindInTree ( Visual parent, IFinderMatchVisualHelper helper ) : List |
||
parent | Visual | Start point in the tree to search |
helper | IFinderMatchVisualHelper | Match Helper to use |
return | List |
public static FindItemsHost ( Visual parent ) : |
||
parent | Visual | |
return |
public static FindUpInTree ( List |
||
lst | List |
|
parent | Visual | |
ignore | Visual | |
helper | IFinderMatchVisualHelper | |
return | void |
public static FindVisualElement ( Visual parent, String ElementName ) : |
||
parent | Visual | |
ElementName | String | |
return |
public static FindVisualElementUp ( Visual parent, String ElementName ) : |
||
parent | Visual | |
ElementName | String | |
return |
public static SingleFindDownInTree ( Visual parent, IFinderMatchVisualHelper helper ) : |
||
parent | Visual | Start point in the tree to search |
helper | IFinderMatchVisualHelper | Match Helper to use |
return |
public static SingleFindInTree ( Visual parent, IFinderMatchVisualHelper helper ) : |
||
parent | Visual | Start point in the tree to search |
helper | IFinderMatchVisualHelper | Match Helper to use |
return |
public static TurnOffMediaElements ( Visual parent ) : void | ||
parent | Visual | |
return | void |
public static TurnOnMediaElements ( Visual parent ) : void | ||
parent | Visual | |
return | void |