PenDescriptor Class

 

PenDescriptor class holds the PenStyleSetInfo for a class and an instance of the Pen described by that info (if it's already been created). The PenDescriptor is what gets cached for later use.

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

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.PenDescriptor

public class PenDescriptor

NameDescription
System_CAPS_pubmethodPenDescriptor(PenStyleSetInfo)

Constructor that creates a descriptor based on a specified PenStyleSetInfo.

NameDescription
System_CAPS_pubpropertyPen

Gets a cloned instance of the Pen defined by this descriptor. If the pen has not been previously created, it creates it first. This is a singleton. Do not dispose - this will crash! Use immediately.

System_CAPS_pubpropertyPenStyleSetInfo

Gets the Pen information for this descriptor.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: