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.
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
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