skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadPictureBoxElement

This class is used to display raster or vector images. It allows image scrolling as well as pan, zoom, image editing and many more.

Inheritance
System.Object
DisposableObject
RadObject
RadElement
VisualElement
RadComponentElement
RadItem
UIItemBase
LightVisualElement
RadPictureBoxElement
Inherited Members
LightVisualElement.BackgroundImageProperty
LightVisualElement.BackgroundImageLayoutProperty
LightVisualElement.BackColor2Property
LightVisualElement.BackColor3Property
LightVisualElement.BackColor4Property
LightVisualElement.BorderBottomColorProperty
LightVisualElement.BorderBottomShadowColorProperty
LightVisualElement.BorderBottomWidthProperty
LightVisualElement.BorderBoxStyleProperty
LightVisualElement.BorderColorProperty
LightVisualElement.BorderColor2Property
LightVisualElement.BorderColor3Property
LightVisualElement.BorderColor4Property
LightVisualElement.BorderDashStyleProperty
LightVisualElement.BorderDashPatternProperty
LightVisualElement.BorderDrawModeProperty
LightVisualElement.BorderGradientAngleProperty
LightVisualElement.BorderGradientStyleProperty
LightVisualElement.BorderInnerColorProperty
LightVisualElement.BorderInnerColor2Property
LightVisualElement.BorderInnerColor3Property
LightVisualElement.BorderInnerColor4Property
LightVisualElement.BorderLeftColorProperty
LightVisualElement.BorderLeftShadowColorProperty
LightVisualElement.BorderLeftWidthProperty
LightVisualElement.BorderRightColorProperty
LightVisualElement.BorderRightShadowColorProperty
LightVisualElement.BorderRightWidthProperty
LightVisualElement.BorderTopColorProperty
LightVisualElement.BorderTopShadowColorProperty
LightVisualElement.BorderTopWidthProperty
LightVisualElement.BorderWidthProperty
LightVisualElement.ClipTextProperty
LightVisualElement.DisabledTextRenderingHintProperty
LightVisualElement.DrawBorderProperty
LightVisualElement.DrawFillProperty
LightVisualElement.DrawTextProperty
LightVisualElement.DrawBackgroundImageProperty
LightVisualElement.DrawImageProperty
LightVisualElement.EnableImageTransparencyProperty
LightVisualElement.GradientAngleProperty
LightVisualElement.GradientPercentageProperty
LightVisualElement.GradientPercentage2Property
LightVisualElement.GradientStyleProperty
LightVisualElement.HorizontalLineColorProperty
LightVisualElement.HorizontalLineWidthProperty
LightVisualElement.ImageAlignmentProperty
LightVisualElement.ImageIndexProperty
LightVisualElement.ImageKeyProperty
LightVisualElement.ImageLayoutProperty
LightVisualElement.ImageOpacityProperty
LightVisualElement.ImageProperty
LightVisualElement.ImageTransparentColorProperty
LightVisualElement.NumberOfColorsProperty
LightVisualElement.ShowHorizontalLineProperty
LightVisualElement.SvgImageProperty
LightVisualElement.TextAlignmentProperty
LightVisualElement.TextImageRelationProperty
LightVisualElement.TextWrapProperty
LightVisualElement.TextRenderingHintProperty
LightVisualElement.GetBorderThickness(LightVisualElement, Boolean)
LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)
LightVisualElement.GetImageDrawTypeLocalValue()
LightVisualElement.MapStyleProperty(RadProperty, String)
LightVisualElement.GetStylablePropertiesFilter()
LightVisualElement.GetPaintingBorderWidth()
LightVisualElement.OnBitStateChanged(Int64, Boolean, Boolean)
LightVisualElement.GetAsBitmapEx(Color, Single, SizeF)
LightVisualElement.GetClipRect()
LightVisualElement.PaintElement(IGraphics, Single, SizeF)
LightVisualElement.PaintText(IGraphics)
LightVisualElement.PaintTextCore(IGraphics)
LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)
LightVisualElement.DrawHorizontalLine(IGraphics)
LightVisualElement.PaintImage(IGraphics)
LightVisualElement.PaintSvgImage(IGraphics)
LightVisualElement.PaintBackgroundImage(IGraphics)
LightVisualElement.PaintContent(IGraphics)
LightVisualElement.AnimateImage(Image, Boolean)
LightVisualElement.ClipImage(Image, Rectangle, Size)
LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)
LightVisualElement.MeasureElements(SizeF, SizeF, Padding)
LightVisualElement.ArrangeElement(RadElement, SizeF)
LightVisualElement.GetClientOffset(Boolean)
LightVisualElement.GetBorderThickness(Boolean)
LightVisualElement.GetClientRectangle(Boolean, SizeF)
LightVisualElement.GetClientRectangle(SizeF)
LightVisualElement.GetTextAlignment(ContentAlignment)
LightVisualElement.GetTextAlignment()
LightVisualElement.OnLoaded()
LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)
LightVisualElement.ToggleTextPrimitive(RadProperty)
LightVisualElement.OnAnimatedImageFrameChanged()
LightVisualElement.GetFaceRectangle()
LightVisualElement.CreateTextParams()
LightVisualElement.PaintPrimitive(IGraphics, Single, SizeF, TextParams)
LightVisualElement.PaintPrimitive(IGraphics, TextParams)
LightVisualElement.MeasureOverride(SizeF, TextParams)
LightVisualElement.OnMouseMove(Object, MouseEventArgs)
LightVisualElement.GetTextSize(SizeF, TextParams)
LightVisualElement.GetTextSize(TextParams)
LightVisualElement.TextRenderingHint
LightVisualElement.DisabledTextRenderingHint
LightVisualElement.ShouldPaint
LightVisualElement.CanFocus
LightVisualElement.DrawText
LightVisualElement.DrawFill
LightVisualElement.DrawBorder
LightVisualElement.CheckDrawBorderOnMeasure
LightVisualElement.DrawBackgroundImage
LightVisualElement.DrawImage
LightVisualElement.BorderBoxStyle
LightVisualElement.BorderDrawMode
LightVisualElement.BorderWidth
LightVisualElement.BorderLeftWidth
LightVisualElement.BorderTopWidth
LightVisualElement.BorderRightWidth
LightVisualElement.BorderBottomWidth
LightVisualElement.BorderGradientAngle
LightVisualElement.BorderGradientStyle
LightVisualElement.BorderColor
LightVisualElement.BorderColor2
LightVisualElement.BorderColor3
LightVisualElement.BorderColor4
LightVisualElement.BorderInnerColor
LightVisualElement.BorderInnerColor2
LightVisualElement.BorderInnerColor3
LightVisualElement.BorderInnerColor4
LightVisualElement.BackColor2
LightVisualElement.BackColor3
LightVisualElement.BackColor4
LightVisualElement.NumberOfColors
LightVisualElement.GradientStyle
LightVisualElement.GradientAngle
LightVisualElement.GradientPercentage
LightVisualElement.GradientPercentage2
LightVisualElement.BackgroundImage
LightVisualElement.Image
LightVisualElement.ImageIndex
LightVisualElement.ImageKey
LightVisualElement.ImageLayout
LightVisualElement.BackgroundImageLayout
LightVisualElement.ImageOpacity
LightVisualElement.TextAlignment
LightVisualElement.TextImageRelation
LightVisualElement.ShowHorizontalLine
LightVisualElement.HorizontalLineColor
LightVisualElement.HorizontalLineWidth
LightVisualElement.DisableHTMLRendering
LightVisualElement.TextBlock
LightVisualElement.BorderLeftColor
LightVisualElement.BorderTopColor
LightVisualElement.BorderRightColor
LightVisualElement.BorderBottomColor
LightVisualElement.BorderLeftShadowColor
LightVisualElement.BorderTopShadowColor
LightVisualElement.BorderRightShadowColor
LightVisualElement.BorderBottomShadowColor
LightVisualElement.ClipText
LightVisualElement.Layout
LightVisualElement.ImageTransparentColor
LightVisualElement.BorderDashStyle
LightVisualElement.BorderDashPattern
LightVisualElement.EnableImageTransparency
LightVisualElement.SvgImage
LightVisualElement.SvgImageXml
LightVisualElement.ImageDrawType
LightVisualElement.Shadow
LightVisualElement.AutoEllipsis
LightVisualElement.UseMnemonic
LightVisualElement.TextWrap
LightVisualElement.ShowKeyboardCues
LightVisualElement.MeasureTrailingSpaces
LightVisualElement.TextParams
UIItemBase.PaintFill(IGraphics, Single, SizeF)
UIItemBase.GetFillPaintRect(Single, SizeF)
UIItemBase.PaintFill(IGraphics, Single, SizeF, RectangleF)
UIItemBase.PaintBorder(IGraphics, Single, SizeF)
UIItemBase.PaintBorder(IGraphics, Single, SizeF, RectangleF)
UIItemBase.GetBorderPaintRect(Single, SizeF)
UIItemBase.ShouldUsePaintBuffer()
UIItemBase.IPrimitiveElement.ShouldUsePaintBuffer()
UIItemBase.IPrimitiveElement.GetPaintRectangle(Single, Single, SizeF)
UIItemBase.IPrimitiveElement.GetExactPaintingRectangle(Single, SizeF)
UIItemBase.IShapedElement.GetCurrentShape()
UIItemBase.IPrimitiveElement.IsDesignMode
UIItemBase.IPrimitiveElement.BorderThickness
UIItemBase.IBorderElement.ForeColor
UIItemBase.IBorderElement.ForeColor2
UIItemBase.IBorderElement.ForeColor3
UIItemBase.IBorderElement.ForeColor4
UIItemBase.IBorderElement.InnerColor
UIItemBase.IBorderElement.InnerColor2
UIItemBase.IBorderElement.InnerColor3
UIItemBase.IBorderElement.InnerColor4
UIItemBase.IBorderElement.BoxStyle
UIItemBase.IBorderElement.GradientStyle
UIItemBase.IBorderElement.GradientAngle
UIItemBase.IBoxStyle.LeftColor
UIItemBase.IBoxStyle.LeftShadowColor
UIItemBase.IBoxStyle.TopColor
UIItemBase.IBoxStyle.TopShadowColor
UIItemBase.IBoxStyle.RightColor
UIItemBase.IBoxStyle.RightShadowColor
UIItemBase.IBoxStyle.BottomColor
UIItemBase.IBoxStyle.BottomShadowColor
UIItemBase.IBoxElement.Width
UIItemBase.IBoxElement.LeftWidth
UIItemBase.IBoxElement.TopWidth
UIItemBase.IBoxElement.RightWidth
UIItemBase.IBoxElement.BottomWidth
UIItemBase.IBoxElement.Offset
UIItemBase.IBoxElement.BorderSize
UIItemBase.IBoxElement.HorizontalWidth
UIItemBase.IBoxElement.VerticalWidth
RadItem.KeyDownEvent
RadItem.KeyPressEvent
RadItem.KeyUpEvent
RadItem.FocusCommand
RadItem.ActionCommand
RadItem.RadItemLastStateKey
RadItem.UseDefaultDisabledPaintProperty
RadItem.TextProperty
RadItem.TextOrientationProperty
RadItem.FlipTextProperty
RadItem.StringAlignmentProperty
RadItem.IsAddNewItemProperty
RadItem.ToolTipTextProperty
RadItem.EnableElementShadowProperty
RadItem.ShadowDepthProperty
RadItem.ShadowColorProperty
RadItem.IsPaintingRipple
RadItem.EnableRippleAnimationProperty
RadItem.RippleAnimationColorProperty
RadItem.EnableFocusBorderProperty
RadItem.FocusBorderColorProperty
RadItem.FocusBorderWidthProperty
RadItem.EnableFocusBorderAnimationProperty
RadItem.EnableHighlightProperty
RadItem.HighlightColorProperty
RadItem.EnableBorderHighlightProperty
RadItem.BorderHighlightColorProperty
RadItem.BorderHighlightThicknessProperty
RadItem.VisualStateProperty
RadItem.SetOwnerCollection(RadItemOwnerCollection)
RadItem.Select()
RadItem.OnSelect()
RadItem.Deselect()
RadItem.OnDeselect()
RadItem.DoKeyDown(KeyEventArgs)
RadItem.DoKeyPress(KeyPressEventArgs)
RadItem.DoKeyUp(KeyEventArgs)
RadItem.OnKeyDown(KeyEventArgs)
RadItem.OnKeyPress(KeyPressEventArgs)
RadItem.OnKeyUp(KeyEventArgs)
RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)
RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)
RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)
RadItem.OnTextChanging(TextChangingEventArgs)
RadItem.OnTextChanged(EventArgs)
RadItem.OnTextOrientationChanged(EventArgs)
RadItem.OnFlipTextChanged(EventArgs)
RadItem.PaintOverride(IGraphics, Rectangle, Single, SizeF, Boolean)
RadItem.OnMouseLeave(EventArgs)
RadItem.StartRippleAnimation(MouseEventArgs)
RadItem.UpdateFocusBorder(Boolean)
RadItem.ContainsText()
RadItem.ProcessDialogKey(Keys)
RadItem.ProcessCmdKey(Message, Keys)
RadItem.ProcessMnemonic(Char)
RadItem.CallRaiseKeyDown(KeyEventArgs)
RadItem.RaiseKeyDown(KeyEventArgs)
RadItem.CallRaiseKeyPress(KeyPressEventArgs)
RadItem.RaiseKeyPress(KeyPressEventArgs)
RadItem.CallRaiseKeyUp(KeyEventArgs)
RadItem.RaiseKeyUp(KeyEventArgs)
RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadItem.CallOnGesture(GestureEventArgs)
RadItem.OnGesture(GestureEventArgs)
RadItem.OnTwoFingerTapGesture(GestureEventArgs)
RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadItem.OnPanGesture(PanGestureEventArgs)
RadItem.OnRotateGesture(RotateGestureEventArgs)
RadItem.ISupportDrag.CanDrag(Point)
RadItem.CanDragCore(Point)
RadItem.ISupportDrag.GetDataContext()
RadItem.GetDragContextCore()
RadItem.ISupportDrag.GetDragHint()
RadItem.GetDragHintCore()
RadItem.ISupportDrop.DragDrop(Point, ISupportDrag)
RadItem.ProcessDragDrop(Point, ISupportDrag)
RadItem.ISupportDrop.DragOver(Point, ISupportDrag)
RadItem.ProcessDragOver(Point, ISupportDrag)
RadItem.ISupportDrop.DragEnter(Point, ISupportDrag)
RadItem.ProcessDragEnter(Point, ISupportDrag)
RadItem.ISupportDrop.DragLeave(Point, ISupportDrag)
RadItem.ProcessDragLeave(Point, ISupportDrag)
RadItem.IShortcutProvider.OnShortcut(ShortcutEventArgs)
RadItem.IShortcutProvider.OnPartialShortcut(PartialShortcutEventArgs)
RadItem.IShortcutProvider.OnShortcutsChanged()
RadItem.UpdateOnShortcutsChanged()
RadItem.CanHandleShortcut(ShortcutEventArgs)
RadItem.IsOnActiveForm(Control, Boolean)
RadItem.SetThemeValueOverride(RadProperty, Object, String)
RadItem.SetThemeValueOverride(RadProperty, Object, String, String)
RadItem.SetThemeValueOverride(RadProperty, Object, String, Type)
RadItem.ResetThemeValueOverride(RadProperty)
RadItem.ResetThemeValueOverride(RadProperty, String)
RadItem.ResetThemeValueOverrides()
RadItem.SuspendApplyOfThemeSettings()
RadItem.ResumeApplyOfThemeSettings()
RadItem.GetAvailableVisualStates()
RadItem.ShouldFallbackToDefaultTheme()
RadItem.UseDefaultDisabledPaint
RadItem.TextOrientation
RadItem.FlipText
RadItem.CanHaveOwnStyle
RadItem.Text
RadItem.Selectable
RadItem.DesignTimeAllowDrop
RadItem.DesignTimeAllowDrag
RadItem.DefaultAutoToolTip
RadItem.ShouldHandleMouseInput
RadItem.KeyTip
RadItem.ParentItem
RadItem.CommandBinding
RadItem.ShortcutsHandler
RadItem.EnableElementShadow
RadItem.ShadowDepth
RadItem.ShadowColor
RadItem.EnableRippleAnimation
RadItem.RippleAnimationColor
RadItem.EnableFocusBorder
RadItem.FocusBorderColor
RadItem.FocusBorderWidth
RadItem.EnableFocusBorderAnimation
RadItem.EnableHighlight
RadItem.HighlightColor
RadItem.EnableBorderHighlight
RadItem.BorderHighlightColor
RadItem.BorderHighlightThickness
RadItem.MnemonicText
RadItem.SerializeProperties
RadItem.ToolTipText
RadItem.ThemeRole
RadItem.VisualState
RadItem.StateManager
RadItem.AllowDrag
RadItem.AllowDrop
RadItem.Shortcuts
RadItem.AccessibleDescription
RadItem.AccessibleName
RadItem.AccessibleRole
RadItem.IStylableElement.VisualState
RadItem.IStylableElement.ThemeRole
RadItem.IStylableElement.FallbackToDefaultTheme
RadItem.ContainsMnemonic
RadItem.EnableAnalytics
RadItem.TextChanging
RadItem.TextChanged
RadItem.TextOrientationChanged
RadItem.FlipTextChanged
RadItem.QueryAccessibilityHelp
RadItem.KeyDown
RadItem.KeyPress
RadItem.KeyUp
RadItem.ZoomGesture
RadItem.RotateGesture
RadItem.PanGesture
RadItem.TwoFingerTapGesture
RadItem.PressAndTapGesture
RadComponentElement.ComponentElementLastStateKey
RadComponentElement.ToString()
RadComponentElement.GetService(Type)
RadComponentElement.CanRaiseEvents
RadComponentElement.Container
RadComponentElement.DesignMode
RadComponentElement.IsDesignMode
RadComponentElement.Site
RadComponentElement.DataBindings
VisualElement.DefaultSizeProperty
VisualElement.ForeColorProperty
VisualElement.BackColorProperty
VisualElement.FontProperty
VisualElement.SmoothingModeProperty
VisualElement.OpacityProperty
VisualElement.CustomFontProperty
VisualElement.CustomFontSizeProperty
VisualElement.CustomFontStyleProperty
VisualElement.OnFontChanged(EventArgs)
VisualElement.PaintChildren(IGraphics, Rectangle, Single, SizeF, Boolean)
VisualElement.PrePaintElement(IGraphics)
VisualElement.PostPaintElement(IGraphics)
VisualElement.GetScaledFont(Single)
VisualElement.GetScaledFont(Single, Font)
VisualElement.DefaultSize
VisualElement.ForeColor
VisualElement.BackColor
VisualElement.Font
VisualElement.CustomFont
VisualElement.CustomFontSize
VisualElement.CustomFontStyle
VisualElement.SmoothingMode
VisualElement.Opacity
VisualElement.FontChanged
RadElement.BoundsProperty
RadElement.BorderThicknessProperty
RadElement.PaddingProperty
RadElement.MarginProperty
RadElement.AlignmentProperty
RadElement.AutoSizeModeProperty
RadElement.FitToSizeModeProperty
RadElement.MinSizeProperty
RadElement.EnabledProperty
RadElement.CanFocusProperty
RadElement.IsItemFocusedProperty
RadElement.IsFocusedProperty
RadElement.IsMouseOverProperty
RadElement.IsMouseOverElementProperty
RadElement.IsMouseDownProperty
RadElement.ShouldPaintProperty
RadElement.VisibilityProperty
RadElement.NameProperty
RadElement.ClassProperty
RadElement.ClipDrawingProperty
RadElement.ShapeProperty
RadElement.MouseClickedEvent
RadElement.MouseDoubleClickedEvent
RadElement.MouseDownEvent
RadElement.MouseUpEvent
RadElement.MouseWheelEvent
RadElement.ChildElementAddedEvent
RadElement.ParentChangedEvent
RadElement.BoundsChangedEvent
RadElement.VisibilityChangingEvent
RadElement.EnabledChangedEvent
RadElement.ControlChangedEvent
RadElement.BackgroundShapeProperty
RadElement.BackgroundShapePaintModeProperty
RadElement.ContainsFocusProperty
RadElement.ContainsMouseProperty
RadElement.IsEditedInSpyProperty
RadElement.MaxSizeProperty
RadElement.RightToLeftProperty
RadElement.AutoSizeProperty
RadElement.ZIndexProperty
RadElement.AngleTransformProperty
RadElement.ScaleTransformProperty
RadElement.PositionOffsetProperty
RadElement.TagProperty
RadElement.StretchHorizontallyProperty
RadElement.StretchVerticallyProperty
RadElement.UseCompatibleTextRenderingProperty
RadElement.ClickModeProperty
RadElement.styleVersion
RadElement.paintSystemSkin
RadElement.TraceInvalidation
RadElement.SetPropertyValueCommand
RadElement.GetPropertyValueCommand
RadElement.RadElementLastStateKey
RadElement.StyleProperty
RadElement.CallCreateChildElements()
RadElement.SuspendReferenceUpdate()
RadElement.ResumeReferenceUpdate()
RadElement.OnLoad(Boolean)
RadElement.CallOnLoad(Boolean)
RadElement.LoadCore()
RadElement.OnUnload(ComponentThemableElementTree, Boolean)
RadElement.UnloadCore(ComponentThemableElementTree)
RadElement.OnUnloaded(ComponentThemableElementTree)
RadElement.OnElementTreeChanged(ComponentThemableElementTree)
RadElement.OnBeginDispose()
RadElement.SetParent(RadElement)
RadElement.UpdateReferences(ComponentThemableElementTree, Boolean, Boolean)
RadElement.SetIsDesignMode(Boolean, Boolean)
RadElement.ChangeCollection(RadElement, ItemsChangeOperation)
RadElement.ResetLayout(Boolean)
RadElement.HasInvisibleAncestor()
RadElement.ResetLayoutCore()
RadElement.InvalidateArrange()
RadElement.InvalidateArrange(Boolean)
RadElement.InvalidateMeasure()
RadElement.InvalidateMeasure(Boolean)
RadElement.UpdateLayout()
RadElement.SuspendLayout()
RadElement.SuspendLayout(Boolean)
RadElement.ResumeLayout(Boolean)
RadElement.ResumeLayout(Boolean, Boolean)
RadElement.Arrange(RectangleF)
RadElement.Measure(SizeF)
RadElement.SetBounds(Rectangle)
RadElement.SetBounds(Int32, Int32, Int32, Int32)
RadElement.GetBoundingRectangle(Size)
RadElement.GetBoundingRectangle(Rectangle)
RadElement.GetDesiredSize(Boolean)
RadElement.PointToScreen(Point)
RadElement.PointFromScreen(Point)
RadElement.PointToControl(Point)
RadElement.PointFromControl(Point)
RadElement.LocationToControl()
RadElement.RectangleToScreen(Rectangle)
RadElement.HitTest(Point)
RadElement.CallOnRenderSizeChanged(SizeChangedInfo)
RadElement.OnRenderSizeChanged(SizeChangedInfo)
RadElement.OnChildDesiredSizeChanged(RadElement)
RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)
RadElement.ArrangeCore(RectangleF)
RadElement.MeasureCore(SizeF)
RadElement.ShouldMeasureChild(RadElement)
RadElement.MeasureChildren(SizeF)
RadElement.GetArrangeRect(RectangleF)
RadElement.CanExecuteLayoutOperation()
RadElement.CalcLayoutOffset(PointF)
RadElement.LockBounds()
RadElement.UnlockBounds()
RadElement.SetBoundsCore(Rectangle)
RadElement.IsInValidState(Boolean)
RadElement.GetScrollingOffset()
RadElement.Invalidate()
RadElement.Invalidate(Boolean)
RadElement.GetInvalidateBounds()
RadElement.NotifyInvalidate(RadElement)
RadElement.OnTransformationInvalidated()
RadElement.InvalidateTransformations()
RadElement.PerformLayoutTransformation(RadMatrix)
RadElement.PerformPaintTransformation(RadMatrix)
RadElement.IsInGetAsBitmap()
RadElement.PaintElementSkin(IGraphics)
RadElement.Paint(IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintBackgroundShape(IGraphics)
RadElement.PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
RadElement.PaintChild(RadElement, IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintShadow(RadElement, IGraphics)
RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)
RadElement.GetShadowRect(Rectangle, Int32)
RadElement.PaintFocusCues(IGraphics, Rectangle)
RadElement.GetAsBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Rectangle, Brush, Single, SizeF)
RadElement.GetAsBitmapEx(Brush, Single, SizeF)
RadElement.GetAsBitmap(Brush, Single, SizeF)
RadElement.IsInVisibleClipBounds(Rectangle)
RadElement.SetClipping(Graphics)
RadElement.ShouldPaintChild(RadElement)
RadElement.GetFocusRect()
RadElement.GetCurrentShape()
RadElement.GetPaintRectangle(Single, Single, SizeF)
RadElement.GetPatchedRect(RectangleF, Single, SizeF)
RadElement.GetXPVisualStyle()
RadElement.GetVistaVisualStyle()
RadElement.InitializeSystemSkinPaint()
RadElement.UnitializeSystemSkinPaint()
RadElement.GetSystemSkinPaintBounds()
RadElement.OnUseSystemSkinChanged(EventArgs)
RadElement.ShouldPaintSystemSkin()
RadElement.ComposeShouldPaintSystemSkin()
RadElement.ResetStyleSettings(Boolean)
RadElement.ResetStyleSettings(Boolean, RadProperty)
RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)
RadElement.AddBehavior(PropertyChangeBehavior)
RadElement.GetBehaviors()
RadElement.RemoveBehavior(PropertyChangeBehavior)
RadElement.ClearBehaviors()
RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)
RadElement.SetThemeApplied(Boolean)
RadElement.OnStyleChanged(RadPropertyChangedEventArgs)
RadElement.SuspendThemeRefresh()
RadElement.ResumeThemeRefresh()
RadElement.UnapplyStyle()
RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)
RadElement.RemoveBehaviors(PropertyChangeBehavior)
RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)
RadElement.GetThemeEffectiveType()
RadElement.GetChildrenByType(Type)
RadElement.GetChildrenByBaseType(Type)
RadElement.FindAncestorByThemeEffectiveType(Type)
RadElement.FindAncestor<T>()
RadElement.IsAncestorOf(RadElement)
RadElement.FindDescendant<T>()
RadElement.FindDescendant(Predicate<RadElement>)
RadElement.FindDescendant(Type)
RadElement.EnumDescendants(TreeTraversalMode)
RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.EnumDescendants(Filter, TreeTraversalMode)
RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.GetDescendants(Filter, TreeTraversalMode)
RadElement.GetAncestors(Filter)
RadElement.GetAncestors(Predicate<RadElement>)
RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)
RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)
RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)
RadElement.IsEventInProcess(RaisedRoutedEvent)
RadElement.RegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, String)
RadElement.GetRegisterRoutedEvent(String)
RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)
RadElement.GetChildren(ChildrenListOptions)
RadElement.SendToBack()
RadElement.BringToFront()
RadElement.GetChildAt(Int32)
RadElement.IsChildOf(RadElement)
RadElement.Focus()
RadElement.Focus(Boolean)
RadElement.SetFocusPropertySafe(Boolean)
RadElement.SetElementFocused(Boolean)
RadElement.KillFocus()
RadElement.SetFocus()
RadElement.OnCLREventsRise(RoutedEventArgs)
RadElement.OnMouseHover(EventArgs)
RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)
RadElement.OnLostMouseCapture(MouseEventArgs)
RadElement.OnClick(EventArgs)
RadElement.OnDoubleClick(EventArgs)
RadElement.OnMouseEnter(EventArgs)
RadElement.PerformClick()
RadElement.DoMouseWheel(MouseEventArgs)
RadElement.DoClick(EventArgs)
RadElement.DoDoubleClick(EventArgs)
RadElement.CallDoMouseWheel(MouseEventArgs)
RadElement.IsInputKey(InputKeyEventArgs)
RadElement.MouseEventArgsFromControl(MouseEventArgs)
RadElement.DoMouseDown(MouseEventArgs)
RadElement.DoMouseUp(MouseEventArgs)
RadElement.DoMouseMove(MouseEventArgs)
RadElement.ShowScreenTip(ScreenTipNeededEventArgs)
RadElement.HideScreenTip()
RadElement.DoMouseHover(EventArgs)
RadElement.OnShowScreenTip(ComponentInputBehavior)
RadElement.RaiseClick(EventArgs)
RadElement.RaiseDoubleClick(EventArgs)
RadElement.RaiseMouseWheel(MouseEventArgs)
RadElement.UpdateContainsMouse()
RadElement.UpdateContainsFocus(Boolean)
RadElement.DoMouseEnter(EventArgs)
RadElement.DoMouseLeave(EventArgs)
RadElement.CallDoMouseDown(MouseEventArgs)
RadElement.CallDoMouseUp(MouseEventArgs)
RadElement.CallDoMouseMove(MouseEventArgs)
RadElement.CallDoMouseHover(EventArgs)
RadElement.CallDoMouseEnter(EventArgs)
RadElement.CallDoMouseLeave(EventArgs)
RadElement.CallDoClick(EventArgs)
RadElement.CallDoDoubleClick(EventArgs)
RadElement.GetValue(RadProperty)
RadElement.AddStylePropertySetting(IPropertySetting)
RadElement.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadElement.NotifyChildren(RadPropertyChangedEventArgs)
RadElement.OnLocationChanged(RadPropertyChangedEventArgs)
RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadElement.IsPropertyCancelable(RadPropertyMetadata)
RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)
RadElement.PerformDispose(Boolean)
RadElement.DisposeChildren()
RadElement.ResetUseCompatibleTextRendering()
RadElement.ShouldSerializeUseCompatibleTextRendering()
RadElement.IStylableNode.GetThemeEffectiveType()
RadElement.IStylableNode.ApplySettings(PropertySettingGroup)
RadElement.GetStylableChildrenHierarchy()
RadElement.GetStylableChildren()
RadElement.ResetStyleVersion()
RadElement.GetBorderThickness(BorderPrimitive)
RadElement.DpiScaleChanged(SizeF)
RadElement.ElementState
RadElement.LayoutManager
RadElement.DesiredSize
RadElement.IsLayoutSuspended
RadElement.BoundingRectangle
RadElement.ControlBoundingRectangle
RadElement.BypassLayoutPolicies
RadElement.IsArrangeValid
RadElement.IsMeasureValid
RadElement.PreviousArrangeRect
RadElement.PreviousConstraint
RadElement.TreeLevel
RadElement.Transform
RadElement.TotalTransform
RadElement.ShouldPaintUsingParentShape
RadElement.UseSystemSkin
RadElement.VsbVisible
RadElement.PropagateStyleToChildren
RadElement.ThemeEffectiveType
RadElement.ElementTree
RadElement.Children
RadElement.ChildrenHierarchy
RadElement.Parent
RadElement.RoutedEventBehaviors
RadElement.LayoutableChildrenCount
RadElement.ContainsFocus
RadElement.NotifyParentOnMouseInput
RadElement.IsAbleToRespondToMouseEvents
RadElement.AutoSize
RadElement.Bounds
RadElement.Location
RadElement.Size
RadElement.BorderThickness
RadElement.Padding
RadElement.Margin
RadElement.Alignment
RadElement.AutoSizeMode
RadElement.FitToSizeMode
RadElement.Enabled
RadElement.IsFocused
RadElement.IsMouseOver
RadElement.IsMouseOverElement
RadElement.IsMouseDown
RadElement.InvalidateChildrenOnChildChanged
RadElement.Visibility
RadElement.IsElementVisible
RadElement.Name
RadElement.Class
RadElement.ClipDrawing
RadElement.Shape
RadElement.MinSize
RadElement.MaxSize
RadElement.ZIndex
RadElement.RightToLeft
RadElement.UseCompatibleTextRendering
RadElement.BackgroundShape
RadElement.BackgroundShapePaintMode
RadElement.ContainsMouse
RadElement.Capture
RadElement.ScaleTransform
RadElement.AngleTransform
RadElement.PositionOffset
RadElement.SerializeElement
RadElement.SerializeChildren
RadElement.RenderingMaxFramerate
RadElement.IsThemeApplied
RadElement.ShouldApplyTheme
RadElement.UseCenteredAngleTransform
RadElement.Tag
RadElement.StretchHorizontally
RadElement.StretchVertically
RadElement.ClickMode
RadElement.DoubleClickEnabled
RadElement.CaptureOnMouseDown
RadElement.IsFocusable
RadElement.IsItemHovered
RadElement.IStylableNode.Parent
RadElement.IStylableNode.ChildrenHierarchy
RadElement.IStylableNode.Children
RadElement.IStylableNode.Class
RadElement.Style
RadElement.AutoToolTip
RadElement.ScreenTip
RadElement.AutoNumberKeyTip
RadElement.MeasureIsDirty
RadElement.ArrangeIsDirty
RadElement.NeverMeasured
RadElement.NeverArranged
RadElement.ArrangeInProgress
RadElement.MeasureInProgress
RadElement.ShouldPaintChildren
RadElement.InvalidateMeasureOnRemove
RadElement.HideFromElementHierarchyEditor
RadElement.DpiScaleFactor
RadElement.LayoutUpdated
RadElement.ElementPainted
RadElement.MouseHover
RadElement.MouseMove
RadElement.MouseDown
RadElement.MouseUp
RadElement.Click
RadElement.DoubleClick
RadElement.MouseEnter
RadElement.MouseWheel
RadElement.EnabledChanged
RadElement.MouseLeave
RadElement.ChildrenChanged
RadElement.LostMouseCapture
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetLocalValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.PropertyValues
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.BindingContext
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
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 RadPictureBoxElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Constructors

RadPictureBoxElement()

Initializes a new instance of the RadPictureBoxElement class.

Declaration
public RadPictureBoxElement()

Properties

AllowPanelAnimations

Gets or sets a value indicating whether to show animations when showing and hiding panels. Note that animations are applied only when PanelDisplayMode is set to OnMouseHover.

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

BottomPanel

Gets the bottom panel element. This panel allows adding buttons label and other elements in three collections - left, center and right items.

Declaration
public PictureBoxHorizontalPanelElement BottomPanel { get; }
Property Value
PictureBoxHorizontalPanelElement

CanvasElement

Gets the element that is responsible for painting the image.

Declaration
public PictureBoxCanvasElement CanvasElement { get; }
Property Value
PictureBoxCanvasElement

ContextMenu

Gets the context menu.

Declaration
public RadContextMenuDropDown ContextMenu { get; }
Property Value
RadContextMenuDropDown

ContextMenuEnabled

Gets or sets a value indicating whether to display context menu on right mouse click.

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

ContextMenuProperties

Gets the context menu related properties.

Declaration
public PictureBoxContextMenuProperties ContextMenuProperties { get; }
Property Value
PictureBoxContextMenuProperties

DefaultImage

Gets or sets the raster image which is displayed when the Image and SvgImage properties are not specified.

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

DefaultSvgImage

Gets or sets the vector image which is displayed when the Image and SvgImage properties are not specified.

Declaration
public RadSvgImage DefaultSvgImage { get; set; }
Property Value
RadSvgImage

DefaultSvgImageXml

Gets or sets string XML of the the vector image which is displayed when the Image and SvgImage properties are not specified.

Declaration
public string DefaultSvgImageXml { get; set; }
Property Value
System.String

DefaultText

Gets or sets the text which is displayed when the Image and SvgImage properties are not specified.

Declaration
public string DefaultText { get; set; }
Property Value
System.String

HorizontalScrollBar

Gets the horizontal scrollbar element.

Declaration
public RadScrollBarElement HorizontalScrollBar { get; }
Property Value
RadScrollBarElement

ImageAlignment

Gets or sets the alignment of the image on the drawing surface. Default is TopLeft. Note that this property is respected only when the ImageLayout is set to None.

Declaration
public override ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment

Overrides
LightVisualElement.ImageAlignment

ImageEditorDialog

Gets or sets the dialog responsible for image editing.

Declaration
public PictureBoxImageEditorDialog ImageEditorDialog { get; set; }
Property Value
PictureBoxImageEditorDialog

LeftPanel

Gets the left panel element. This panel allows adding buttons label and other elements in three collections - top, center and bottom items.

Declaration
public PictureBoxVerticalPanelElement LeftPanel { get; }
Property Value
PictureBoxVerticalPanelElement

NoPictureImageElement

Gets the element that holds the image visible when there is no image(raster or vector) assigned.

Declaration
public LightVisualElement NoPictureImageElement { get; }
Property Value
LightVisualElement

NoPictureStack

Gets the StackLayoutPanel that is displayed when there is no image(raster or vector) assigned.

Declaration
public StackLayoutPanel NoPictureStack { get; }
Property Value
StackLayoutPanel

NoPictureTextElement

Gets the element that holds the text visible when there is no image(raster or vector) assigned.

Declaration
public LightVisualElement NoPictureTextElement { get; }
Property Value
LightVisualElement

PanelDisplayMode

Gets or sets a value indicating how the panels are displayed. The possible options are: always or on mouse hover.

Declaration
public PictureBoxPanelDisplayMode PanelDisplayMode { get; set; }
Property Value
PictureBoxPanelDisplayMode

PanelOverflowMode

Gets or sets a value indicating how the panels are positioned.

Declaration
public PictureBoxPanelOverflowMode PanelOverflowMode { get; set; }
Property Value
PictureBoxPanelOverflowMode

RadImageLayout

Specifies how the image is positioned on the element.

Declaration
public virtual RadImageLayout RadImageLayout { get; set; }
Property Value
RadImageLayout

ReadOnly

Determines if users can only view the image with no interaction: zoom and context menu are not available when read only is true.

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

RightPanel

Gets the right panel element. This panel allows adding buttons label and other elements in three collections - top, center and bottom items.

Declaration
public PictureBoxVerticalPanelElement RightPanel { get; }
Property Value
PictureBoxVerticalPanelElement

ShowScrollBars

Gets or sets a value indicating whether to display scrollbars when the displayed image is larger than the element.

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

TopPanel

Gets the top panel element. This panel allows adding buttons label and other elements in three collections - left, center and right items.

Declaration
public PictureBoxHorizontalPanelElement TopPanel { get; }
Property Value
PictureBoxHorizontalPanelElement

VerticalScrollBar

Gets the vertical scrollbar element.

Declaration
public RadScrollBarElement VerticalScrollBar { get; }
Property Value
RadScrollBarElement

ZoomProperties

Gets the properties responsible for the zoom operations.

Declaration
public PictureBoxZoomProperties ZoomProperties { get; }
Property Value
PictureBoxZoomProperties

Methods

ArrangeOverride(SizeF)

Arranges the RadPictureBoxElement to its final location. The element must call the Arrange method of each of its children.

Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF finalSize

The size that is available for element.

Returns
System.Drawing.SizeF

The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.

Overrides
LightVisualElement.ArrangeOverride(SizeF)
Remarks

In this method call to the Arrange method of each child must be made.

CalculateZoomOffset(Double, SizeF)

Declaration
protected virtual SizeF CalculateZoomOffset(double newZoomFactor, SizeF newCanvasSize)
Parameters
System.Double newZoomFactor

System.Drawing.SizeF newCanvasSize

Returns
System.Drawing.SizeF

CanStartPan()

Declaration
protected virtual bool CanStartPan()
Returns
System.Boolean

ClearImage()

Removes the image and/or svg image.

Declaration
public virtual void ClearImage()

CopyImage()

Copies the displayed image into the clipboard.

Declaration
public virtual void CopyImage()

CreateBottomPanel()

Declaration
protected virtual PictureBoxHorizontalPanelElement CreateBottomPanel()
Returns
PictureBoxHorizontalPanelElement

CreateCanvasElement()

Declaration
protected virtual PictureBoxCanvasElement CreateCanvasElement()
Returns
PictureBoxCanvasElement

CreateChildElements()

Called by the element when constructed. Allows inheritors to build the element tree.

Declaration
protected override void CreateChildElements()
Overrides
RadElement.CreateChildElements()

CreateContextMenu()

Declaration
protected virtual RadContextMenuDropDown CreateContextMenu()
Returns
RadContextMenuDropDown

CreateContextMenuProperties()

Declaration
protected virtual PictureBoxContextMenuProperties CreateContextMenuProperties()
Returns
PictureBoxContextMenuProperties

CreateHorizontalScrollBarElement()

Declaration
protected virtual RadScrollBarElement CreateHorizontalScrollBarElement()
Returns
RadScrollBarElement

CreateLeftPanel()

Declaration
protected virtual PictureBoxVerticalPanelElement CreateLeftPanel()
Returns
PictureBoxVerticalPanelElement

CreateNoPictureImageElement()

Declaration
protected virtual LightVisualElement CreateNoPictureImageElement()
Returns
LightVisualElement

CreateNoPictureStack()

Declaration
protected virtual StackLayoutPanel CreateNoPictureStack()
Returns
StackLayoutPanel

CreateNoPictureTextElement()

Declaration
protected virtual LightVisualElement CreateNoPictureTextElement()
Returns
LightVisualElement

CreateRightPanel()

Declaration
protected virtual PictureBoxVerticalPanelElement CreateRightPanel()
Returns
PictureBoxVerticalPanelElement

CreateTopPanel()

Declaration
protected virtual PictureBoxHorizontalPanelElement CreateTopPanel()
Returns
PictureBoxHorizontalPanelElement

CreateVerticalScrollBarElement()

Declaration
protected virtual RadScrollBarElement CreateVerticalScrollBarElement()
Returns
RadScrollBarElement

CreateZoomProperties()

Declaration
protected virtual PictureBoxZoomProperties CreateZoomProperties()
Returns
PictureBoxZoomProperties

CutImage()

Copies the displayed image into the clipboard and clears the displayed image.

Declaration
public virtual void CutImage()

DisposeManagedResources()

Declaration
protected override void DisposeManagedResources()
Overrides
LightVisualElement.DisposeManagedResources()

EditImage()

Edits the image using a RadImageEditor displayed in a PictureBoxImageEditorDialog.

Declaration
public void EditImage()

EnableContextMenuItems()

Declaration
protected virtual void EnableContextMenuItems()

HidePanels(Boolean)

Hides the panels.

Declaration
public virtual void HidePanels(bool animate = true)
Parameters
System.Boolean animate

A value indicating whether to use animation.

InitializeFields()

Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.

Declaration
protected override void InitializeFields()
Overrides
LightVisualElement.InitializeFields()

LoadImage()

Opens an OpenFileDialog which allows the user to choose an image.

Declaration
public virtual void LoadImage()

MeasureOverride(SizeF)

Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF availableSize

Returns
System.Drawing.SizeF

Overrides
LightVisualElement.MeasureOverride(SizeF)

OnBoundsChanged(RadPropertyChangedEventArgs)

Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

Overrides
UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

OnContextMenuClosed()

Raises the ContextMenuClosed event.

Declaration
protected virtual void OnContextMenuClosed()

OnContextMenuClosing(CancelEventArgs)

Raises the ContextMenuClosing event.

Declaration
protected virtual void OnContextMenuClosing(CancelEventArgs args)
Parameters
System.ComponentModel.CancelEventArgs args

The event arguments

OnContextMenuItemClick(Object, EventArgs)

Declaration
protected virtual void OnContextMenuItemClick(object sender, EventArgs e)
Parameters
System.Object sender

System.EventArgs e

OnContextMenuOpened()

Raises the ContextMenuOpened event.

Declaration
protected virtual void OnContextMenuOpened()

OnContextMenuOpening(CancelEventArgs)

Raises the ContextMenuOpening event.

Declaration
protected virtual void OnContextMenuOpening(CancelEventArgs args)
Parameters
System.ComponentModel.CancelEventArgs args

The event arguments

OnImageLoaded()

Declaration
protected virtual void OnImageLoaded()

OnImageSaved()

Declaration
protected virtual void OnImageSaved()

OnMouseDown(MouseEventArgs)

Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadItem.OnMouseDown(MouseEventArgs)

OnMouseMove(MouseEventArgs)

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
LightVisualElement.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadItem.OnMouseUp(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

Overrides
RadElement.OnMouseWheel(MouseEventArgs)

OnPanChanged()

Declaration
protected virtual void OnPanChanged()

OnPanelDisplayModeChanged()

Declaration
protected virtual void OnPanelDisplayModeChanged()

OnPanelOverflowModeChanged()

Declaration
protected virtual void OnPanelOverflowModeChanged()

OnParentChanged(RadElement)

Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
RadElement previousParent

Overrides
RadElement.OnParentChanged(RadElement)

OnPropertyChanged(RadPropertyChangedEventArgs)

Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

Overrides
LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnRadImageLayoutChanged()

Declaration
protected virtual void OnRadImageLayoutChanged()

OnZoomChanged()

Declaration
protected virtual void OnZoomChanged()

OnZoomGesture(ZoomGestureEventArgs)

Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
ZoomGestureEventArgs args

Overrides
RadItem.OnZoomGesture(ZoomGestureEventArgs)

PasteImage()

Pastes an image from the clipboard.

Declaration
public virtual void PasteImage()

ProcessMouseWheelScroll(MouseEventArgs, RadScrollBarElement)

Declaration
protected virtual void ProcessMouseWheelScroll(MouseEventArgs e, RadScrollBarElement scrollBar)
Parameters
System.Windows.Forms.MouseEventArgs e

RadScrollBarElement scrollBar

ResetPanAndZoom()

Declaration
protected virtual void ResetPanAndZoom()

SaveImage()

Opens a SaveFileDialog which allows the user to save the displayed image.

Declaration
public virtual void SaveImage()

SetAllLocalValuesAsDefault(Boolean)

Declaration
public override void SetAllLocalValuesAsDefault(bool recursive)
Parameters
System.Boolean recursive

Overrides
RadElement.SetAllLocalValuesAsDefault(Boolean)

ShouldArrangeChild(RadElement)

Gets a value indicating, whether a child will be arranged during the ArrangeOverride.

Declaration
protected override bool ShouldArrangeChild(RadElement child)
Parameters
RadElement child

The child.

Returns
System.Boolean

Whether the child will be arranged in ArrangeOverride.

Overrides
RadElement.ShouldArrangeChild(RadElement)

ShowPanels(Boolean)

Shows the panels.

Declaration
public virtual void ShowPanels(bool animate = true)
Parameters
System.Boolean animate

A value indicating whether to use animation.

UnwireParentControl()

Declaration
protected virtual void UnwireParentControl()

UpdatePanels(Boolean)

Declaration
protected virtual void UpdatePanels(bool animate = true)
Parameters
System.Boolean animate

UpdateParentControl()

Declaration
protected virtual void UpdateParentControl()

UpdatePictureElementPanZoomAndSize()

Declaration
protected virtual void UpdatePictureElementPanZoomAndSize()

WireParentControl()

Declaration
protected virtual void WireParentControl()

Zoom(Int32, Nullable<Point>)

Performs a zoom operation by given steps count.

Declaration
public void Zoom(int step, Point? pivotPoint = default(Point? ))
Parameters
System.Int32 step

Number of steps to zoom. Positive value will zoom-in, while a negative value will zoom-out.

System.Nullable<System.Drawing.Point> pivotPoint

The point against which the zoom operation will be executed.

ZoomIn()

Performs a zoom-in operation with one step, according to the ZoomProperties.ZoomStep value.

Declaration
public void ZoomIn()

ZoomIn(Int32)

Performs a zoom-in operation with several steps, according to the ZoomProperties.ZoomStep value.

Declaration
public void ZoomIn(int steps)
Parameters
System.Int32 steps

The count of steps to zoom in.

ZoomOut()

Performs a zoom-out operation with one step, according to the ZoomProperties.ZoomStep value.

Declaration
public void ZoomOut()

ZoomOut(Int32)

Performs a zoom-out operation with several steps, according to the ZoomProperties.ZoomStep value.

Declaration
public void ZoomOut(int steps)
Parameters
System.Int32 steps

The count of steps to zoom-out.

Events

ContextMenuClosed

Occurs when the context menu is closed.

Declaration
public event EventHandler ContextMenuClosed
Event Type
System.EventHandler

ContextMenuClosing

Occurs when the context menu is closing.

Declaration
public event CancelEventHandler ContextMenuClosing
Event Type
System.ComponentModel.CancelEventHandler

ContextMenuItemClick

Occurs when an item in the context menu is clicked.

Declaration
public event HandledEventHandler ContextMenuItemClick
Event Type
System.ComponentModel.HandledEventHandler

ContextMenuOpened

Occurs when the context menu is opened.

Declaration
public event EventHandler ContextMenuOpened
Event Type
System.EventHandler

ContextMenuOpening

Occurs when the context menu is opening.

Declaration
public event CancelEventHandler ContextMenuOpening
Event Type
System.ComponentModel.CancelEventHandler

ImageEdited

Occurs when the image has been edited by the ImageEditorDialog and the user has accepted the changes. Can be handled. Note that this event fill be fired always when the user clicks the OK button of the dialog, even if there are no changes in the image.

Declaration
public event PictureBoxImageEditedEventHandler ImageEdited
Event Type
PictureBoxImageEditedEventHandler

ImageEditorOpening

Occurs when the image is about to be edited in the ImageEditorDialog. Cancellable.

Declaration
public event PictureBoxImageEditorOpeningEventHandler ImageEditorOpening
Event Type
PictureBoxImageEditorOpeningEventHandler

ImageLoaded

Occurs when a raster or vector(SVG) image has been loaded by the user.

Declaration
public event EventHandler ImageLoaded
Event Type
System.EventHandler

ImageSaved

Occurs when the displayed image has been saved by the user.

Declaration
public event EventHandler ImageSaved
Event Type
System.EventHandler

PanChanged

Occurs when the PositionOffset property of PictureBoxCanvasElement is changed.

Declaration
public event EventHandler PanChanged
Event Type
System.EventHandler

ZoomChanged

Raised after the ZoomFactor is changed.

Declaration
public event EventHandler ZoomChanged
Event Type
System.EventHandler

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
SerializationExtensions.DeserializePrimitives(RadItem, SerializationInfo)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.