C# Class Nettiers.AdventureWorks.Web.UI.HyperLinkField

Represents a field that is displayed as a hyperlink in a data-bound control. Supports complex objects via DataContainer property.
Inheritance: System.Web.UI.WebControls.DataControlField
Afficher le fichier Open project: netTiers/netTiers Class Usage Examples

Private Properties

Свойство Type Description
OnDataBindField void
SetupProperties void

Méthodes publiques

Méthode Description
Initialize ( bool sortingEnabled, Control control ) : bool

Performs instance initialization

InitializeCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex ) : void

Overridden. Initializes a cell in a HyperLinkField object.

InitializeDataCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState ) : void

Virtual. Initializes a cell in a HyperLinkField object.

ValidateSupportsCallback ( ) : void

Overridden. Indicates that the controls contained by the HyperLinkField object support callbacks.

Méthodes protégées

Méthode Description
CopyProperties ( System.Web.UI.WebControls.DataControlField newField ) : void

Overridden. Copies the properties of the current HyperLinkField object to the specified object.

CreateField ( ) : System.Web.UI.WebControls.DataControlField

Overridden. Returns a new instance of the HyperLinkField class.

FormatDataNavigateUrlValue ( object dataUrlValues ) : string

Virtual. Formats Url based using DataNavigateUrlFormatString

FormatDataTextValue ( object dataTextValues ) : string

Virtual. Formats Text using FormatDataTextValue

Private Methods

Méthode Description
OnDataBindField ( object sender, EventArgs e ) : void

Occurs when cell binds to the field value

SetupProperties ( object controlContainer ) : void

Is used to set properties of the HyperLinkField

Method Details

CopyProperties() protected méthode

Overridden. Copies the properties of the current HyperLinkField object to the specified object.
protected CopyProperties ( System.Web.UI.WebControls.DataControlField newField ) : void
newField System.Web.UI.WebControls.DataControlField
Résultat void

CreateField() protected méthode

Overridden. Returns a new instance of the HyperLinkField class.
protected CreateField ( ) : System.Web.UI.WebControls.DataControlField
Résultat System.Web.UI.WebControls.DataControlField

FormatDataNavigateUrlValue() protected méthode

Virtual. Formats Url based using DataNavigateUrlFormatString
protected FormatDataNavigateUrlValue ( object dataUrlValues ) : string
dataUrlValues object
Résultat string

FormatDataTextValue() protected méthode

Virtual. Formats Text using FormatDataTextValue
protected FormatDataTextValue ( object dataTextValues ) : string
dataTextValues object
Résultat string

Initialize() public méthode

Performs instance initialization
public Initialize ( bool sortingEnabled, Control control ) : bool
sortingEnabled bool
control System.Web.UI.Control
Résultat bool

InitializeCell() public méthode

Overridden. Initializes a cell in a HyperLinkField object.
public InitializeCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlCellType cellType, DataControlRowState rowState, int rowIndex ) : void
cell System.Web.UI.WebControls.DataControlFieldCell
cellType DataControlCellType
rowState DataControlRowState
rowIndex int
Résultat void

InitializeDataCell() public méthode

Virtual. Initializes a cell in a HyperLinkField object.
public InitializeDataCell ( System.Web.UI.WebControls.DataControlFieldCell cell, DataControlRowState rowState ) : void
cell System.Web.UI.WebControls.DataControlFieldCell
rowState DataControlRowState
Résultat void

ValidateSupportsCallback() public méthode

Overridden. Indicates that the controls contained by the HyperLinkField object support callbacks.
public ValidateSupportsCallback ( ) : void
Résultat void