Click or drag to resize

PageTextHelperGetCascadedText Method

Gets the text for the specified text item, if exists.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string GetCascadedText(
	Object sender,
	string ids,
	string defaultText,
	string altName1 = null,
	string altName2 = null,
	IAppContext appCxt = null,
	PageInfo pInfo = null,
	CascadedTextOptions cto = ,
	IField iFld = null,
	string excludeRevealIDS = null
)

Parameters

sender
Type: SystemObject
An object requesting a text string
ids
Type: SystemString
The IDS of the item in the locale resource file. This generally serves as the unique string ID for all levels of overriding.
defaultText
Type: SystemString
The default text to return if no text is found with the requested search id's
altName1 (Optional)
Type: SystemString
The name of an alternative string id for the text lookup for page element/page text. Preferred to ids.
altName2 (Optional)
Type: SystemString
The name of an alternative string id for the text lookup for page element/page text. Preferred to altName1.
appCxt (Optional)
Type: NetQuarryIAppContext
An alternative source for an IAppContext.
pInfo (Optional)
Type: NetQuarryPageInfo
A alternative source for a IPageInfo object.
cto (Optional)
Type: NetQuarry.DataCascadedTextOptions
CascadedTextOptions
iFld (Optional)
Type: NetQuarry.DataIField
An alterntive source an IField object.
excludeRevealIDS (Optional)
Type: SystemString
An IDS string that should not generate reveal text.

Return Value

Type: String
The text value, else defaultText if not found.
See Also