ItemDrawInfo Class

Information for a single list item in a list field.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.Diagrams.ItemDrawInfo

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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
Public method ItemDrawInfo Initializes a new instance of the ItemDrawInfo class.

Top

Properties

  Name Description
Public property AlternateFont Gets or sets the desire to use the alternate font for this list item.
Public property Disabled Gets or sets the disabled state of the list item.
Public property Image Gets or sets the image for the list item.
Public property ImageMargin Gets or sets the image margin - the spacing between image and text - for the list item.
Public property 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).
Public property StringFormat Gets or sets the StringFormat of this list item
Public property Text Gets or sets the text of the list item.

Top

Methods

  Name Description
Public method Clear Clears the item information.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace