C# Class EnterpriseWebLibrary.EnterpriseWebFramework.ActionButtonSetup

Represents a button that appears in the EWF user interface that performs an action or simply navigates to a URL when clicked.
Mostra file Open project: enduracode/enterprise-web-library

Public Methods

Method Description
ActionButtonSetup ( string text, ActionControl actionControl, EnterpriseWebLibrary.EnterpriseWebFramework.ActionControlIcon icon = null ) : System

Creates an action button with the given behavior (ActionControl). The ActionControlStyle of the given actionControl will be overwritten.

BuildButton ( Func styleSelector, bool usesSubmitBehavior ) : Control

EWF use only.

CreateWithUrl ( string text, EnterpriseWebLibrary.EnterpriseWebFramework.ResourceInfo resourceInfo, EnterpriseWebLibrary.EnterpriseWebFramework.ActionControlIcon icon = null ) : ActionButtonSetup

NOTE: This method will be deleted when RSIS Goal 925 is completed. But continue using it when necessary since there is no good alternative.

Method Details

ActionButtonSetup() public method

Creates an action button with the given behavior (ActionControl). The ActionControlStyle of the given actionControl will be overwritten.
public ActionButtonSetup ( string text, ActionControl actionControl, EnterpriseWebLibrary.EnterpriseWebFramework.ActionControlIcon icon = null ) : System
text string
actionControl ActionControl
icon EnterpriseWebLibrary.EnterpriseWebFramework.ActionControlIcon
return System

BuildButton() public method

EWF use only.
public BuildButton ( Func styleSelector, bool usesSubmitBehavior ) : Control
styleSelector Func
usesSubmitBehavior bool
return System.Web.UI.Control

CreateWithUrl() public static method

NOTE: This method will be deleted when RSIS Goal 925 is completed. But continue using it when necessary since there is no good alternative.
public static CreateWithUrl ( string text, EnterpriseWebLibrary.EnterpriseWebFramework.ResourceInfo resourceInfo, EnterpriseWebLibrary.EnterpriseWebFramework.ActionControlIcon icon = null ) : ActionButtonSetup
text string
resourceInfo EnterpriseWebLibrary.EnterpriseWebFramework.ResourceInfo
icon EnterpriseWebLibrary.EnterpriseWebFramework.ActionControlIcon
return ActionButtonSetup