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.String
resourceKey
Key of the resource that is to be returned. |
System.Object
targetProperty
Property that is to hold the value of the returned resource. |
System.Type
targetType
Type of the element that owns the property. |
Returns
System.Object
The found resource or default value for the property if none is found. |