Intersoft ClientUI Documentation
TryFindResource Method



Framework Element.
Resource Key.
Try find specific resource based on specified resource key.
Syntax
<ExtensionAttribute()>
Public Shared Function TryFindResource( _
   ByVal element As FrameworkElement, _
   ByVal resourceKey As Object _
) As Boolean
Dim element As FrameworkElement
Dim resourceKey As Object
Dim value As Boolean
 
value = FrameworkElementExtensions.TryFindResource(element, resourceKey)
[ExtensionAttribute()]
public static bool TryFindResource( 
   FrameworkElement element,
   object resourceKey
)
[ExtensionAttribute()]
public:
static bool TryFindResource( 
   FrameworkElement^ element,
   Object^ resourceKey
) 

Parameters

element
Framework Element.
resourceKey
Resource Key.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FrameworkElementExtensions Class
FrameworkElementExtensions Members

Send Feedback