MenuItemBinding Members

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
Public method MenuItemBinding Initializes a new instance of the MenuItemBinding class.
Top

  Name Description
Public property DataMember Gets or sets the data member to bind to a menu item.
Public property Depth Gets or sets the menu depth to which the MenuItemBinding object is applied.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property NavigateUrl Gets or sets the URL to link to when a menu item to which the MenuItemBinding object is applied is clicked.
Public property 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.
Public property 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.
Public property 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.
Public property 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."
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property 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.
Public property Text Gets or sets the text displayed for the menu item to which the MenuItemBinding object is applied.
Public property 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.
Public property ToolTip Gets or sets the ToolTip text for a menu item to which the MenuItemBinding object is applied.
Public property 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.
Public property 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.
Public property 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.
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns a string that represents the MenuItemBinding object.
Top

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Explicit interface implementation Method System.ICloneable.Clone Creates a copy of the MenuItemBinding object.
Explicit interface implementation Method System.Web.UI.IStateManager.LoadViewState Loads the node's previously saved view state.
Explicit interface implementation Method System.Web.UI.IStateManager.SaveViewState Saves the view state changes to an Object.
Explicit interface implementation Method System.Web.UI.IStateManager.TrackViewState Instructs the MenuItemBinding object to track changes to its view state.
Explicit interface implementation Property System.Web.UI.IDataSourceViewSchemaAccessor.DataSourceViewSchema For a description of this member, see DataSourceViewSchema.
Explicit interface implementation Property System.Web.UI.IStateManager.IsTrackingViewState Gets a value that indicates whether the MenuItemBinding object is saving changes to its view state.
Top

Community Additions

ADD
Show: