menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ImagePrimitive - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ImagePrimitive

    Represents an image primitive.

    Inheritance
    System.Object
    Primitive
    ImagePrimitive
    Implements
    System.ICloneable
    Inherited Members
    Primitive.Alignment
    Primitive.AlignmentChanged
    Primitive.BackColor
    Primitive.BackColorChanged
    Primitive.BorderColor
    Primitive.BorderColorChanged
    Primitive.BoundsChanged
    Primitive.c_primitiveSize
    Primitive.ClientRect
    Primitive.Draw(Graphics)
    Primitive.DrawBorder(Graphics, PrimitiveBorderStyle)
    Primitive.DrawSelectedBorder(Graphics)
    Primitive.GetCenter()
    Primitive.Invalidate()
    Primitive.MouseDown
    Primitive.MouseMove
    Primitive.OnBackColorChanged()
    Primitive.OnBorderColorChanged()
    Primitive.OnBoundsChanged()
    Primitive.OnMouseDown(MouseEventArgs)
    Primitive.OnMouseMove(MouseEventArgs)
    Primitive.OnOwnerControlChanged()
    Primitive.OnPositionChanged()
    Primitive.OnPrimitiveBorderStyleChanged()
    Primitive.OnSelectedChanged()
    Primitive.OnSizeChanged()
    Primitive.OnVisibleChanged()
    Primitive.OwnerControlChanged
    Primitive.Position
    Primitive.PositionChanged
    Primitive.PrimitiveBorderStyle
    Primitive.PrimitiveBorderStyleChanged
    Primitive.PropertyChanged
    Primitive.Size
    Primitive.SizeChanged
    Primitive.ToString()
    Primitive.Visible
    Primitive.VisibleChanged
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class ImagePrimitive : Primitive, ICloneable

    Constructors

    ImagePrimitive()

    Declaration
    public ImagePrimitive()

    ImagePrimitive(GradientPanelExt)

    Declaration
    public ImagePrimitive(GradientPanelExt owner)
    Parameters
    Type Name Description
    GradientPanelExt owner

    ImagePrimitive(Image, GradientPanelExt)

    Declaration
    public ImagePrimitive(Image image, GradientPanelExt owner)
    Parameters
    Type Name Description
    System.Drawing.Image image
    GradientPanelExt owner

    ImagePrimitive(Size, Image, GradientPanelExt)

    Declaration
    public ImagePrimitive(Size size, Image image, GradientPanelExt owner)
    Parameters
    Type Name Description
    System.Drawing.Size size
    System.Drawing.Image image
    GradientPanelExt owner

    Properties

    Image

    Gets or set displayed image.

    Declaration
    public Image Image { get; set; }
    Property Value
    Type
    System.Drawing.Image

    Rotate

    Gets or sets a value indicating whether the primitive is rotated.

    Declaration
    public bool Rotate { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    Clone()

    Declaration
    public override object Clone()
    Returns
    Type
    System.Object
    Overrides
    Primitive.Clone()

    DrawBackground(Graphics)

    Declaration
    protected override void DrawBackground(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    Overrides
    Primitive.DrawBackground(Graphics)

    OnAlignmentChanged()

    Declaration
    protected override void OnAlignmentChanged()
    Overrides
    Primitive.OnAlignmentChanged()

    OnImageChanged()

    Declaration
    protected virtual void OnImageChanged()

    OnRotateChanged()

    Declaration
    protected virtual void OnRotateChanged()

    Events

    ImageChanged

    Raise by OnImageChanged() method.

    Declaration
    public event EventHandler ImageChanged
    Event Type
    Type
    System.EventHandler

    RotateChanged

    Raise by OnRotateChanged() method.

    Declaration
    public event EventHandler RotateChanged
    Event Type
    Type
    System.EventHandler

    Implements

    System.ICloneable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved