MenuItemTemplateContainer Properties
.NET Framework 2.0
| Name | Description | |
|---|---|---|
| AppRelativeTemplateSourceDirectory | Gets or sets the application-relative virtual directory of the Page or UserControl object that contains this control. (Inherited from Control.) |
| BindingContainer | Gets the control that contains this control's data binding. (Inherited from Control.) |
| ClientID | Gets the server control identifier generated by ASP.NET. (Inherited from Control.) |
| Controls | Gets a ControlCollection object that represents the child controls for a specified server control in the UI hierarchy. (Inherited from Control.) |
| DataItem | Gets or sets the menu item associated with the container. |
| EnableTheming | Gets or sets a value indicating whether themes apply to this control. (Inherited from Control.) |
| EnableViewState | Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. (Inherited from Control.) |
| ID | Gets or sets the programmatic identifier assigned to the server control. (Inherited from Control.) |
| ItemIndex | Gets the index of the menu item associated with the container. |
| NamingContainer | Gets a reference to the server control's naming container, which creates a unique namespace for differentiating between server controls with the same Control.ID property value. (Inherited from Control.) |
| Page | Gets a reference to the Page instance that contains the server control. (Inherited from Control.) |
| Parent | Gets a reference to the server control's parent control in the page control hierarchy. (Inherited from Control.) |
| Site | Gets information about the container that hosts the current control when rendered on a design surface. (Inherited from Control.) |
| SkinID | Gets or sets the skin to apply to the control. (Inherited from Control.) |
| TemplateControl | Gets or sets a reference to the template that contains this control. (Inherited from Control.) |
| TemplateSourceDirectory | Gets the virtual directory of the Page or UserControl that contains the current server control. (Inherited from Control.) |
| UniqueID | Gets the unique, hierarchically qualified identifier for the server control. (Inherited from Control.) |
| Visible | Gets or sets a value that indicates whether a server control is rendered as UI on the page. (Inherited from Control.) |
| Name | Description | |
|---|---|---|
| System.Web.UI.IDataItemContainer.DataItem | Gets the menu item associated with the container. |
| System.Web.UI.IDataItemContainer.DataItemIndex | Gets the index value of the MenuItem object associated with the container. |
| System.Web.UI.IDataItemContainer.DisplayIndex | Gets the index value of the menu item for the container. |
Community Additions
ADD
Show: