Show / Hide Table of Contents

Class VisualExtensions

Extension methods for Visual.

Inheritance
object
VisualExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain.Extensions
Assembly: Phoenix.Plugin.BotBrain.Lists.dll
Syntax
public static class VisualExtensions

Methods

View Source

GetVisualChildAt<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.

  • View Source
In this article
Back to top Generated by DocFX