C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetInputControlName() публичный Метод

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.
Результат string

GetLabelControlName() публичный Метод

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.
Результат string

GetUIFormControlName() публичный Метод

Get the name to use for a control representing a IUIForm.
public GetUIFormControlName ( IUIForm uiForm ) : string
uiForm IUIForm The to represent with the name.
Результат string

GetUniqueControlNameWithin() публичный Метод

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.
Результат string