Show / Hide Table of Contents

Class PageToolbarExtensions

Inheritance
object
PageToolbarExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Components.Web.Theming.PageToolbars
Assembly: Volo.Abp.AspNetCore.Components.Web.Theming.dll
Syntax
public static class PageToolbarExtensions

Methods

AddButton(PageToolbar, string, Func<Task>, object?, Color?, bool, int, string?)

Declaration
public static PageToolbar AddButton(this PageToolbar toolbar, string text, Func<Task> clicked, object? icon = null, Color? color = null, bool disabled = false, int order = 0, string? requiredPolicyName = null)
Parameters
Type Name Description
PageToolbar toolbar
string text
Func<Task> clicked
object icon
Color color
bool disabled
int order
string requiredPolicyName
Returns
Type Description
PageToolbar

AddComponent(PageToolbar, Type, Dictionary<string, object?>?, int, string?)

Declaration
public static PageToolbar AddComponent(this PageToolbar toolbar, Type componentType, Dictionary<string, object?>? arguments = null, int order = 0, string? requiredPolicyName = null)
Parameters
Type Name Description
PageToolbar toolbar
Type componentType
Dictionary<string, object> arguments
int order
string requiredPolicyName
Returns
Type Description
PageToolbar

AddComponent<TComponent>(PageToolbar, Dictionary<string, object?>?, int, string?)

Declaration
public static PageToolbar AddComponent<TComponent>(this PageToolbar toolbar, Dictionary<string, object?>? arguments = null, int order = 0, string? requiredPolicyName = null)
Parameters
Type Name Description
PageToolbar toolbar
Dictionary<string, object> arguments
int order
string requiredPolicyName
Returns
Type Description
PageToolbar
Type Parameters
Name Description
TComponent
In this article
Back to top Powered by ABP.IO Platform