Show / Hide Table of Contents

Class DisplayAttribute

Specify localizable strings for column.

Inheritance
System.Object
System.Attribute
ColumnAttribute
DisplayAttribute
Inherited Members
ColumnAttribute.DeclaringType
ColumnAttribute.DeclaringTypeOnly
ColumnAttribute.CoerceDeclaringTypeOnly(Boolean)
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DevZest.Data.Annotations
Assembly: DevZest.Data.dll
Syntax
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
[ModelDesignerSpec(null, new Type[]{typeof(Column)})]
public class DisplayAttribute : ColumnAttribute

Constructors

Name Description
DisplayAttribute()

Initializes a new instance of the DisplayAttribute class.

Properties

Name Description
Description

Gets or sets a value that is used to display a description in the UI.

Name

Gets or sets a value that is used for display in the UI.

Prompt

Gets or sets a value that will be used to set the watermark for prompts in the UI.

ResourceType

Gets or sets the type that contains the resources for the ShortName, Name, Prompt, and Description properties.

ShortName

Gets or sets a value that is used for the grid column label.

Methods

Name Description
Wireup(Column)

Extension Methods

ColumnExtensions.WithDefaultValue<TColumn, TValue>(TColumn, TValue, String, String)
ColumnExtensions.WithValueComparer<TColumn, TValue>(TColumn, IComparer<TValue>)
  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest