ConsoleUtilsTryGetNewPaneUrl Method |
Determines if a new link should perform inter-pane navigation to a new item pane in the current page,
and if so, returns the URL for that link. If no such navigation is appropriate the original URL is unchanged.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static bool TryGetNewPaneUrl(
IAppContext cxt,
string newTarget,
PageElementInfo pei,
ref string url
)
Public Shared Function TryGetNewPaneUrl (
cxt As IAppContext,
newTarget As String,
pei As PageElementInfo,
ByRef url As String
) As Boolean
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - newTarget
- Type: SystemString
The new target MOP, assumed to be the same as the current MOP. - pei
- Type: NetQuarryPageElementInfo
The active pane element for which to evaluate and build the new URL. - url
- Type: SystemString
If inter-pane navigation for new link is determined to be appropriate, this will return the url
constucted here, else this value will not be affected.
Return Value
Type:
BooleanTrue if inter-pane navigation is determined to be appropriate (in which case the url will be set).
See Also