ImplicitResourceKey.Property Property

Definition

Gets or sets a property and subproperty, if provided, for an implicit resource key.

public string Property { get; set; }

Property Value

A String containing the property and subproperty for an implicit resource expression.

Remarks

The Property property specifies the control property to be localized. The Property property refers to the value after the first period (.) in an expression. For example, suppose you had an implicit resource in the following form:

<asp:label runat="server" id="label1" meta:resourcekey="Welcome"  
        text="Welcome"   
        ie:text="Welcome Internet Explorer User"    
        forecolor="blue"/>    

This resource contains three keys, Welcome.Text, Ie:Welcome.Text, and Welcome.Forecolor, that potentially have localized resource values to retrieve from the resource file or source code. Those keys have Property values of "Text", "Text", and "Forecolor", respectively.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1