WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DependencyObjectExtensions - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DependencyObjectExtensions

    Represents an extension to find the parent of an element. It is used to represent an object that participates in the dependency property.

    Inheritance
    System.Object
    DependencyObjectExtensions
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.Gauges
    Assembly: Syncfusion.SfGauge.WPF.dll
    Syntax
    public static class DependencyObjectExtensions

    Methods

    FindElementOfType<T>(FrameworkElement)

    Searches the sub tree of an element (including that element) for an element of a particular type.

    Declaration
    public static T FindElementOfType<T>(this FrameworkElement element)
        where T : FrameworkElement
    Parameters
    Type Name Description
    System.Windows.FrameworkElement element
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    FindParentElementOfType<T>(FrameworkElement)

    Declaration
    public static T FindParentElementOfType<T>(this FrameworkElement element)
        where T : class
    Parameters
    Type Name Description
    System.Windows.FrameworkElement element
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved