TextBlock Class |
Namespace: NeoAxis
public class TextBlock
The TextBlock type exposes the following members.
| Name | Description | |
|---|---|---|
| TextBlock |
It is applied only to creation root blocks. Not for creation of children.
|
| Name | Description | |
|---|---|---|
| Attributes |
Gets the attributes collection.
| |
| Children |
Gets the children collection.
| |
| Data |
Gets or set block string data.
| |
| Name |
Gets or set block name.
| |
| Parent |
Gets the parent block.
|
| Name | Description | |
|---|---|---|
| AddChild(TextBlock) |
Adds an already created child block.
| |
| AddChild(String, String) |
Creates the child block.
| |
| AttributeExists |
Checks existence of attribute.
| |
| DeleteAllAttributes |
Deletes all attributes.
| |
| DeleteAttribute |
Deletes attribute if he exists.
| |
| DeleteChild |
Deletes child block.
| |
| DumpToString |
Returns a string containing all data about the block and his children.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindChild |
Finds child block by name.
| |
| GetAttribute |
Returns the attribute value by name.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Parse |
Parses the text with data of the block and his children.
| |
| SetAttribute |
Sets attribute. If such already there is that rewrites him.
| |
| ToString |
Returns a string that represents the current text block.
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |