SetResourceReference Method
Collapse the table of content
Expand the table of content

FrameworkElementFactory.SetResourceReference Method (DependencyProperty, Object)

 

Set up a dynamic resource reference on a child property.

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void SetResourceReference(
	DependencyProperty dp,
	object name
)

Parameters

dp
Type: System.Windows.DependencyProperty

The property to which the resource is bound.

name
Type: System.Object

The name of the resource.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft