Show / Hide Table of Contents

Class WidgetAttribute

Inheritance
object
Attribute
WidgetAttribute
Inherited Members
Attribute.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.Equals(object)
Attribute.GetHashCode()
Attribute.Match(object)
Attribute.IsDefaultAttribute()
Attribute.TypeId
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Volo.Abp.AspNetCore.Mvc.UI.Widgets
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Widgets.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class WidgetAttribute : Attribute

Constructors

WidgetAttribute()

Declaration
public WidgetAttribute()

Properties

AutoInitialize

Declaration
public bool AutoInitialize { get; set; }
Property Value
Type Description
bool

DisplayName

Declaration
public string? DisplayName { get; set; }
Property Value
Type Description
string

DisplayNameResource

Declaration
public Type? DisplayNameResource { get; set; }
Property Value
Type Description
Type

RefreshUrl

Declaration
public string? RefreshUrl { get; set; }
Property Value
Type Description
string

RequiredPolicies

Declaration
public string[]? RequiredPolicies { get; set; }
Property Value
Type Description
string[]

RequiresAuthentication

Declaration
public bool RequiresAuthentication { get; set; }
Property Value
Type Description
bool

ScriptFiles

Declaration
public string[]? ScriptFiles { get; set; }
Property Value
Type Description
string[]

ScriptTypes

Declaration
public Type[]? ScriptTypes { get; set; }
Property Value
Type Description
Type[]

StyleFiles

Declaration
public string[]? StyleFiles { get; set; }
Property Value
Type Description
string[]

StyleTypes

Declaration
public Type[]? StyleTypes { get; set; }
Property Value
Type Description
Type[]

Methods

Get(Type)

Declaration
public static WidgetAttribute Get(Type viewComponentType)
Parameters
Type Name Description
Type viewComponentType
Returns
Type Description
WidgetAttribute

IsWidget(Type)

Declaration
public static bool IsWidget(Type type)
Parameters
Type Name Description
Type type
Returns
Type Description
bool

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform