Syncfusion.EJ2
Properties  Methods 


Syncfusion.EJ2.Diagrams Namespace : DiagramTextStyle Class

DiagramTextStyle Class Members

The following tables list the members exposed by DiagramTextStyle.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Properties
 NameDescription
Public Property Enables/disables the bold style of text  
Public Property Sets the font color of a text  
Public Property To get or set value for ContentTemplate.  
Public Property Sets the fill color of a shape/path  
Public Property Sets the font type of a text  
Public Property Defines the font size of a text  
Public Property Defines the gradient of a shape/path  
Public Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Public Property Enables/disables the italic style of text  
Public Property Sets the opacity of a shape/path  
Public Property Sets the stroke color of a shape/path  
Public Property Defines the pattern of dashes and spaces to stroke the path/shape  
Public Property Defines the stroke width of the path/shape  
Public Property Defines how the text should be aligned within its bounds Left - Aligns the text at the left of the text bounds Right - Aligns the text at the right of the text bounds Center - Aligns the text at the center of the text bounds Justify - Aligns the text in a justified manner  
Public Property Defines how the text should be decorated. For example, with underline/over line Overline - Decorates the text with a line above the text Underline - Decorates the text with an underline LineThrough - Decorates the text by striking it with a line None - Text will not have any specific decoration  
Public Property Defines how to handle the text when it exceeds the given size. Wrap - Wraps the text to next line, when it exceeds its bounds Ellipsis - It truncates the overflown text and represents the clipping with an ellipsis Clip - It clips the overflow text  
Public Property Defines how the text should be wrapped, when the text size exceeds some specific bounds WrapWithOverflow - Wraps the text so that no word is broken Wrap - Wraps the text and breaks the word, if necessary NoWrap - Text will no be wrapped  
Public Property Defines how the white space and new line characters have to be handled PreserveAll - Preserves all empty spaces and empty lines CollapseSpace - Collapses the consequent spaces into one CollapseAll - Collapses all consequent empty spaces and empty lines  
Top
Protected Properties
 NameDescription
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Top
Public Methods
Protected Methods
 NameDescription
Protected Method (Inherited from Syncfusion.EJ2.EJTagHelper)
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Top
See Also