ItemDrawInfo Class
Information for a single list item in a list field.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Diagrams.ItemDrawInfo
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Class ItemDrawInfo
public class ItemDrawInfo
public ref class ItemDrawInfo
type ItemDrawInfo = class end
public class ItemDrawInfo
The ItemDrawInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ItemDrawInfo | Initializes a new instance of the ItemDrawInfo class. |
Top
Properties
Name | Description | |
---|---|---|
AlternateFont | Gets or sets the desire to use the alternate font for this list item. | |
Disabled | Gets or sets the disabled state of the list item. | |
Image | Gets or sets the image for the list item. | |
ImageMargin | Gets or sets the image margin - the spacing between image and text - for the list item. | |
Indent | Gets or sets the margin from the left side of the list field to the left side of the item image (or item text if no image exists). | |
StringFormat | Gets or sets the StringFormat of this list item | |
Text | Gets or sets the text of the list item. |
Top
Methods
Name | Description | |
---|---|---|
Clear | Clears the item information. | |
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.) | |
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.