Click or drag to resize
StaticResource Class
Class used to access elements inside the XAML code
Inheritance Hierarchy

Namespace: System.Windows.Markup
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
[ContentPropertyAttribute("ResourceKey")]
public class StaticResource : MarkupExtension

The StaticResource type exposes the following members.

Constructors
  NameDescription
Public methodStaticResource
Initializes a new instance of System.Windows.Markup.StaticResource.
Public methodStaticResource(String)
Initializes a new instance of System.Windows.Markup.StaticResource with the given ResourceKey.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProvideValue
returns an object that is provided as the value of the target property for this StaticResource.
(Overrides MarkupExtensionProvideValue(IServiceProvider).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyResourceKey
The key of the StaticResource.
Top
See Also