Class FlexText
public class FlexText : FlexComponent, IAdditionalDataHolder, IParsable
- Inheritance
-
FlexText
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Properties
Action
Action
public ActionObject? Action { get; set; }
Property Value
AdjustMode
The adjustMode property
public FlexText_adjustMode? AdjustMode { get; set; }
Property Value
Align
The align property
public FlexText_align? Align { get; set; }
Property Value
Color
The color property
public string? Color { get; set; }
Property Value
Contents
The contents property
public List<FlexSpan>? Contents { get; set; }
Property Value
Decoration
The decoration property
public FlexText_decoration? Decoration { get; set; }
Property Value
Flex
The flex property
public int? Flex { get; set; }
Property Value
- int?
Gravity
The gravity property
public FlexText_gravity? Gravity { get; set; }
Property Value
LineSpacing
The lineSpacing property
public string? LineSpacing { get; set; }
Property Value
Margin
The margin property
public string? Margin { get; set; }
Property Value
MaxLines
The maxLines property
public int? MaxLines { get; set; }
Property Value
- int?
OffsetBottom
The offsetBottom property
public string? OffsetBottom { get; set; }
Property Value
OffsetEnd
The offsetEnd property
public string? OffsetEnd { get; set; }
Property Value
OffsetStart
The offsetStart property
public string? OffsetStart { get; set; }
Property Value
OffsetTop
The offsetTop property
public string? OffsetTop { get; set; }
Property Value
Position
The position property
public FlexText_position? Position { get; set; }
Property Value
Scaling
The scaling property
public bool? Scaling { get; set; }
Property Value
- bool?
Size
The size property
public string? Size { get; set; }
Property Value
Style
The style property
public FlexText_style? Style { get; set; }
Property Value
Text
The text property
public string? Text { get; set; }
Property Value
Weight
The weight property
public FlexText_weight? Weight { get; set; }
Property Value
Wrap
The wrap property
public bool? Wrap { get; set; }
Property Value
- bool?
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static FlexText CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNodeIParseNodeThe parse node to use to read the discriminator value and create the object
Returns
GetFieldDeserializers()
The deserialization information for the current model
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
- IDictionary<string, Action<IParseNode>>
A IDictionary<string, Action<IParseNode>>
Serialize(ISerializationWriter)
Serializes information the current object
public override void Serialize(ISerializationWriter writer)
Parameters
writerISerializationWriterSerialization writer to use to serialize this model