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

More...

Inheritance diagram for Ext.Net.ColorField.Builder< TColorField, TBuilder >:
Ext.Net.PickerField.Builder< TColorField, TBuilder >

Public Member Functions

 Builder (TColorField component)
 
virtual TBuilder Listeners (Action< PickerFieldListeners > action)
 Client-side JavaScript Event Handlers More...
 
virtual TBuilder DirectEvents (Action< PickerFieldDirectEvents > action)
 Server-side DirectEventHandlers More...
 
virtual TBuilder BeforeBodyEl (string beforeBodyEl)
 'Color Swatch' shown on the left of the field. More...
 
virtual TBuilder Editable (bool? editable)
 False to prevent the user from typing text directly into the field; the field can only have its value set via selecting a value from the picker. In this state, the picker can also be opened by clicking directly on the input field itself. More...
 
virtual TBuilder MatchFieldWidth (bool? matchFieldWidth)
 Whether the picker dropdown's width should be explicitly set to match the width of the field. Defaults to true. Defaults to false. More...
 
virtual TBuilder SelectedColor (string selectedColor)
 The color value of this field. More...
 
 Builder ()
 
 Builder (ColorField component)
 
 Builder (ColorField.Config config)
 
- Public Member Functions inherited from Ext.Net.PickerField.Builder< TColorField, TBuilder >
 Builder (TPickerField component)
 
virtual TBuilder MatchFieldWidth (bool matchFieldWidth)
 Whether the picker dropdown's width should be explicitly set to match the width of the field. Defaults to true. More...
 
virtual TBuilder OpenCls (string openCls)
 A class to be added to the field's bodyEl element when the picker is opened. Defaults to 'x-pickerfield-open'. More...
 
virtual TBuilder PickerAlign (string pickerAlign)
 The alignment position with which to align the picker. Defaults to "tl-bl?" More...
 
virtual TBuilder PickerOffset (int[] pickerOffset)
 An offset [x,y] to use in addition to the pickerAlign when positioning the picker. Defaults to undefined. More...
 
virtual TBuilder AutoPostBackEvent (PickerAutoPostBackEvent autoPostBackEvent)
 
virtual TBuilder TriggerCls (string triggerCls)
 An additional CSS class used to style the trigger button. The trigger will always get the class 'x-form-trigger' and triggerCls will be appended if specified. More...
 
virtual TBuilder TriggerIcon (TriggerIcon triggerIcon)
 The icon to use in the trigger. More...
 
virtual TBuilder HideBaseTrigger (bool hideBaseTrigger)
 true to hide base trigger More...
 
virtual TBuilder Expand ()
 
virtual TBuilder Collapse ()
 
virtual TBuilder SetHideBaseTrigger (bool hideTrigger)
 Sets the value of hideBaseTrigger. More...
 

Static Public Member Functions

static implicit operator Builder (ColorField component)
 

Detailed Description

Type Constraints
TColorField :ColorField 
TBuilder :Builder 
TBuilder :TColorField 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.ColorField.Builder< TColorField, TBuilder >.Builder ( TColorField  component)
inline

◆ Builder() [2/4]

Ext.Net.ColorField.Builder< TColorField, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.ColorField.Builder< TColorField, TBuilder >.Builder ( ColorField  component)
inline

◆ Builder() [4/4]

Ext.Net.ColorField.Builder< TColorField, TBuilder >.Builder ( ColorField.Config  config)
inline

Member Function Documentation

◆ BeforeBodyEl()

virtual TBuilder Ext.Net.ColorField.Builder< TColorField, TBuilder >.BeforeBodyEl ( string  beforeBodyEl)
inlinevirtual

'Color Swatch' shown on the left of the field.

◆ DirectEvents()

virtual TBuilder Ext.Net.ColorField.Builder< TColorField, TBuilder >.DirectEvents ( Action< PickerFieldDirectEvents action)
inlinevirtual

Server-side DirectEventHandlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ Editable()

virtual TBuilder Ext.Net.ColorField.Builder< TColorField, TBuilder >.Editable ( bool?  editable)
inlinevirtual

False to prevent the user from typing text directly into the field; the field can only have its value set via selecting a value from the picker. In this state, the picker can also be opened by clicking directly on the input field itself.

◆ Listeners()

virtual TBuilder Ext.Net.ColorField.Builder< TColorField, TBuilder >.Listeners ( Action< PickerFieldListeners action)
inlinevirtual

Client-side JavaScript Event Handlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ MatchFieldWidth()

virtual TBuilder Ext.Net.ColorField.Builder< TColorField, TBuilder >.MatchFieldWidth ( bool?  matchFieldWidth)
inlinevirtual

Whether the picker dropdown's width should be explicitly set to match the width of the field. Defaults to true. Defaults to false.

◆ operator Builder()

static implicit Ext.Net.ColorField.Builder< TColorField, TBuilder >.operator Builder ( ColorField  component)
inlinestatic

◆ SelectedColor()

virtual TBuilder Ext.Net.ColorField.Builder< TColorField, TBuilder >.SelectedColor ( string  selectedColor)
inlinevirtual

The color value of this field.


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