Used with tabbed property lists to identify with which tab(s) the property is associated.
When specifying multiple categories, the property will appear on each tab listed. Multiple categories should only be used with read/only properties, otherwise fields with identical names are generated multiple times. This attribute does not test for duplicate categories or whether only read/only fields are used when specifying multiple categories.
Namespace: YetaWF.Core.Models.Attributes
Assembly: YetaWF.Core
Inheritance
public class CategoryAttribute : System.Attribute;
CategoryAttribute | Constructor. |
Categories | Defines the list of categories (i.e., tabs) where a property will be shown. | |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. |
Equals | Returns a value that indicates whether this instance is equal to a specified object. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. | |
GetCustomAttribute | Retrieves a custom attribute applied to a specified assembly. Parameters specify the assembly and the type of the custom attribute to search for. | |
GetCustomAttributes | Retrieves an array of the custom attributes applied to an assembly. A parameter specifies the assembly. | |
GetHashCode | Returns the hash code for this instance. | |
GetType | Gets the Type of the current instance. | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. | |
IsDefined | Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, and the type of the custom attribute to search for. | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. | |
MemberwiseClone | Creates a shallow copy of the current Object. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. | |
ToString | Returns a string that represents the current object. |
See Also YetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com