ImageOnly Class

Image only label.
Public Class ImageOnly 
Inherits Label
This language is not supported or no code example is available.
public class ImageOnly : Label
This language is not supported or no code example is available.
Name Description
Public property Alignment Gets or sets the label align mode. (inherited from Label).
Public property AnchorPoint Gets or sets the label anchor point. (inherited from Label).
Public property Color Gets or sets the label color. (inherited from Label).
Protected property DrawPosition
Public property HotSpot Gets or sets the image hotspot (the point of the image that is drawn at the Label.AnchorPoint position).
Public property Image Gets or sets the label image.
Public property ImageForSelection Gets or sets the image used when the label is selected.
Public property LabelData Gets or sets the label custom data. If the type implements ICloneable it will be cloned when the Label is cloned. (inherited from Label).
Public property OnScreenPosition Gets label position on screen. (inherited from Label).
Public property RegenMode Gets or sets the label regeneration mode. (inherited from Label).
Public property Selectable Gets or sets the value that tells if the item can be selected. (inherited from Label).
Public property Selected Gets or sets the label selection status. (inherited from Label).
Public property Size Gets the size of the label. (inherited from Label).
Public property Visible If false the label is not drawn. (inherited from Label).
Top
Methods
 
Name Description
Public method ClearSelectionForAllInstances() Clears the selection status. (inherited from Label).
Public method Clone() Creates a new object that is a copy of the current instance.
Protected method ComputePositions(float, float) (inherited from Label).
Internal protected (Protected Friend) method ComputePositionsGDI(float)
Protected method CreateSelectedBitmap(float) (inherited from Label).
Public method Dispose() Releases unmanaged resources.
Public method Draw(RenderContextBase) Standard draw method.
Internal protected (Protected Friend) method DrawForSelection(RenderContextBase)
Public method DrawGdi(float, float, Graphics) GDI draw method.
Protected method DrawLeaderLine(RenderContextBase, Vector2D) (inherited from Label).
Public method DrawSelected(RenderContextBase) Draw method for selected labels. (inherited from Label).
Protected method DrawTexture(RenderContextBase, TextureBase, RectangleF, bool) (inherited from Label).
Public method DrawWithOffset(RenderContextBase, int, int) Draws the label with an offset from attaching point. (inherited from Label).
Public method DrawWithOffsetGdi(float, float, float, Graphics) Draws (GDI) the label with an offset from attaching point. (inherited from Label).
Public method Equals(Object) 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).
Protected method GetBitmap() Gets the proper image according to current selection status. (inherited from Label).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Public method GetSelection(Stack<BlockReference>) Tells if the instance referred by the stack of parents is selected. (inherited from Label).
Protected method GetTexture(RenderContextBase) Gets the proper texture according to current selection status. (inherited from Label).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method IsAnyInstanceSelected() Tells if the label is selected. (inherited from Label).
Public method IsClipped(ClippingPlaneBase[]) Tells if a label is clipped by the clipping planes. (inherited from Label).
Public method IsSelected(Stack<BlockReference>) Obsolete. Tells if the instance referred by the stack of parents is selected. (inherited from Label).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Regen(RenderContextBase, float) Regenerates the label creating the internal data needed to draw the label. (inherited from Label).
Public method ScaleForDPI() Scales the element for high DPI settings. (inherited from Label).
Protected method SetImage(Bitmap) (inherited from Label).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method UpdatePos(RenderContextBase, double[], int[]) Update label position on screen. (inherited from Label).
Top
Fields
 
Name Description
Protected field bitmapImage (inherited from Label).
Protected field labelColor Label color. (inherited from Label).
Protected field selectedTexture (inherited from Label).
Protected field texture (inherited from Label).
Protected field userImageForSelection (inherited from Label).
Top

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition