C1.Silverlight.RichTextBox.5
C1TextElement Class Members
Fields  Properties  Methods  Events

The following tables list the members exposed by C1TextElement.

Public Constructors
 NameDescription
Public ConstructorC1TextElement ConstructorInitializes a new C1TextElement  
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)BackgroundPropertyIdentifies the Background style property.  
Public Fieldstatic (Shared in Visual Basic)BorderBrushPropertyIdentifies the BorderBrush style property.  
Public Fieldstatic (Shared in Visual Basic)BorderThicknessPropertyIdentifies the BorderThickness style property.  
Public Fieldstatic (Shared in Visual Basic)CornerRadiusPropertyIdentifies the CornerRadius style property.  
Public Fieldstatic (Shared in Visual Basic)CursorPropertyIdentifies the Cursor style property.  
Public Fieldstatic (Shared in Visual Basic)FontFamilyPropertyIdentifies the FontFamily style property.  
Public Fieldstatic (Shared in Visual Basic)FontSizePropertyIdentifies the FontSize style property.  
Public Fieldstatic (Shared in Visual Basic)FontStylePropertyIdentifies the FontStyle style property.  
Public Fieldstatic (Shared in Visual Basic)FontWeightPropertyIdentifies the FontWeight style property.  
Public Fieldstatic (Shared in Visual Basic)ForegroundPropertyIdentifies the Foreground style property.  
Public Fieldstatic (Shared in Visual Basic)HeightPropertyIdentifies the Height style property.  
Public Fieldstatic (Shared in Visual Basic)IsEditablePropertyIdentifies the IsEditable style property.  
Public Fieldstatic (Shared in Visual Basic)LineHeightPropertyIdentifies the LineHeight style property.  
Public Fieldstatic (Shared in Visual Basic)MarginPropertyIdentifies the Margin style property.  
Public Fieldstatic (Shared in Visual Basic)MaxHeightPropertyIdentifies the MaxHeight style property.  
Public Fieldstatic (Shared in Visual Basic)MaxWidthPropertyIdentifies the MaxWidth style property.  
Public Fieldstatic (Shared in Visual Basic)MinHeightPropertyIdentifies the MinHeight style property.  
Public Fieldstatic (Shared in Visual Basic)MinWidthPropertyIdentifies the MinWidth style property.  
Public Fieldstatic (Shared in Visual Basic)PaddingPropertyIdentifies the Padding style property.  
Public Fieldstatic (Shared in Visual Basic)TextDecorationsPropertyIdentifies the TextDecorations style property.  
Public Fieldstatic (Shared in Visual Basic)TextEffectPropertyIdentifies the TextEffect style property.  
Public Fieldstatic (Shared in Visual Basic)ToolTipPropertyIdentifies the ToolTip style property.  
Public Fieldstatic (Shared in Visual Basic)VerticalAlignmentPropertyIdentifies the VerticalAlignment style property.  
Public Fieldstatic (Shared in Visual Basic)VisibilityPropertyIdentifies the Visibility style property.  
Public Fieldstatic (Shared in Visual Basic)WidthPropertyIdentifies the Width style property.  
Top
Public Properties
 NameDescription
Public PropertyBackgroundGets or sets the System.Windows.Media.Brush used to fill the background of the content area.  
Public PropertyBorderBrushGets or sets the System.Windows.Media.Brush used to fill the border of a text element.  
Public PropertyBorderThicknessGets or sets the border thickness of a text element.  
Public PropertyChildrenGet all children of this C1TextElement.  
Public PropertyContentEndGets the C1TextPointer at the end of this text element.  
Public PropertyContentRangeGets the C1TextRange of this element's content.  
Public PropertyContentStartGets the C1TextPointer at the start of this text element.  
Public PropertyCornerRadiusGets or sets the corner radius for the border of a text element.  
Public PropertyCursorGets or sets the Cursor displayed when the mouse is over this element.  
Public PropertyEndTagReturns the EndTag of this C1TextElement.  
Public PropertyFontFamilyGets or sets the preferred font family for the content of the element.  
Public PropertyFontSizeGets or sets the font size for the content of the element.  
Public PropertyFontStyleGets or sets the font style for the content of the element.  
Public PropertyFontWeightGets or sets the font weight for the content of the element.  
Public PropertyForegroundGets or sets the System.Windows.Media.Brush to apply to the content of the element.  
Public PropertyHeightGets or sets the height of this C1TextElement.  
Public PropertyIdGets or sets an identifier for this text element.  
Public PropertyIndexGet the index of this C1TextElement in its parent Children collection.  
Public PropertyIsCollapsedReturns whether this element is collapsed, that is, if its Visibility, or that of one of its parents, is C1Visibility.Collapsed.  
Public PropertyIsEditableGets or sets whether the content of this element are editable in a C1.Silverlight.RichTextBox.C1RichTextBox.  
Public PropertyIsLeafReturns whether this element is a leaf in the document tree.  
Public PropertyIsRootReturns whether this element is the root of its tree.  
Public PropertyLineHeightGets or sets a number that is multiplied by the computed height of a line to obtain the final height.  
Public PropertyMarginGets or sets the margin of a text element.  
Public PropertyMaxHeightGets or sets the max-height of this C1TextElement.  
Public PropertyMaxWidthGets or sets the max-width of this C1TextElement.  
Public PropertyMinHeightGets or sets the min-height of this C1TextElement.  
Public PropertyMinWidthGets or sets the min-width of this C1TextElement.  
Public PropertyNameGets or sets the name for this text element.  
Public PropertyNextSiblingGets the next sibling of this element, or null if this is the last child.  
Public PropertyPaddingGets or sets the padding of a text element.  
Public PropertyParentGets the parent of this element.  
Public PropertyPreviousSiblingGets the previous sibling of this element, or null if this is the first child.  
Public PropertyRootReturns the root element of this element's tree.  
Public PropertyStartTagReturns the StartTag of this C1TextElement.  
Public PropertyStyleReturns the style values for this C1TextElement.  
Public PropertyTextDecorationsGets or sets a collection of text decorations to apply to the content of the element.  
Public PropertyTextEffectGets or sets the System.Windows.Media.Effects.Effect applied to the text of this element.  
Public PropertyToolTipGets or sets the System.Windows.Controls.ToolTip displayed when the mouse is over this element.  
Public PropertyVerticalAlignmentGets or sets a value indicating how elements are aligned in a line.  
Public PropertyVisibilityGets or sets the visibility of this element.  
Public PropertyWidthGets or sets the width of this C1TextElement.  
Top
Public Methods
 NameDescription
Public MethodClearValueClears the value of style property in this C1TextElement.  
Public MethodCloneReturns a deep copy of this element.  
Public MethodCreateNewElementCreates a new C1TextElement with the same type as this.  
Public MethodEnumerateEnumerates the elements in the document in the specified direction.  
Public MethodEnumerateSubtreeEnumerates all elements in the sub tree where this element is root.  
Public MethodGetParentsReturns the list of parents from the root.  
Public MethodGetValue<T>Returns the value of a style property for this C1TextElement.  
Public MethodGroupGroups some of this C1TextElement children, all children in the specified range are added to the new parent, and the parent is inserted at the range start.  
Public MethodIsValidChildChecks whether a type is a valid child of this C1TextElement.  
Public MethodJoinSiblingJoins this element with its next sibling.  
Public MethodRemoveOverloaded. Removes a range of children in this element.  
Public MethodSetValue<T>Sets the value of a style property of this C1TextElement.  
Public MethodShallowCloneReturns a shallow copy of this element.  
Public MethodSplitOverloaded. Splits this C1TextElement at the specified offset into two elements of the same type with the same style properties.  
Public MethodUnGroupUngroups this C1TextElement, that is, this C1TextElement is removed, and all its children are added to its parent.  
Top
Public Events
 NameDescription
Public EventChildrenChangedFires when the children collection of this C1TextElement changes.  
Public EventTextChangedFires after a text change occurs in the sub tree where this element is root.  
Public EventTextChangingFires before a text change occurs in the sub tree where this element is root.  
Top
See Also

Reference

C1TextElement Class
C1.Silverlight.RichTextBox.Documents Namespace

 

 


Copyright (c) GrapeCity, inc. All rights reserved.