C# Class Kooboo.Commerce.Web.Framework.UI.Html.HeadPanelButtonCollectionExtensions

ファイルを表示 Open project: Kooboo/Ecommerce

Public Methods

Method Description
AddAjaxPostButton ( this buttons, string text, string icon, string action, RouteValueDictionary additionalRouteValues ) : HeaderPanelButton
AddAjaxPostButton ( this buttons, string text, string icon, string action, object additionalRouteValues = null ) : HeaderPanelButton
AddBackButton ( this buttons ) : HeaderPanelButton
AddCancelButton ( this buttons ) : HeaderPanelButton
AddCreateButton ( this buttons, string actionName = "Create" ) : HeaderPanelButton
AddDeleteButton ( this buttons, string actionName = "Delete" ) : HeaderPanelButton
AddDisableButton ( this buttons, string actionName = "Disable" ) : HeaderPanelButton
AddEnableButton ( this buttons, string actionName = "Enable" ) : HeaderPanelButton
AddSaveAndNextButton ( this buttons, string ajaxFormId = null ) : HeaderPanelButton
AddSaveButton ( this buttons, string ajaxFormId = null ) : HeaderPanelButton
AddTopbarCommands ( this buttons, IEnumerable commands, Type modelType ) : HeaderPanelButtonCollection
AddTopbarCommands ( this buttons, IEnumerable commands, Type modelType, object modelId ) : HeaderPanelButtonCollection

Method Details

AddAjaxPostButton() public static method

public static AddAjaxPostButton ( this buttons, string text, string icon, string action, RouteValueDictionary additionalRouteValues ) : HeaderPanelButton
buttons this
text string
icon string
action string
additionalRouteValues RouteValueDictionary
return HeaderPanelButton

AddAjaxPostButton() public static method

public static AddAjaxPostButton ( this buttons, string text, string icon, string action, object additionalRouteValues = null ) : HeaderPanelButton
buttons this
text string
icon string
action string
additionalRouteValues object
return HeaderPanelButton

AddBackButton() public static method

public static AddBackButton ( this buttons ) : HeaderPanelButton
buttons this
return HeaderPanelButton

AddCancelButton() public static method

public static AddCancelButton ( this buttons ) : HeaderPanelButton
buttons this
return HeaderPanelButton

AddCreateButton() public static method

public static AddCreateButton ( this buttons, string actionName = "Create" ) : HeaderPanelButton
buttons this
actionName string
return HeaderPanelButton

AddDeleteButton() public static method

public static AddDeleteButton ( this buttons, string actionName = "Delete" ) : HeaderPanelButton
buttons this
actionName string
return HeaderPanelButton

AddDisableButton() public static method

public static AddDisableButton ( this buttons, string actionName = "Disable" ) : HeaderPanelButton
buttons this
actionName string
return HeaderPanelButton

AddEnableButton() public static method

public static AddEnableButton ( this buttons, string actionName = "Enable" ) : HeaderPanelButton
buttons this
actionName string
return HeaderPanelButton

AddSaveAndNextButton() public static method

public static AddSaveAndNextButton ( this buttons, string ajaxFormId = null ) : HeaderPanelButton
buttons this
ajaxFormId string
return HeaderPanelButton

AddSaveButton() public static method

public static AddSaveButton ( this buttons, string ajaxFormId = null ) : HeaderPanelButton
buttons this
ajaxFormId string
return HeaderPanelButton

AddTopbarCommands() public static method

public static AddTopbarCommands ( this buttons, IEnumerable commands, Type modelType ) : HeaderPanelButtonCollection
buttons this
commands IEnumerable
modelType System.Type
return HeaderPanelButtonCollection

AddTopbarCommands() public static method

public static AddTopbarCommands ( this buttons, IEnumerable commands, Type modelType, object modelId ) : HeaderPanelButtonCollection
buttons this
commands IEnumerable
modelType System.Type
modelId object
return HeaderPanelButtonCollection