C# Class System.Web.UI.WebControls.Menu

Inheritance: System.Web.UI.WebControls.HierarchicalDataBoundControl, IPostBackEventHandler, INamingContainer
Show file Open project: kumpera/mono Class Usage Examples

Public Properties

Property Type Description
MenuItemClickCommandName string

Private Properties

Property Type Description
CreateChildControlsForItems void
CreateChildControlsForItems void
CreateRenderer IMenuRenderer
DisplayChildren bool
EnsureChildControlsDataBound void
FillBoundChildrenRecursive void
FindBindingForItem System.Web.UI.WebControls.MenuItemBinding
FindItemByPos System.Web.UI.WebControls.MenuItem
GetBindingKey string
GetCssMenuStyle string
GetDesignModeState IDictionary
GetDynamicMenuTemplate MenuRenderHtmlTemplate
GetItemSpacing System.Web.UI.WebControls.Unit
IPostBackEventHandler void
InitializeDataBindings void
RenderDynamicMenu void
RenderDynamicMenu void
RenderItem void
RenderItemContent void
RenderMenu void
SetDesignModeState void
SetSelectedItem void

Public Methods

Method Description
DataBind ( ) : void
FindItem ( string valuePath ) : System.Web.UI.WebControls.MenuItem
RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void

Protected Methods

Method Description
AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void
CreateChildControls ( ) : void
EnsureDataBound ( ) : void
LoadControlState ( object ob ) : void
LoadViewState ( object savedState ) : void
OnBubbleEvent ( object source, EventArgs args ) : bool
OnDataBinding ( EventArgs e ) : void
OnInit ( EventArgs e ) : void
OnMenuItemClick ( System.Web.UI.WebControls.MenuEventArgs e ) : void
OnMenuItemDataBound ( System.Web.UI.WebControls.MenuEventArgs e ) : void
OnPreRender ( EventArgs e ) : void
PerformDataBinding ( ) : void
RaisePostBackEvent ( string eventArgument ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void
RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void
SaveControlState ( ) : object
SaveViewState ( ) : object
SetItemDataBound ( MenuItem node, bool dataBound ) : void
SetItemDataItem ( MenuItem node, object dataItem ) : void
SetItemDataPath ( MenuItem node, string dataPath ) : void
TrackViewState ( ) : void

Private Methods

Method Description
CreateChildControlsForItems ( ) : void
CreateChildControlsForItems ( System.Web.UI.WebControls.MenuItemCollection items ) : void
CreateRenderer ( IMenuRenderer current ) : IMenuRenderer
DisplayChildren ( System.Web.UI.WebControls.MenuItem item ) : bool
EnsureChildControlsDataBound ( ) : void
FillBoundChildrenRecursive ( IHierarchicalEnumerable hEnumerable, System.Web.UI.WebControls.MenuItemCollection itemCollection ) : void
FindBindingForItem ( string type, int depth ) : System.Web.UI.WebControls.MenuItemBinding
FindItemByPos ( string path ) : System.Web.UI.WebControls.MenuItem
GetBindingKey ( string dataMember, int depth ) : string
GetCssMenuStyle ( bool dynamic, int menuLevel ) : string
GetDesignModeState ( ) : IDictionary
GetDynamicMenuTemplate ( System.Web.UI.WebControls.MenuItem item ) : MenuRenderHtmlTemplate
GetItemSpacing ( System.Web.UI.WebControls.MenuItem item, bool dynamic ) : System.Web.UI.WebControls.Unit
IPostBackEventHandler ( string eventArgument ) : void
InitializeDataBindings ( ) : void
RenderDynamicMenu ( System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.MenuItem item ) : void
RenderDynamicMenu ( System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.MenuItemCollection items ) : void
RenderItem ( System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.MenuItem item, int position ) : void
RenderItemContent ( System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.MenuItem item, bool isDynamicItem ) : void
RenderMenu ( System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.MenuItemCollection items, bool vertical, bool dynamic, int menuLevel, bool notLast ) : void
SetDesignModeState ( IDictionary data ) : void
SetSelectedItem ( MenuItem item ) : void

Method Details

AddAttributesToRender() protected method

protected AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

CreateChildControls() protected method

protected CreateChildControls ( ) : void
return void

DataBind() public final method

public final DataBind ( ) : void
return void

EnsureDataBound() protected method

protected EnsureDataBound ( ) : void
return void

FindItem() public method

public FindItem ( string valuePath ) : System.Web.UI.WebControls.MenuItem
valuePath string
return System.Web.UI.WebControls.MenuItem

LoadControlState() protected method

protected LoadControlState ( object ob ) : void
ob object
return void

LoadViewState() protected method

protected LoadViewState ( object savedState ) : void
savedState object
return void

OnBubbleEvent() protected method

protected OnBubbleEvent ( object source, EventArgs args ) : bool
source object
args System.EventArgs
return bool

OnDataBinding() protected method

protected OnDataBinding ( EventArgs e ) : void
e System.EventArgs
return void

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void

OnMenuItemClick() protected method

protected OnMenuItemClick ( System.Web.UI.WebControls.MenuEventArgs e ) : void
e System.Web.UI.WebControls.MenuEventArgs
return void

OnMenuItemDataBound() protected method

protected OnMenuItemDataBound ( System.Web.UI.WebControls.MenuEventArgs e ) : void
e System.Web.UI.WebControls.MenuEventArgs
return void

OnPreRender() protected method

protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

PerformDataBinding() protected method

protected PerformDataBinding ( ) : void
return void

RaisePostBackEvent() protected method

protected RaisePostBackEvent ( string eventArgument ) : void
eventArgument string
return void

Render() protected method

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

RenderBeginTag() public method

public RenderBeginTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

RenderContents() protected method

protected RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

RenderEndTag() public method

public RenderEndTag ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

SaveControlState() protected method

protected SaveControlState ( ) : object
return object

SaveViewState() protected method

protected SaveViewState ( ) : object
return object

SetItemDataBound() protected method

protected SetItemDataBound ( MenuItem node, bool dataBound ) : void
node MenuItem
dataBound bool
return void

SetItemDataItem() protected method

protected SetItemDataItem ( MenuItem node, object dataItem ) : void
node MenuItem
dataItem object
return void

SetItemDataPath() protected method

protected SetItemDataPath ( MenuItem node, string dataPath ) : void
node MenuItem
dataPath string
return void

TrackViewState() protected method

protected TrackViewState ( ) : void
return void

Property Details

MenuItemClickCommandName public static property

public static string MenuItemClickCommandName
return string