Class SRCategoryAttribute
Specifies the name of the category in which to group the property or event in SR.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | AttributeTargets.All)]
public sealed class SRCategoryAttribute : CategoryAttribute
Constructors
SRCategoryAttribute(String)
Initializes a new instance of the SRCategoryAttribute class.
Declaration
public SRCategoryAttribute(string category)
Parameters
System.String
category
The name of the category. |
Methods
GetLocalizedString(String)
Looks up the localized name of the specified category.
Declaration
protected override string GetLocalizedString(string value)
Parameters
System.String
value
The identifier for the category to look up. |
Returns
System.String
The localized name of the category, or null if a localized name does not exist. |