ComponentOne TileControl for WinForms
C1.Win.C1TileControl.4.5.2 Assembly / C1.Win.C1Tile Namespace / TextElement Class
Properties Methods


In This Topic
    TextElement Class Members
    In This Topic

    The following tables list the members exposed by TextElement.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of a TextElement.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the alignment of element within its parent bounds. (Inherited from C1.Win.C1Tile.BaseElement)
    Public PropertyGets or sets the alignment of contents within the element. (Inherited from C1.Win.C1Tile.BaseElement)
    Public PropertyGets or sets the text background color.  
    Public PropertyGets or sets a value indicating which property of a Tile object behaves as the source of background color for this element.  
    Public PropertyGets or sets the description for this element. (Inherited from C1.Win.C1Tile.BaseElement)
    Public PropertyGets or sets whether the text is vertically aligned (if so the background color is not used).  
    Public PropertyGets or sets the fixed height of the contents, if appropriate. Set to 0 to calculate height dynamically. (Inherited from C1.Win.C1Tile.BaseElement)
    Public PropertyGets or sets the fixed width of the contents, if appropriate. Set to 0 to calculate width dynamically. (Inherited from C1.Win.C1Tile.BaseElement)
    Public PropertyGets or sets the font for the text element.  
    Public PropertyGets or sets a value that indicates whether the element shows bold text.  
    Public PropertyGets or sets a value that indicates whether the element shows italic text.  
    Public PropertyGets or sets whether the text bounding rectangle should include padding (only if the text has background).  
    Public PropertyGets or sets the font size for the text element.  
    Public PropertyGets or sets a value that indicates whether the element shows text with a line through the middle.  
    Public PropertyGets or sets a value that indicates whether the element shows underlined text.  
    Public PropertyGets or sets the foreground color of the text element.  
    Public PropertyGets or sets a value indicating which property of a Tile object behaves as the source of foreground color for this element.  
    Public PropertyGets or sets the outer spacing of the element. (Inherited from C1.Win.C1Tile.BaseElement)
    Public PropertyGets or sets whether the text bounding rectangle includes the trailing space at the end of each line (only if the text has no background).  
    Public PropertyGets or sets whether the text should be displayed from right to left.  
    Public PropertyGets or sets whether text should be displayed in a single line.  
    Public PropertyGets or sets the text displayed in unbound mode.  
    Public PropertyGets or sets a value indicating which property of a Tile object behaves as the source of text that will be displayed by this element.  
    Public PropertyGets or sets how to trim characters that do not fit in the space available.  
    Top
    Public Methods
     NameDescription
    Public MethodCreates a new BaseElement that is a copy of the current instance. (Inherited from C1.Win.C1Tile.BaseElement)
    Public MethodOverloaded. Overridden. Clean up any resources being used.  
    Public MethodResets the value of the BackColor property.  
    Public MethodResets the value of the ForeColor property.  
    Public MethodResets the value of the Margin property. (Inherited from C1.Win.C1Tile.BaseElement)
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Copies settings from the given element.  
    Protected MethodOverridden. Creates an instance of the TextElement element copy.  
    Protected Method (Inherited from C1.Win.C1Tile.BaseElement)
    Top
    See Also