LCssDropDownMenuNode class
LCssDropDownMenuNode displays a css driven menu item. You can set the link through the through the LinkUrl property. You can set the Text displayed for the item through the Text property. You can set the roles that are allowed to access the item through the Roles property.
Example:
- <com:TCssDropDownMenuNode ID="ViewUsers" LinkUrl="?page=ViewUsersPage"
- Text="View Users" Roles="root,admin" BorderColor="green" BorderStyle="solid" BorderWidth="1" BackColor="white"/>
Namespace: Lithron.Web.UI.WebControls
Properties
- LinkUrl, string, kept in viewstate
Set the link for the item. - Text, string, kept in viewstate
Set the text for the item. - Roles, string, kept in viewstate
The user roles allowed to view the item.
Method Summary |
string
|
|
void
|
|
string
|
|
string
|
|
string
|
|
string
|
|
string
|
|
gets
|
|
protected
void
|
|
string
|
|
string
|
|
string
|
|
bool
|
|
void
|
|
void
|
Renders the menu.
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
|
void
|
#param string the top parent css class
|
Method Details |
getDisabledNodeCssClass
public string getDisabledNodeCssClass |
() |
Output |
string
| the node css class |
Exception |
|
getIsSelected
public void getIsSelected |
() |
|
getLinkId
public string getLinkId |
() |
Output |
string
| the LinkId of the node (service) |
Exception |
|
getLinkUrl
public string getLinkUrl |
() |
Output |
string
| the LinkUrl of the node |
Exception |
|
getNodeCssClass
public string getNodeCssClass |
() |
Output |
string
| the node css class |
Exception |
|
getParentNodeCssClass
public string getParentNodeCssClass |
() |
Output |
string
| the parent css class |
Exception |
|
getRoles
public string getRoles |
() |
Output |
string
| the Roles allowd to view this element |
Exception |
|
getSelectedPath
public gets getSelectedPath |
() |
Output |
gets
| selected status |
Exception |
|
getTagName
protected void getTagName |
() |
|
getTarget
public string getTarget |
() |
Output |
string
| the link Target |
Exception |
|
getText
Output |
string
| the Text of the node |
Exception |
|
getTopParentNodeCssClass
public string getTopParentNodeCssClass |
() |
Output |
string
| the top parent css class |
Exception |
|
isTopParent
public bool isTopParent |
() |
Output |
bool
| top parent flag |
Exception |
|
onPreRender
public void onPreRender |
(mixed $param ) |
|
renderContents
public void renderContents |
(mixed $writer ) |
Renders the menu.
Will go through all TCssDropDownMenuNode children and render them at the correct place.
Input |
mixed | $writer | |
Output |
Exception |
|
setDisabledNodeCssClass
public void setDisabledNodeCssClass |
(string $value ) |
Input |
string | $value | the node css class |
Output |
Exception |
|
setIsSelected
public void setIsSelected |
(mixed $value ) |
Input |
mixed | $value | |
Output |
Exception |
|
setLinkId
public void setLinkId |
(string $value ) |
Input |
string | $value | the LinkId of the node (service) |
Output |
Exception |
|
setLinkUrl
public void setLinkUrl |
(string $value ) |
Input |
string | $value | the LinkUrl of the node |
Output |
Exception |
|
setNodeCssClass
public void setNodeCssClass |
(string $value ) |
Input |
string | $value | the node css class |
Output |
Exception |
|
setParentNodeCssClass
public void setParentNodeCssClass |
(string $value ) |
Input |
string | $value | the parent css class |
Output |
Exception |
|
setRoles
public void setRoles |
(string $value ) |
Input |
string | $value | the Roles allowed to view this element |
Output |
Exception |
|
setSelectedPath
public void setSelectedPath |
(sets $value ) |
Input |
sets | $value | selected status |
Output |
Exception |
|
setTagName
public void setTagName |
(mixed $value ) |
|
setTarget
public void setTarget |
(string $value ) |
Input |
string | $value | the link target |
Output |
Exception |
|
setText
public void setText |
(string $value ) |
Input |
string | $value | the Text of the node |
Output |
Exception |
|
setTopParent
public void setTopParent |
(bool $value ) |
Input |
bool | $value | the top parent flag |
Output |
Exception |
|
setTopParentNodeCssClass
public void setTopParentNodeCssClass |
(mixed $value ) |
#param string the top parent css class
Input |
mixed | $value | |
Output |
Exception |
|