CustomToolAttribute Class |
Namespace: Hummingbird.TestFramework.Extensibility
The CustomToolAttribute type exposes the following members.
Name | Description | |
---|---|---|
CustomToolAttribute | Initializes a new instance of the CustomToolAttribute class |
Name | Description | |
---|---|---|
EndColor |
Gets or sets the end point of the Background color of the Tile.
| |
Key |
Gets or sets the key of the Custom Tool, which will be used in the main menu.
| |
Name |
Gets or sets the Name of the of the current custom tool.
| |
StartColor |
Gets or sets the start point of the Background color of the Tile.
| |
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
UseGradientColor |
Gets or sets a value indicating whether to use gradient color for the ModernTile.
|
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDefaultAttribute | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
Match | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ToStringOrXml |
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.) | |
ToXmlString |
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.) |
Hummingbird application includes some tools such as base64 encoding, xPath validation and regular expression. The Integrated tools can be extended by using this attribute, tagged on a ModernContent class.
The ModernContent class will port the user interface and functionality of the tool, while the properties of this attribute determines how the tool will be displayed in a ModernTile element
You can also set an image used in the Tile, in this case, you should also tag an ImageSourceAttribute on the class.
Please note that resources will be loaded by Hummingbird. When using relative Uri, the resource will be searched in the Hummingbird Application assembly.
For more information and example, please follow the community project on Community Custom Tools