C# Class Habanero.Faces.Base.ControlNamingStrategy

This is the Naming strategy for naming controls generated by Faces for the various parts of the auto-generated user interfaces.
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode Description
GetInputControlName ( IUIFormField formField ) : string

Get the name to use for an input control representing a IUIFormField.

GetLabelControlName ( IUIFormField formField ) : string

Get the name to use for a label control representing a IUIFormField.

GetUIFormControlName ( IUIForm uiForm ) : string

Get the name to use for a control representing a IUIForm.

GetUniqueControlNameWithin ( IControlHabanero containerControl, string name ) : string

Determines a unique name for the control within the context of the controls that already exist in the containerControl.

Method Details

GetInputControlName() public méthode

Get the name to use for an input control representing a IUIFormField.
public GetInputControlName ( IUIFormField formField ) : string
formField IUIFormField The to represent with the name.
Résultat string

GetLabelControlName() public méthode

Get the name to use for a label control representing a IUIFormField.
public GetLabelControlName ( IUIFormField formField ) : string
formField IUIFormField The to represent with the name.
Résultat string

GetUIFormControlName() public méthode

Get the name to use for a control representing a IUIForm.
public GetUIFormControlName ( IUIForm uiForm ) : string
uiForm IUIForm The to represent with the name.
Résultat string

GetUniqueControlNameWithin() public méthode

Determines a unique name for the control within the context of the controls that already exist in the containerControl.
public GetUniqueControlNameWithin ( IControlHabanero containerControl, string name ) : string
containerControl IControlHabanero The control within which the supplied should be unique.
name string The name to be altered for uniqueness.
Résultat string