System.Web.UI.Design.ResourceExpressionEditorSheet.ResourceKey Property

Gets or sets the name of the resource, which is used as a key to find the resource value.

Syntax

[System.ComponentModel.DefaultValue("")]
public string ResourceKey { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ResourceExpressionEditorSheet.ResourceKey property is required for a resource expression; it indicates the name of the resource. The name of the resource is used at both run time and design time to look up a resource and assign it to a control property.

For example, if the System.Web.UI.WebControls.Label.Text property for a System.Web.UI.WebControls.Label control is assigned to the resource expression <%$ Resources:Strings, labelText $>, the resource expression is evaluated and the System.Web.UI.WebControls.Label.Text field is assigned to the labelText resource value in the Strings class.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0