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

More...

Inheritance diagram for Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >:
Ext.Net.ComponentBase.Builder< TLabelBase, TBuilder >

Public Member Functions

 Builder (TLabelBase component)
 
virtual TBuilder Format (string format)
 The format of the string to render using the .Text property. Example 'Hello {0}'. More...
 
virtual TBuilder EmptyText (string emptyText)
 The default text to display if the Text property is empty (defaults to ''). More...
 
virtual TBuilder ForID (string forID)
 The id of the input element to which this label will be bound via the standard HTML 'for' attribute. If not specified, the attribute will not be added to the label. In most cases you will be associating the label with a Ext.form.field.Base component, so you should make sure this matches the inputId of that field. More...
 
virtual TBuilder Text (string text)
 The plain text to display within the label (defaults to ''). If you need to include HTML tags within the label's innerHTML, use the html config instead. More...
 
virtual TBuilder Icon (Icon icon)
 The icon to use in the label. See also, IconCls to set an icon with a custom Css class. More...
 
virtual TBuilder IconCls (string iconCls)
 A css class which sets a background image to be used as the icon for this label. More...
 
virtual TBuilder IconAlign (Alignment iconAlign)
 (optional) Set the CSS text-align property of the icon. The center is not supported. Defaults to "Left" More...
 
virtual TBuilder Editor (Action< ItemsCollection< Editor >> action)
 Inline editor More...
 

Detailed Description

Type Constraints
TLabelBase :LabelBase 
TBuilder :Builder 
TBuilder :TLabelBase 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder()

Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.Builder ( TLabelBase  component)
inline

Member Function Documentation

◆ Editor()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.Editor ( Action< ItemsCollection< Editor >>  action)
inlinevirtual

Inline editor

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ EmptyText()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.EmptyText ( string  emptyText)
inlinevirtual

The default text to display if the Text property is empty (defaults to '').

◆ ForID()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.ForID ( string  forID)
inlinevirtual

The id of the input element to which this label will be bound via the standard HTML 'for' attribute. If not specified, the attribute will not be added to the label. In most cases you will be associating the label with a Ext.form.field.Base component, so you should make sure this matches the inputId of that field.

◆ Format()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.Format ( string  format)
inlinevirtual

The format of the string to render using the .Text property. Example 'Hello {0}'.

◆ Icon()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.Icon ( Icon  icon)
inlinevirtual

The icon to use in the label. See also, IconCls to set an icon with a custom Css class.

◆ IconAlign()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.IconAlign ( Alignment  iconAlign)
inlinevirtual

(optional) Set the CSS text-align property of the icon. The center is not supported. Defaults to "Left"

◆ IconCls()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.IconCls ( string  iconCls)
inlinevirtual

A css class which sets a background image to be used as the icon for this label.

◆ Text()

virtual TBuilder Ext.Net.LabelBase.Builder< TLabelBase, TBuilder >.Text ( string  text)
inlinevirtual

The plain text to display within the label (defaults to ''). If you need to include HTML tags within the label's innerHTML, use the html config instead.


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