StaticResourceExtension Members

Implements a markup extension that supports static (load time) resource references made from XAML.

The StaticResourceExtension type exposes the following members.

  NameDescription
Public method StaticResourceExtension Overloaded. Initializes a new instance of the StaticResourceExtension class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ProvideValue Returns an object that should be set on the property where this extension is applied. For StaticResourceExtension, this is the object found in a resource dictionary in the current parent chain that is keyed by the ResourceKey. (Overrides MarkupExtension.ProvideValue(IServiceProvider).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ResourceKey Gets or sets the key value passed by this static resource reference. They key is used to return the object matching that key in resource dictionaries.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft