BionicCode.Net
BionicCode.Net
BionicCode.Utilities.Net Namespaces
BionicCode.Utilities.Net.Framework Namespaces
BionicCode.Utilities.Net.Framework.Extensions
HelperExtensions Class
HelperExtensions Methods
FindVisualChildElements(TChildren) Method
TryFindVisualChildElement(TChild) Method
TryFindVisualChildElementByName Method
TryFindVisualParentElement(TParent) Method
TryFindVisualParentElementByName Method

| # HelperExtensions TryFindVisualChildElementByName Method

[Missing <summary> documentation for "M:BionicCode.Utilities.Net.Framework.Extensions.HelperExtensions.TryFindVisualChildElementByName(System.Windows.DependencyObject,System.String,System.Windows.FrameworkElement@)"]

Namespace: BionicCode.Utilities.Net.Framework.Extensions
Assembly: BionicCode.Utilities.Net.Framework (in BionicCode.Utilities.Net.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
C++
F#
J#
JScript
JavaScript
ASP.NET
X#
Copy

    public static bool TryFindVisualChildElementByName(
    	this DependencyObject parent,
    	string childElementName,
    	out FrameworkElement resultElement
    )

    <ExtensionAttribute>
    Public Shared Function TryFindVisualChildElementByName (
    	parent As DependencyObject,
    	childElementName As String,
    	<OutAttribute> ByRef resultElement As FrameworkElement
    ) As Boolean

    Dim parent As DependencyObject
    Dim childElementName As String
    Dim resultElement As FrameworkElement
    Dim returnValue As Boolean

    returnValue = parent.TryFindVisualChildElementByName(childElementName,
    	resultElement)

    public:
    [ExtensionAttribute]
    static bool TryFindVisualChildElementByName(
    	DependencyObject^ parent,
    	String^ childElementName,
    	[OutAttribute] FrameworkElement^% resultElement
    )

    [<ExtensionAttribute>]
    static member TryFindVisualChildElementByName :
            parent : DependencyObject *
            childElementName : string *
            resultElement : FrameworkElement byref -> bool

    /** @attribute ExtensionAttribute */
    public static boolean TryFindVisualChildElementByName(
    	DependencyObject parent,
    	String childElementName,
    	/** @attribute OutAttribute */ /** @ref */FrameworkElement resultElement
    )

    public static function TryFindVisualChildElementByName(
    	parent : DependencyObject,
    	childElementName : String,
    	resultElement : FrameworkElement
    ) : boolean

    BionicCode.Utilities.Net.Framework.Extensions.HelperExtensions.TryFindVisualChildElementByName = function(parent, childElementName, resultElement);

     STATIC METHOD TryFindVisualChildElementByName(
    	SELF parent AS DependencyObject,
    	childElementName AS STRING,
    	resultElement OUT FrameworkElement
    ) AS LOGIC

#### Parameters

parent
  Type: System.Windows
  DependencyObject

  [Missing <param name="parent"/> documentation for "M:BionicCode.Utilities.Net.Framework.Extensions.HelperExtensions.TryFindVisualChildElementByName(System.Windows.DependencyObject,System.String,System.Windows.FrameworkElement@)"]

childElementName
  Type: System
  String

  [Missing <param name="childElementName"/> documentation for "M:BionicCode.Utilities.Net.Framework.Extensions.HelperExtensions.TryFindVisualChildElementByName(System.Windows.DependencyObject,System.String,System.Windows.FrameworkElement@)"]

resultElement
  Type: System.Windows
  FrameworkElement

  [Missing <param name="resultElement"/> documentation for "M:BionicCode.Utilities.Net.Framework.Extensions.HelperExtensions.TryFindVisualChildElementByName(System.Windows.DependencyObject,System.String,System.Windows.FrameworkElement@)"]

#### Return Value

Type: Boolean

[Missing <returns> documentation for "M:BionicCode.Utilities.Net.Framework.Extensions.HelperExtensions.TryFindVisualChildElementByName(System.Windows.DependencyObject,System.String,System.Windows.FrameworkElement@)"]

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DependencyObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

#### Reference

HelperExtensions Class
BionicCode.Utilities.Net.Framework.Extensions Namespace
Send comments on this topic to BionicCode@outlook.com
https://github.com/BionicCode/BionicCode.Net/blob/master/README.md