Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.CaptionTextSprite Class Reference

This is a subset of the text and abstract sprite classes, supported by Ext.chart.Caption.style. More...

Inheritance diagram for Ext.Net.CaptionTextSprite:
Ext.Net.BaseItem Ext.Net.ICustomConfigSerialization Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 CaptionTextSprite ()
 Default constructor. More...
 
string ToScript (Control owner)
 Generates a JavaScript compatible object out of this C# object using Ext.Net.ClientConfig logic. More...
 
CaptionTextSprite.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 CaptionTextSprite (Config config)
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator CaptionTextSprite (CaptionTextSprite.Config config)
 

Properties

virtual string Font [get, set]
 The font displayed. Example: '10px sans-serif'. More...
 
virtual string FontFamily [get, set]
 The family of the font displayed. Example: 'sans-serif'. More...
 
virtual string FontSize [get, set]
 The size of the font displayed. Example: '10px' More...
 
virtual string FontStyle [get, set]
 The style of the font displayed. Examples: 'normal', 'italic', 'oblique'. More...
 
virtual string FontVariant [get, set]
 The variant of the font displayed. Examples: 'normal', 'small-caps'. More...
 
virtual string FontWeight [get, set]
 The weight of the font displayed. Examples: 'normal', 'bold', 'bolder', 'lighter'. More...
 
virtual TextSpriteAlign TextAlign [get, set]
 The alignment of the text displayed. More...
 
virtual DominantBaseline TextBaseline [get, set]
 The text sprite's baseline setting. More...
 
virtual ? double? FillOpacity [get, set]
 The opacity of the fill. Limited from 0 to 1. Defaults to: 1 More...
 
virtual string FillStyle [get, set]
 The color of the shape (a CSS color value). Defaults to: "none" More...
 
virtual ? double? GlobalAlpha [get, set]
 The opacity of the sprite. Limited from 0 to 1. Defaults to: 1 More...
 
virtual ? double? Opacity [get, set]
 The opacity of the sprite. Limited from 0 to 1. Defaults to: 1 More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

This is a subset of the text and abstract sprite classes, supported by Ext.chart.Caption.style.

If we instead just inherited TextSprite, several unsupported settings would come in, and also the requirement for SpriteID and DrawComponent references would have to be overridden.

Constructor & Destructor Documentation

◆ CaptionTextSprite() [1/2]

Ext.Net.CaptionTextSprite.CaptionTextSprite ( )
inline

Default constructor.

◆ CaptionTextSprite() [2/2]

Ext.Net.CaptionTextSprite.CaptionTextSprite ( Config  config)
inline

Member Function Documentation

◆ operator CaptionTextSprite()

static implicit Ext.Net.CaptionTextSprite.operator CaptionTextSprite ( CaptionTextSprite.Config  config)
inlinestatic

◆ ToBuilder()

CaptionTextSprite.Builder Ext.Net.CaptionTextSprite.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.CaptionTextSprite.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseItem.

◆ ToScript()

string Ext.Net.CaptionTextSprite.ToScript ( Control  owner)
inline

Generates a JavaScript compatible object out of this C# object using Ext.Net.ClientConfig logic.

Parameters
owner
Returns
The string representation of the JavaScript object that can be eval()'d at client side.

Implements Ext.Net.ICustomConfigSerialization.

Property Documentation

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.CaptionTextSprite.ConfigOptions
get

◆ FillOpacity

virtual ? double? Ext.Net.CaptionTextSprite.FillOpacity
getset

The opacity of the fill. Limited from 0 to 1. Defaults to: 1

◆ FillStyle

virtual string Ext.Net.CaptionTextSprite.FillStyle
getset

The color of the shape (a CSS color value). Defaults to: "none"

◆ Font

virtual string Ext.Net.CaptionTextSprite.Font
getset

The font displayed. Example: '10px sans-serif'.

◆ FontFamily

virtual string Ext.Net.CaptionTextSprite.FontFamily
getset

The family of the font displayed. Example: 'sans-serif'.

◆ FontSize

virtual string Ext.Net.CaptionTextSprite.FontSize
getset

The size of the font displayed. Example: '10px'

◆ FontStyle

virtual string Ext.Net.CaptionTextSprite.FontStyle
getset

The style of the font displayed. Examples: 'normal', 'italic', 'oblique'.

◆ FontVariant

virtual string Ext.Net.CaptionTextSprite.FontVariant
getset

The variant of the font displayed. Examples: 'normal', 'small-caps'.

◆ FontWeight

virtual string Ext.Net.CaptionTextSprite.FontWeight
getset

The weight of the font displayed. Examples: 'normal', 'bold', 'bolder', 'lighter'.

◆ GlobalAlpha

virtual ? double? Ext.Net.CaptionTextSprite.GlobalAlpha
getset

The opacity of the sprite. Limited from 0 to 1. Defaults to: 1

◆ Opacity

virtual ? double? Ext.Net.CaptionTextSprite.Opacity
getset

The opacity of the sprite. Limited from 0 to 1. Defaults to: 1

◆ TextAlign

virtual TextSpriteAlign Ext.Net.CaptionTextSprite.TextAlign
getset

The alignment of the text displayed.

◆ TextBaseline

virtual DominantBaseline Ext.Net.CaptionTextSprite.TextBaseline
getset

The text sprite's baseline setting.


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