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

More...

Inheritance diagram for Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >:
Ext.Net.AbstractContainer.Builder< TSegmentedButtonBase, TBuilder >

Public Member Functions

 Builder (TSegmentedButtonBase component)
 
virtual TBuilder AllowDepress (bool allowDepress)
 Allow toggling the pressed state of each button. Only applicable when allowMultiple is false. More...
 
virtual TBuilder AllowMultiple (bool allowMultiple)
 Allow multiple pressed buttons. More...
 
virtual TBuilder AllowToggle (bool allowToggle)
 True to enable pressed/not pressed toggling. Defaults to: true More...
 
virtual TBuilder DefaultType (string defaultType)
 The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object, rather than as an instantiated AbstractComponent. Defaults to 'panel'. More...
 
virtual TBuilder DefaultUI (string defaultUI)
 Default ui to use for buttons in this segmented button. Buttons can override this default by specifying their own UI More...
 
virtual TBuilder ForceSelection (bool? forceSelection)
 If allowMultiple is true, this config may be set to true to indicate that at least one button in the set must remain pressed at all times. More...
 
virtual TBuilder Value (string value)
 The value of this button. More...
 
virtual TBuilder Values (string[] values)
 The value of this button. More...
 
virtual TBuilder Vertical (bool vertical)
 True to align the buttons vertically. Defaults to: false More...
 
virtual TBuilder SetValue ()
 
virtual TBuilder SetValue (int index)
 
virtual TBuilder SetValue (int[] index)
 
virtual TBuilder SetValue (string value)
 
virtual TBuilder SetValue (string[] value)
 
virtual TBuilder SetValue (object value)
 

Detailed Description

Type Constraints
TSegmentedButtonBase :SegmentedButtonBase 
TBuilder :Builder 
TBuilder :TSegmentedButtonBase 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder()

Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.Builder ( TSegmentedButtonBase  component)
inline

Member Function Documentation

◆ AllowDepress()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.AllowDepress ( bool  allowDepress)
inlinevirtual

Allow toggling the pressed state of each button. Only applicable when allowMultiple is false.

◆ AllowMultiple()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.AllowMultiple ( bool  allowMultiple)
inlinevirtual

Allow multiple pressed buttons.

◆ AllowToggle()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.AllowToggle ( bool  allowToggle)
inlinevirtual

True to enable pressed/not pressed toggling. Defaults to: true

◆ DefaultType()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.DefaultType ( string  defaultType)
inlinevirtual

The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object, rather than as an instantiated AbstractComponent. Defaults to 'panel'.

◆ DefaultUI()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.DefaultUI ( string  defaultUI)
inlinevirtual

Default ui to use for buttons in this segmented button. Buttons can override this default by specifying their own UI

◆ ForceSelection()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.ForceSelection ( bool?  forceSelection)
inlinevirtual

If allowMultiple is true, this config may be set to true to indicate that at least one button in the set must remain pressed at all times.

If no value is configured, and no child buttons are configured pressed, the first child button is set pressed: true

◆ SetValue() [1/6]

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.SetValue ( )
inlinevirtual

◆ SetValue() [2/6]

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.SetValue ( int  index)
inlinevirtual

◆ SetValue() [3/6]

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.SetValue ( int[]  index)
inlinevirtual

◆ SetValue() [4/6]

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.SetValue ( object  value)
inlinevirtual

◆ SetValue() [5/6]

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.SetValue ( string  value)
inlinevirtual

◆ SetValue() [6/6]

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.SetValue ( string[]  value)
inlinevirtual

◆ Value()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.Value ( string  value)
inlinevirtual

The value of this button.

◆ Values()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.Values ( string[]  values)
inlinevirtual

The value of this button.

◆ Vertical()

virtual TBuilder Ext.Net.SegmentedButtonBase.Builder< TSegmentedButtonBase, TBuilder >.Vertical ( bool  vertical)
inlinevirtual

True to align the buttons vertically. Defaults to: false


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