StringEnumMember class
namespace: Serenity assembly: Serenity.Net.Core
A member of a StringEnum, with its name, value and optional text information.
public sealed class StringEnumMember
Public Members
| name | description |
|---|---|
| StringEnumMember(…) | Initializes a new instance of the StringEnumMember class. |
| IsVisible { get; } | Gets whether the member is sent to the client, i.e. it is not hidden with IgnoreUIFieldAttribute or TransformIgnoreAttribute. The server still accepts and displays hidden members, as they are values like a system assigned status that a UI never edits. |
| Name { get; } | Gets the name of the member, which is the name of its field. |
| Text { get; } | Gets the invariant text of the member, if it has a text attribute. |
| TextKey { get; } | Gets the local text key of the member, if it has a text attribute with a key. |
| Value { get; } | Gets the string value of the member. |
See Also
- Source: StringEnumMember.cs