Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >:
Ext.Net.MenuItemBase.Builder< TCheckMenuItem, TBuilder >

Public Member Functions

 Builder (TCheckMenuItem component)
 
virtual TBuilder CheckChangeDisabled (bool checkChangeDisabled)
 True to prevent the checked item from being toggled. Any submenu will still be accessible. Defaults to: false More...
 
virtual TBuilder Checked (bool _checked)
 True to initialize this checkbox as checked (defaults to false). Note that if this checkbox is part of a radio group (group = true) only the last item in the group that is initialized with checked = true will be rendered as checked. More...
 
virtual TBuilder CheckedCls (string checkedCls)
 The CSS class used by cls to show the checked state. Defaults to Ext.baseCSSPrefix + 'menu-item-checked'. More...
 
virtual TBuilder Group (string group)
 All check items with the same group name will automatically be grouped into a single-select radio button group (defaults to ''). More...
 
virtual TBuilder GroupCls (string groupCls)
 The CSS class applied to this item's icon image to denote being a part of a radio group. Defaults to Ext.baseCSSClass + 'menu-group-icon'. Any specified iconCls overrides this. More...
 
virtual TBuilder SubmenuText (string submenuText)
 Text to be announced by screen readers when a check item submenu is focused. Defaults to: '{0} submenu'. More...
 
virtual TBuilder UncheckedCls (string uncheckedCls)
 The CSS class used by cls to show the unchecked state. Defaults to Ext.baseCSSPrefix + 'menu-item-unchecked'. More...
 
virtual TBuilder CheckHandler (string checkHandler)
 A function that handles the checkchange event. More...
 
virtual TBuilder Listeners (Action< CheckMenuItemListeners > action)
 Client-side JavaScript Event Handlers More...
 
virtual TBuilder DirectEvents (Action< CheckMenuItemDirectEvents > action)
 Server-side DirectEventHandlers More...
 
virtual TBuilder SetChecked (bool value, bool suppressEvent)
 
virtual TBuilder SetChecked (bool value)
 
virtual TBuilder DisableCheckChange ()
 
virtual TBuilder EnableCheckChange ()
 
 Builder ()
 
 Builder (CheckMenuItem component)
 
 Builder (CheckMenuItem.Config config)
 

Static Public Member Functions

static implicit operator Builder (CheckMenuItem component)
 

Detailed Description

Type Constraints
TCheckMenuItem :CheckMenuItem 
TBuilder :Builder 
TBuilder :TCheckMenuItem 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Builder ( TCheckMenuItem  component)
inline

◆ Builder() [2/4]

Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Builder ( CheckMenuItem  component)
inline

◆ Builder() [4/4]

Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Builder ( CheckMenuItem.Config  config)
inline

Member Function Documentation

◆ CheckChangeDisabled()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.CheckChangeDisabled ( bool  checkChangeDisabled)
inlinevirtual

True to prevent the checked item from being toggled. Any submenu will still be accessible. Defaults to: false

◆ Checked()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Checked ( bool  _checked)
inlinevirtual

True to initialize this checkbox as checked (defaults to false). Note that if this checkbox is part of a radio group (group = true) only the last item in the group that is initialized with checked = true will be rendered as checked.

◆ CheckedCls()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.CheckedCls ( string  checkedCls)
inlinevirtual

The CSS class used by cls to show the checked state. Defaults to Ext.baseCSSPrefix + 'menu-item-checked'.

◆ CheckHandler()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.CheckHandler ( string  checkHandler)
inlinevirtual

A function that handles the checkchange event.

◆ DirectEvents()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.DirectEvents ( Action< CheckMenuItemDirectEvents action)
inlinevirtual

Server-side DirectEventHandlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ DisableCheckChange()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.DisableCheckChange ( )
inlinevirtual

◆ EnableCheckChange()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.EnableCheckChange ( )
inlinevirtual

◆ Group()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Group ( string  group)
inlinevirtual

All check items with the same group name will automatically be grouped into a single-select radio button group (defaults to '').

◆ GroupCls()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.GroupCls ( string  groupCls)
inlinevirtual

The CSS class applied to this item's icon image to denote being a part of a radio group. Defaults to Ext.baseCSSClass + 'menu-group-icon'. Any specified iconCls overrides this.

◆ Listeners()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.Listeners ( Action< CheckMenuItemListeners action)
inlinevirtual

Client-side JavaScript Event Handlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ operator Builder()

static implicit Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.operator Builder ( CheckMenuItem  component)
inlinestatic

◆ SetChecked() [1/2]

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.SetChecked ( bool  value)
inlinevirtual

◆ SetChecked() [2/2]

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.SetChecked ( bool  value,
bool  suppressEvent 
)
inlinevirtual

◆ SubmenuText()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.SubmenuText ( string  submenuText)
inlinevirtual

Text to be announced by screen readers when a check item submenu is focused. Defaults to: '{0} submenu'.

◆ UncheckedCls()

virtual TBuilder Ext.Net.CheckMenuItem.Builder< TCheckMenuItem, TBuilder >.UncheckedCls ( string  uncheckedCls)
inlinevirtual

The CSS class used by cls to show the unchecked state. Defaults to Ext.baseCSSPrefix + 'menu-item-unchecked'.


The documentation for this class was generated from the following file: