Class PictureBoxCanvasElement
Inheritance
System.Object
PictureBoxCanvasElement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class PictureBoxCanvasElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
PictureBoxCanvasElement(RadPictureBoxElement)
Declaration
public PictureBoxCanvasElement(RadPictureBoxElement owner)
Parameters
RadPictureBoxElement
owner
|
Properties
AllowBasePaint
Gets or sets a value indicating whether to paint the border, background, background image, text and other children. If false only the image/svg image/ of the owner element will be painted.
Declaration
public bool AllowBasePaint { get; set; }
Property Value
System.Boolean
|
Methods
GetDisplayedImage()
Declaration
public Image GetDisplayedImage()
Returns
System.Drawing.Image
|
GetImageScaledSize()
Declaration
public SizeF GetImageScaledSize()
Returns
System.Drawing.SizeF
|
GetOriginalImageSize()
Declaration
public Size GetOriginalImageSize()
Returns
System.Drawing.Size
|
GetScaledAndZoomedImageSize()
Declaration
public SizeF GetScaledAndZoomedImageSize()
Returns
System.Drawing.SizeF
|
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|