New to Telerik UI for WPFStart a free 30-day trial

Specifies the name of the category in which to group the property or event in SR.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[AttributeUsage(AttributeTargets.All)]
public sealed class SRCategoryAttribute : CategoryAttribute

Inheritance: objectAttributeCategoryAttributeSRCategoryAttribute

Inherited Members CategoryAttribute.Equals(object)CategoryAttribute.GetHashCode()CategoryAttribute.IsDefaultAttribute()CategoryAttribute.ActionCategoryAttribute.AppearanceCategoryAttribute.AsynchronousCategoryAttribute.BehaviorCategoryAttribute.DataCategoryAttribute.DefaultCategoryAttribute.DesignCategoryAttribute.DragDropCategoryAttribute.FocusCategoryAttribute.FormatCategoryAttribute.KeyCategoryAttribute.LayoutCategoryAttribute.MouseCategoryAttribute.WindowStyleCategoryAttribute.CategoryAttribute.GetCustomAttributes(MemberInfo, Type)Attribute.GetCustomAttributes(MemberInfo, Type, bool)Attribute.GetCustomAttributes(MemberInfo)Attribute.GetCustomAttributes(MemberInfo, bool)Attribute.IsDefined(MemberInfo, Type)Attribute.IsDefined(MemberInfo, Type, bool)Attribute.GetCustomAttribute(MemberInfo, Type)Attribute.GetCustomAttribute(MemberInfo, Type, bool)Attribute.GetCustomAttributes(ParameterInfo)Attribute.GetCustomAttributes(ParameterInfo, Type)Attribute.GetCustomAttributes(ParameterInfo, Type, bool)Attribute.GetCustomAttributes(ParameterInfo, bool)Attribute.IsDefined(ParameterInfo, Type)Attribute.IsDefined(ParameterInfo, Type, bool)Attribute.GetCustomAttribute(ParameterInfo, Type)Attribute.GetCustomAttribute(ParameterInfo, Type, bool)Attribute.GetCustomAttributes(Module, Type)Attribute.GetCustomAttributes(Module)Attribute.GetCustomAttributes(Module, bool)Attribute.GetCustomAttributes(Module, Type, bool)Attribute.IsDefined(Module, Type)Attribute.IsDefined(Module, Type, bool)Attribute.GetCustomAttribute(Module, Type)Attribute.GetCustomAttribute(Module, Type, bool)Attribute.GetCustomAttributes(Assembly, Type)Attribute.GetCustomAttributes(Assembly, Type, bool)Attribute.GetCustomAttributes(Assembly)Attribute.GetCustomAttributes(Assembly, bool)Attribute.IsDefined(Assembly, Type)Attribute.IsDefined(Assembly, Type, bool)Attribute.GetCustomAttribute(Assembly, Type)Attribute.GetCustomAttribute(Assembly, Type, bool)Attribute.Match(object)Attribute.TypeId...

Constructors

Initializes a new instance of the SRCategoryAttribute class.

C#
public SRCategoryAttribute(string category)
Parameters:categorystring

The name of the category.

Methods

Looks up the localized name of the specified category.

C#
protected override string GetLocalizedString(string value)
Parameters:valuestring

The identifier for the category to look up.

Returns:

string

The localized name of the category, or null if a localized name does not exist.

Overrides: CategoryAttribute.GetLocalizedString(string)