Click or drag to resize

TextBlock Methods

The TextBlock type exposes the following members.

Methods
 NameDescription
Public methodAddChild(TextBlock) Adds an already created child block.
Public methodAddChild(String, String) Creates the child block.
Public methodAttributeExists Checks existence of attribute.
Public methodDeleteAllAttributes Deletes all attributes.
Public methodDeleteAttribute Deletes attribute if he exists.
Public methodDeleteChild Deletes child block.
Public methodCode exampleDumpToString Returns a string containing all data about the block and his children.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFindChild Finds child block by name.
Public methodGetAttribute Returns the attribute value by name.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberCode exampleParse Parses the text with data of the block and his children.
Public methodSetAttribute Sets attribute. Replaces previous when already exists with the same name.
Public methodToString Returns a string that represents the current text block.
(Overrides ObjectToString)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also