Table of Contents

Interface ITextBoxTextAttr

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains different text attributes for use with TextBox.

public interface ITextBoxTextAttr

Methods

AddFlag(TextBoxTextAttrFlags)

Add flag indicating that some attribute is specified.

Copy(ITextBoxTextAttr)

Copy all attributes from the other style.

GetAlignment()

Returns text alignment.

GetBackgroundColor()

Returns background color.

GetBulletNumber()

Returns the bullet number.

GetBulletStyle()

Returns bullet style used for the lists.

GetBulletText()

Returns the bullet text, which could be a symbol, or (for example) cached outline text.

GetFlags()

Returns flags for specified attributes.

GetFontFaceName()

Returns name of the font.

GetFontInfo()

Gets FontInfo of the text.

GetFontItalic()

Returns boolean value indicating whether text is shown in the italic style.

GetFontSize()

Returns font size.

GetFontStrikethrough()

Returns true if font strikethrough attribute is specified.

GetFontStyle()

Gets FontStyle of the text.

GetFontUnderlined()

Returns true if font underlined attribute is specified.

GetFontWeight()

Returns font weight.

GetLineSpacing()

Returns integer value which defines an empty spacing between the lines of text inside the paragraph.

GetOutlineLevel()

Returns outline level of the text.

GetParagraphSpacingAfter()

Returns integer value which defines an empty spacing after the paragraph.

GetParagraphSpacingBefore()

Returns integer value which defines an empty spacing before the paragraph.

GetTextColor()

Returns color of the text.

GetTextEffects()

Returns text effects.

GetURL()

Returns URL attribute associated with the text.

GetUnderlineColor()

Gets color of the text underline.

GetUnderlineType()

Returns type of the underline.

HasAlignment()

Returns boolean value indicating whether alignment attribute is specified.

HasBackgroundColor()

Returns boolean value indicating whether background color attribute is specified.

HasBulletName()

Returns true if the attribute object specifies a standard bullet name.

HasBulletNumber()

Returns true if bullet starting number for ordered lists is specified.

HasBulletStyle()

Returns true if the attribute object specifies a bullet style.

HasBulletText()

Returns true if the attribute object specifies bullet text (usually specifying a symbol).

HasCharacterStyleName()

Returns true if the attribute object specifies a character style name.

HasFlag(TextBoxTextAttrFlags)

Returns true if specific attribute is set.

HasFont()

Returns boolean value indicating whether any font attribute is specified.

HasFontEncoding()

Returns boolean value indicating whether font encoding is specified.

HasFontFaceName()

Returns boolean value indicating whether font name is specified.

HasFontFamily()

Returns boolean value indicating whether font family is specified.

HasFontItalic()

Returns boolean value indicating whether italic font is specified.

HasFontPixelSize()

Returns boolean value indicating whether font size in pixels is specified.

HasFontPointSize()

Returns boolean value indicating whether font size in points is specified.

HasFontSize()

Returns boolean value indicating whether font size is specified.

HasFontStrikethrough()

Returns boolean value indicating whether strikethrough font is specified.

HasFontUnderlined()

Returns boolean value indicating whether underlined font is specified.

HasFontWeight()

Returns boolean value indicating whether font weight is specified.

HasLeftIndent()

Returns boolean value indicating whether left indentation is specified.

HasLineSpacing()

Returns boolean value indicating whether line spacing is specified.

HasListStyleName()

Returns true if the attribute object specifies a list style name.

HasOutlineLevel()

Returns true if outline level is specified.

HasPageBreak()

Returns true if page break attribute is specified.

HasParagraphSpacingAfter()

Returns boolean value indicating whether spacing after paragraph is specified.

HasParagraphSpacingBefore()

Returns boolean value indicating whether spacing before paragraph is specified.

HasParagraphStyleName()

Returns true if the attribute object specifies a paragraph style name.

HasRightIndent()

Returns boolean value indicating whether right indentation is specified.

HasTabs()

Returns boolean value indicating whether tab stops are specified.

HasTextColor()

Returns boolean value indicating whether text color attribute is specified for the text.

HasTextEffect(TextBoxTextAttrEffects)

Returns true if specific text effect is specified.

HasTextEffects()

Returns true if any text effect is specified.

HasURL()

Returns true if URL attribute is specified for the text.

IsCharacterStyle()

Returns true if character style attributes are specified.

IsDefault()

Gets whether any text attributes were set.

IsParagraphStyle()

Returns true if paragraph style attributes are specified.

RemoveFlag(TextBoxTextAttrFlags)

Mark attribute as not specified.

SetAlignment(TextBoxTextAttrAlignment)

Sets text alignment.

SetBackgroundColor(Color)

Sets background color.

SetBulletFont(string)

Sets the bullet font name.

SetBulletName(string)

Sets the standard bullet name, applicable if the bullet style is standard.

SetBulletNumber(int)

Sets initial value for ordered list numbers.

SetBulletStyle(TextBoxTextAttrBulletStyle)

Sets bullet style for the lists.

SetBulletText(string)

Sets the bullet text, which could be a symbol, or (for example) cached outline text.

SetCharacterStyleName(string)

Sets the character style name.

SetFlags(TextBoxTextAttrFlags)

Set flags indicating that these attributes are specified in the style.

SetFontFaceName(string)

Sets name of the font.

SetFontFamily(GenericFontFamily)

Sets font family attribute.

SetFontInfo(FontInfo)

Sets FontInfo of the text.

SetFontItalic(bool)

Sets boolean value indicating whether to show text in the italic style.

SetFontPointSize(double)

Sets font size in points.

SetFontPointSize(int)

Sets font size in points.

SetFontSlanted(bool)

Sets boolean value indicating whether to show text in the slanted style (almost same as italic).

SetFontStrikethrough(bool)

Sets boolean value indicating whether to show text in the strikethrough style

SetFontStyle(FontStyle)

Sets FontStyle of the text.

SetFontUnderlined(bool)

Sets boolean value indicating whether to underline the text.

SetFontUnderlinedEx(TextBoxTextAttrUnderlineType, Color)

Sets advanced font underline style.

SetFontWeight(FontWeight)

Sets font weight.

SetLineSpacing(int)

Sets integer value which defines an empty spacing between the lines of text inside the paragraph.

SetListStyleName(string)

Sets the list style name.

SetOutlineLevel(int)

Sets outline level of the text.

SetPageBreak(bool)

Specifies a page break before this paragraph.

SetParagraphSpacingAfter(int)

Sets integer value which defines an empty spacing after the paragraph.

SetParagraphSpacingBefore(int)

Sets integer value which defines an empty spacing before the paragraph.

SetParagraphStyleName(string)

Sets the paragraph style name.

SetTextColor(Color)

Sets color of the text.

SetTextEffects(TextBoxTextAttrEffects)

Sets text effects.

SetURL(string)

Sets value of the URL attribute for the text.