Interface IResourceProvider
Represents ResourceProvider element.
Namespace: Telerik.Windows.Controls.MarkupExtensions
Assembly: Telerik.Windows.Controls.dll
Syntax
public interface IResourceProvider
Methods
GetResource(String, Object, Type)
Gets a resource by key with optional target property and target type.
Declaration
object GetResource(string resourceKey, object targetProperty = null, Type targetType = null)
Parameters
System. Key of the resource that is to be returned. |
System. Property that is to hold the value of the returned resource. |
System. Type of the element that owns the property. |
Returns
System. The found resource or default value for the property if none is found. |