Click or drag to resize
KaxMenu Methods

The KaxMenu type exposes the following members.

Methods
  Name Description
Public method ClearSelectedItem
This methods clears the selected item of the current KaxMenu instance. Useful when you need to clear item selection after postback.
Public method Code example FindItem
Returns the first KaxMenuItem that matches the conditions defined by the specified predicate. The predicate should returns a boolean value.
Public method FindItemByText(String)
Searches the KaxMenu control for the first KaxMenuItem with a Text property equal to the specified value.
Public method FindItemByText(String, Boolean)
Searches the KaxMenu control for the first KaxMenuItem with a Text property equal to the specified value.
Public method FindItemByUrl
Searches the KaxMenu control for the first Item with a NavigateUrl property equal to the specified value.
Public method FindItemByValue(String)
Searches the KaxMenu control for the first KaxMenuItem with a Value property equal to the specified value.
Public method FindItemByValue(String, Boolean)
Searches the KaxMenu control for the first KaxMenuItem with a Value property equal to the specified value.
Public method Code example GetAllItems
Gets a linear list of all items in the KaxMenu control.
Public method Code example LoadContentFile
Populates the KaxMenu control from external XML file.
(Overrides HierarchicalControlItemContainerLoadContentFile(String).)
Top
See Also