The Tool type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| Dispose |
Clean up any resources being used.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(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.
| |
| 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.
| |
| 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.
| |
| 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.
| |
| 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 Object..::.ToString()()().) |
Properties
| Name | Description | |
|---|---|---|
| Enabled |
Gets or sets a value indicating whether the Tool is enabled.
| |
| Font | ||
| FontSelected | ||
| ForeColor | ||
| ForeColorSelected | ||
| ImageAlignment | ||
| ImageIndex | ||
| 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.
|
Events
| Name | Description | |
|---|---|---|
| PropertyChanged |
Raised whenever a value of a property changes.
|