The SimpleLabel type exposes the following members.

Constructors

  NameDescription
Public methodSimpleLabel(ILabelModelParameter, String)
Initializes a new instance of the SimpleLabel class using the provided parameter and text.
Public methodSimpleLabel(ILookup, ILabelModelParameter, String)
Initializes a new instance of the SimpleLabel class using the provided lookup, parameter, and text.

Methods

  NameDescription
Public methodAdoptPreferredSizeFromStyle
Gets the GetPreferredSize(ILabel, ILabelStyle) from the labels style and sets the PreferredSize to that value.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLookup
Returns the currently set ILookup delegate.
(Inherited from AbstractModelItem.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLookup
Simple lookup implementation that delegates to the current lookup delegate if it is available. Otherwise returns this if this is assignable to the provided type.
(Overrides AbstractModelItem..::..Lookup(Type).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetLookupImplementation
Sets the ILookup implementation used for Lookup(Type) calls on this instance.
(Inherited from AbstractModelItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodGet<(Of <<'(T>)>>)
Typesafe convenience method for the Lookup(Type) method.
(Defined by LookupExtensions.)
Public Extension MethodGetIndex
Gets the index of the label at its Owner.
(Defined by GraphExtensions.)
Public Extension MethodSafeGet<(Of <<'(T>)>>)
Typesafe convenience method for the Lookup(Type) method.
(Defined by LookupExtensions.)

Properties

  NameDescription
Public propertyLabelModelParameter
Gets the label model's parameter that determines the positioning of this label.
Public propertyLayout
Provides access to the layout of a label.
Public propertyOwner
Gets the owner of this label.
Public propertyPreferredSize
Gets the preferred size of the label with respect to its current contents and the implementation of the visualization.
Public propertyStyle
Returns the style that is responsible for the visual representation of this node in a CanvasControl.
Public propertyTag
Gets or sets the tag associated with this instance.
(Inherited from AbstractModelItem.)
Public propertyText
Gets the text string associated with this label.

See Also