MenuItemBinding Members
.NET Framework 2.0
Defines the relationship between a data item and the menu item it is binding to in a Menu control. This class cannot be inherited.
The following tables list the members exposed by the MenuItemBinding type.
| Name | Description | |
|---|---|---|
| DataMember | Gets or sets the data member to bind to a menu item. |
| Depth | Gets or sets the menu depth to which the MenuItemBinding object is applied. |
| Enabled | Gets or sets a value that indicates whether the menu item to which the MenuItemBinding object is applied is enabled, allowing the item to display a pop-out image and any child menu items. |
| EnabledField | Gets or sets the name of the field from the data source to bind to the Enabled property of a MenuItem object to which the MenuItemBinding object is applied. |
| FormatString | Gets or sets the string that specifies the display format for the text of a menu item to which the MenuItemBinding object is applied. |
| ImageUrl | Gets or sets the URL to an image that is displayed next to the text of a menu item to which the MenuItemBinding object is applied. |
| ImageUrlField | Gets or sets the name of the field from the data source to bind to the ImageUrl property of a MenuItem object to which the MenuItemBinding object is applied. |
| NavigateUrl | Gets or sets the URL to link to when a menu item to which the MenuItemBinding object is applied is clicked. |
| NavigateUrlField | Gets or sets the name of the field from the data source to bind to the NavigateUrl property of a MenuItem object to which the MenuItemBinding object is applied. |
| PopOutImageUrl | Gets or sets the URL to an image that indicates the presence of a dynamic submenu for a menu item to which the MenuItemBinding object is applied. |
| PopOutImageUrlField | Gets or sets the name of the field from the data source to bind to the PopOutImageUrl property of a MenuItem object to which the MenuItemBinding object is applied. |
| Selectable | Gets or sets a value that indicates whether the menu item to which the MenuItemBinding object is applied can be selected, or is "clickable." |
| SelectableField | Gets or sets the name of the field from the data source to bind to the Selectable property of a MenuItem object to which the MenuItemBinding object is applied. |
| SeparatorImageUrl | Gets or sets the URL to an image displayed below the text of a menu item (to separate it from other menu items) for a menu item to which the MenuItemBinding object is applied. |
| SeparatorImageUrlField | Gets or sets the name of the field from the data source to bind to the SeparatorImageUrl property of a MenuItem object to which the MenuItemBinding object is applied. |
| Target | Gets or sets the target window or frame in which to display the Web page content associated with a menu item to which the MenuItemBinding object is applied. |
| TargetField | Gets or sets the name of the field from the data source to bind to the Target property of a MenuItem object to which the MenuItemBinding object is applied. |
| Text | Gets or sets the text displayed for the menu item to which the MenuItemBinding object is applied. |
| TextField | Gets or sets the name of the field from the data source to bind to the Text property of a MenuItem object to which the MenuItemBinding object is applied. |
| ToolTip | Gets or sets the ToolTip text for a menu item to which the MenuItemBinding object is applied. |
| ToolTipField | Gets or sets the name of the field from the data source to bind to the ToolTip property of a MenuItem object to which the MenuItemBinding object is applied. |
| Value | Gets or sets a nondisplayed value used to store any additional data about a menu item to which the MenuItemBinding object is applied, such as data used for handling postback events. |
| ValueField | Gets or sets the name of the field from the data source to bind to the Value property of a MenuItem object to which the MenuItemBinding object is applied. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Overridden. Returns a string that represents the MenuItemBinding object. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| System.ICloneable.Clone | Creates a copy of the MenuItemBinding object. |
| System.Web.UI.IStateManager.LoadViewState | Loads the node's previously saved view state. |
| System.Web.UI.IStateManager.SaveViewState | Saves the view state changes to an Object. |
| System.Web.UI.IStateManager.TrackViewState | Instructs the MenuItemBinding object to track changes to its view state. |
| System.Web.UI.IDataSourceViewSchemaAccessor.DataSourceViewSchema | For a description of this member, see DataSourceViewSchema. |
| System.Web.UI.IStateManager.IsTrackingViewState | Gets a value that indicates whether the MenuItemBinding object is saving changes to its view state. |
Reference
MenuItemBinding ClassSystem.Web.UI.WebControls Namespace
Menu Class
MenuItem Class
MenuItemBindingCollection
AccessDataSource Class
ObjectDataSource
SiteMapDataSource
SqlDataSource
XmlDataSource
Menu.DataBindings Property
DataMember
Depth
FormatString
MenuItem.ImageUrl Property
ImageUrl
ImageUrlField
MenuItem.NavigateUrl Property
NavigateUrl
NavigateUrlField
Target
MenuItem.Text Property
Text
TextField
MenuItem.ToolTip Property
ToolTip
ToolTipField
Value
Value
ValueField
Community Additions
ADD
Show: