| StaticResource Class |
Namespace: System.Windows.Markup
[ContentPropertyAttribute("ResourceKey")] public class StaticResource : MarkupExtension
The StaticResource type exposes the following members.
| Name | Description | |
|---|---|---|
| StaticResource |
Initializes a new instance of System.Windows.Markup.StaticResource.
| |
| StaticResource(String) |
Initializes a new instance of System.Windows.Markup.StaticResource with the given ResourceKey.
|
| Name | Description | |
|---|---|---|
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProvideValue |
returns an object that is provided as the value of the target property for this StaticResource.
(Overrides MarkupExtensionProvideValue(IServiceProvider).) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ResourceKey |
The key of the StaticResource.
|