Class VisualExtensions
Extension methods for Visual.
Inherited Members
Namespace: Phoenix.BotBrain.Extensions
Assembly: Phoenix.Plugin.BotBrain.Lists.dll
Syntax
public static class VisualExtensions
Methods
View SourceGetVisualChildAt<T>(Visual, Point)
Gets the visual child of the given type containing the given point.
Declaration
public static T? GetVisualChildAt<T>(this Visual self, Point relativePosition) where T : DependencyObject
Parameters
Type | Name | Description |
---|---|---|
Visual | self | The object containing children. |
Point | relativePosition | The point. |
Returns
Type | Description |
---|---|
T | The child, if it was found. |
Type Parameters
Name | Description |
---|---|
T | The child type. |