public class Tool : INotifyPropertyChanged, IDisposablePublic Class Tool
Implements INotifyPropertyChanged, IDisposable| Tool | Initializes a new instance of Tool class. |
| Enabled | Gets or sets a value indicating whether the Tool is enabled. |
| Font | Gets or sets the Font which should be used to draw the Text |
| FontHighlighted | Gets or sets the Font which should be used to draw the Text when tool is highlighted. |
| FontSelected | Gets or sets the Font which should be used to draw the Text when tool is selected |
| ForeColor | Gets or sets the Color used to draw the Text. |
| ForeColorHighlighted | Gets or sets the Color used to draw the Text when tool is highlighted. |
| ForeColorSelected | Gets or sets the Color used to draw the Text when tool is selected. |
| ImageAlignment | Specifies the Alignment of an image in the Tool. |
| ImageHighlightedIndex | Gets or sets the index of image which will be painted over this Tool, when highlighted. |
| ImageIndex | Gets or sets index to Images of an image which will be displayed over this Tool (button). |
| ImageMargins | Gets or sets the Marginsfor an image. |
| ImageSelectedIndex | Gets or sets the index of image which will be painted over this Tool. |
| StretchImage | Gets or sets a value indicating whether the image assigned to this Tool should be stretched to fully accommodate the rectangle designated for it. |
| Tag | User defined data. |
| Text | Gets or sets the text label associated with this Tool. |
| TextAlignment | Gets or sets how the Text should be aligned within its rectangle. |
| TextMargins | Gets or sets the size of text margins. |
| Dispose | Clean up any resources being used by this class. |
| Dispose(Boolean) | Disposes resources used by this class. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize |
Destructor for the class - invokes Dispose(Boolean) with
false parameter.
(Overrides ObjectFinalize) |
| 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) |
| OnPropertyChanged | Fires the PropertyChanged event. |
| ResetImageMargins | Resets ImageMargins property. |
| ResetTextMargins | Resets TextMargins property. |
| ShouldSerializeEnabled | Indicates whether the Enabled property should be serialized by Visual Studio designer. |
| ShouldSerializeFont | Indicates whether the Font property should be serialized by Visual Studio designer. |
| ShouldSerializeFontHighlighted | Indicates whether the FontHighlighted property should be serialized by Visual Studio designer. |
| ShouldSerializeFontSelected | Indicates whether the FontSelected property should be serialized by Visual Studio designer. |
| ShouldSerializeForeColor | Indicates whether the ForeColor property should be serialized by Visual Studio designer. |
| ShouldSerializeForeColorHighlighted | Indicates whether the ForeColorHighlighted property should be serialized by Visual Studio designer. |
| ShouldSerializeForeColorSelected | Indicates whether the ForeColorSelected property should be serialized by Visual Studio designer. |
| ShouldSerializeImageAlignment | Indicates whether the ImageAlignment property should be serialized by Visual Studio designer. |
| ShouldSerializeImageHighlightedIndex | Indicates whether the ImageSelectedIndex property should be serialized by Visual Studio designer. |
| ShouldSerializeImageIndex | Indicates whether the ImageIndex property should be serialized by Visual Studio designer. |
| ShouldSerializeImageSelectedIndex | Indicates whether the ImageSelectedIndex property should be serialized by Visual Studio designer. |
| ShouldSerializeStretchImage | Indicates whether the StretchImage property should be serialized by Visual Studio designer. |
| ShouldSerializeTag | Indicates whether the Tag property should be serialized by Visual Studio designer. |
| ShouldSerializeText | Indicates whether the Text property should be serialized by Visual Studio designer. |
| ShouldSerializeTextAlignment | Indicates whether the TextAlignment property should be serialized by Visual Studio designer. |
| ToString |
Returns a System.String that represents the current System.Object.
(Overrides ObjectToString) |
| PropertyChanged | Raised whenever a value of a property changes. |