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.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadPictureBoxElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadPictureBoxElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider

Inherited Members LightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, 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, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, 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, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.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, float, SizeF, bool)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)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.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)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.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)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(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)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.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()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.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.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(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(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(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.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadPictureBoxElement()

Initializes a new instance of the RadPictureBoxElement class.

Declaration

cs-api-definition
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

cs-api-definition
public bool AllowPanelAnimations { get; set; }

Property Value

bool

BottomPanel

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

Declaration

cs-api-definition
public PictureBoxHorizontalPanelElement BottomPanel { get; }

Property Value

PictureBoxHorizontalPanelElement

CanvasElement

Gets the element that is responsible for painting the image.

Declaration

cs-api-definition
public PictureBoxCanvasElement CanvasElement { get; }

Property Value

PictureBoxCanvasElement

ContextMenu

Gets the context menu.

Declaration

cs-api-definition
public RadContextMenuDropDown ContextMenu { get; }

Property Value

RadContextMenuDropDown

ContextMenuEnabled

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

Declaration

cs-api-definition
[Browsable(false)]
public bool ContextMenuEnabled { get; set; }

Property Value

bool

ContextMenuProperties

Gets the context menu related properties.

Declaration

cs-api-definition
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

cs-api-definition
public Image DefaultImage { get; set; }

Property Value

Image

DefaultSvgImage

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

Declaration

cs-api-definition
public RadSvgImage DefaultSvgImage { get; set; }

Property Value

RadSvgImage

DefaultText

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

Declaration

cs-api-definition
public string DefaultText { get; set; }

Property Value

string

HorizontalScrollBar

Gets the horizontal scrollbar element.

Declaration

cs-api-definition
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

cs-api-definition
public override ContentAlignment ImageAlignment { get; set; }

Property Value

ContentAlignment

Overrides LightVisualElement.ImageAlignment

ImageEditorDialog

Gets or sets the dialog responsible for image editing.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public LightVisualElement NoPictureImageElement { get; }

Property Value

LightVisualElement

NoPictureStack

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

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public PictureBoxPanelDisplayMode PanelDisplayMode { get; set; }

Property Value

PictureBoxPanelDisplayMode

PanelOverflowMode

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

Declaration

cs-api-definition
public PictureBoxPanelOverflowMode PanelOverflowMode { get; set; }

Property Value

PictureBoxPanelOverflowMode

RadImageLayout

Specifies how the image is positioned on the element.

Declaration

cs-api-definition
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

cs-api-definition
[Browsable(true)]
public bool ReadOnly { get; set; }

Property Value

bool

RightPanel

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

Declaration

cs-api-definition
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

cs-api-definition
public bool ShowScrollBars { get; set; }

Property Value

bool

TopPanel

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

Declaration

cs-api-definition
public PictureBoxHorizontalPanelElement TopPanel { get; }

Property Value

PictureBoxHorizontalPanelElement

VerticalScrollBar

Gets the vertical scrollbar element.

Declaration

cs-api-definition
public RadScrollBarElement VerticalScrollBar { get; }

Property Value

RadScrollBarElement

ZoomProperties

Gets the properties responsible for the zoom operations.

Declaration

cs-api-definition
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

cs-api-definition
protected override SizeF ArrangeOverride(SizeF finalSize)

Parameters

finalSize

SizeF

The size that is available for element.

Returns

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

cs-api-definition
protected virtual SizeF CalculateZoomOffset(double newZoomFactor, SizeF newCanvasSize)

Parameters

newZoomFactor

double

newCanvasSize

SizeF

Returns

SizeF

CanStartPan()

Declaration

cs-api-definition
protected virtual bool CanStartPan()

Returns

bool

ClearImage()

Removes the image and/or svg image.

Declaration

cs-api-definition
public virtual void ClearImage()

CopyImage()

Copies the displayed image into the clipboard.

Declaration

cs-api-definition
public virtual void CopyImage()

CreateBottomPanel()

Declaration

cs-api-definition
protected virtual PictureBoxHorizontalPanelElement CreateBottomPanel()

Returns

PictureBoxHorizontalPanelElement

CreateCanvasElement()

Declaration

cs-api-definition
protected virtual PictureBoxCanvasElement CreateCanvasElement()

Returns

PictureBoxCanvasElement

CreateChildElements()

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

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

CreateContextMenu()

Declaration

cs-api-definition
protected virtual RadContextMenuDropDown CreateContextMenu()

Returns

RadContextMenuDropDown

CreateContextMenuProperties()

Declaration

cs-api-definition
protected virtual PictureBoxContextMenuProperties CreateContextMenuProperties()

Returns

PictureBoxContextMenuProperties

CreateHorizontalScrollBarElement()

Declaration

cs-api-definition
protected virtual RadScrollBarElement CreateHorizontalScrollBarElement()

Returns

RadScrollBarElement

CreateLeftPanel()

Declaration

cs-api-definition
protected virtual PictureBoxVerticalPanelElement CreateLeftPanel()

Returns

PictureBoxVerticalPanelElement

CreateNoPictureImageElement()

Declaration

cs-api-definition
protected virtual LightVisualElement CreateNoPictureImageElement()

Returns

LightVisualElement

CreateNoPictureStack()

Declaration

cs-api-definition
protected virtual StackLayoutPanel CreateNoPictureStack()

Returns

StackLayoutPanel

CreateNoPictureTextElement()

Declaration

cs-api-definition
protected virtual LightVisualElement CreateNoPictureTextElement()

Returns

LightVisualElement

CreateRightPanel()

Declaration

cs-api-definition
protected virtual PictureBoxVerticalPanelElement CreateRightPanel()

Returns

PictureBoxVerticalPanelElement

CreateTopPanel()

Declaration

cs-api-definition
protected virtual PictureBoxHorizontalPanelElement CreateTopPanel()

Returns

PictureBoxHorizontalPanelElement

CreateVerticalScrollBarElement()

Declaration

cs-api-definition
protected virtual RadScrollBarElement CreateVerticalScrollBarElement()

Returns

RadScrollBarElement

CreateZoomProperties()

Declaration

cs-api-definition
protected virtual PictureBoxZoomProperties CreateZoomProperties()

Returns

PictureBoxZoomProperties

CutImage()

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

Declaration

cs-api-definition
public virtual void CutImage()

DisposeManagedResources()

Disposes of managed resources including cached images and SVG images when the element is being disposed.

Declaration

cs-api-definition
protected override void DisposeManagedResources()

Overrides LightVisualElement.DisposeManagedResources()

EditImage()

Edits the image using a RadImageEditor displayed in a PictureBoxImageEditorDialog.

Declaration

cs-api-definition
public void EditImage()

EnableContextMenuItems()

Declaration

cs-api-definition
protected virtual void EnableContextMenuItems()

HidePanels(bool)

Hides the panels.

Declaration

cs-api-definition
public virtual void HidePanels(bool animate = true)

Parameters

animate

bool

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

cs-api-definition
protected override void InitializeFields()

Overrides LightVisualElement.InitializeFields()

LoadImage()

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

Declaration

cs-api-definition
public virtual void LoadImage()

MeasureOverride(SizeF)

Measures the desired size of the element by calculating the space needed for content, padding, and borders.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The available space that a parent element can allocate to this element.

Returns

SizeF

The desired size of the element including content, padding, and border space.

Overrides LightVisualElement.MeasureOverride(SizeF)

OnBoundsChanged(RadPropertyChangedEventArgs)

Handles the bounds changed event by updating the fill primitive implementation and invoking the base class handler.

Declaration

cs-api-definition
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property change, including the old bounds value.

Overrides UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

OnContextMenuClosed()

Raises the ContextMenuClosed event.

Declaration

cs-api-definition
protected virtual void OnContextMenuClosed()

OnContextMenuClosing(CancelEventArgs)

Raises the ContextMenuClosing event.

Declaration

cs-api-definition
protected virtual void OnContextMenuClosing(CancelEventArgs args)

Parameters

args

CancelEventArgs

The event arguments

OnContextMenuItemClick(object, EventArgs)

Declaration

cs-api-definition
protected virtual void OnContextMenuItemClick(object sender, EventArgs e)

Parameters

sender

object

e

EventArgs

OnContextMenuOpened()

Raises the ContextMenuOpened event.

Declaration

cs-api-definition
protected virtual void OnContextMenuOpened()

OnContextMenuOpening(CancelEventArgs)

Raises the ContextMenuOpening event.

Declaration

cs-api-definition
protected virtual void OnContextMenuOpening(CancelEventArgs args)

Parameters

args

CancelEventArgs

The event arguments

OnImageLoaded()

Declaration

cs-api-definition
[Obsolete("Override OnImageLoaded(ImageKind, LoadImageContext, string) instead.")]
protected virtual void OnImageLoaded()

OnImageLoaded(ImageKind, LoadImageContext, string)

Declaration

cs-api-definition
protected virtual void OnImageLoaded(ImageKind imageKind, LoadImageContext loadContext, string filePath = null)

Parameters

imageKind

ImageKind

loadContext

LoadImageContext

filePath

string

OnImageSaved()

Declaration

cs-api-definition
protected virtual void OnImageSaved()

OnMouseDown(MouseEventArgs)

Called when a mouse button is pressed down over the item.

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadItem.OnMouseDown(MouseEventArgs)

OnMouseMove(MouseEventArgs)

Called when the mouse moves over the item, handling highlight and border highlight effects.

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides LightVisualElement.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Called when a mouse button is released over the item.

Declaration

cs-api-definition
protected override void OnMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadItem.OnMouseUp(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Raises the MouseWheel event.

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseEventArgs e)

Parameters

e

MouseEventArgs

The mouse event arguments.

Overrides RadElement.OnMouseWheel(MouseEventArgs)

OnPanChanged()

Declaration

cs-api-definition
protected virtual void OnPanChanged()

OnPanelDisplayModeChanged()

Declaration

cs-api-definition
protected virtual void OnPanelDisplayModeChanged()

OnPanelOverflowModeChanged()

Declaration

cs-api-definition
protected virtual void OnPanelOverflowModeChanged()

OnParentChanged(RadElement)

Notifies for a change in the Parent value.

Declaration

cs-api-definition
protected override void OnParentChanged(RadElement previousParent)

Parameters

previousParent

RadElement

The previous parent element (if any)

Overrides RadElement.OnParentChanged(RadElement)

OnPropertyChanged(RadPropertyChangedEventArgs)

Handles property change events by invalidating the fill cache and invoking the base class property change handler.

Declaration

cs-api-definition
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)

Parameters

e

RadPropertyChangedEventArgs

Event arguments containing information about the property that changed.

Overrides LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)

OnRadImageLayoutChanged()

Declaration

cs-api-definition
protected virtual void OnRadImageLayoutChanged()

OnZoomChanged()

Declaration

cs-api-definition
protected virtual void OnZoomChanged()

OnZoomGesture(ZoomGestureEventArgs)

Fires the ZoomGesture event.

Declaration

cs-api-definition
protected override void OnZoomGesture(ZoomGestureEventArgs args)

Parameters

args

ZoomGestureEventArgs

The arguments for the ZoomGesture event.

Overrides RadItem.OnZoomGesture(ZoomGestureEventArgs)

PasteImage()

Pastes an image from the clipboard.

Declaration

cs-api-definition
public virtual void PasteImage()

ProcessMouseWheelScroll(MouseEventArgs, RadScrollBarElement)

Declaration

cs-api-definition
protected virtual void ProcessMouseWheelScroll(MouseEventArgs e, RadScrollBarElement scrollBar)

Parameters

e

MouseEventArgs

scrollBar

RadScrollBarElement

ResetPanAndZoom()

Declaration

cs-api-definition
protected virtual void ResetPanAndZoom()

SaveImage()

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

Declaration

cs-api-definition
public virtual void SaveImage()

SetAllLocalValuesAsDefault(bool)

This method is not relevant for this class.

Declaration

cs-api-definition
public override void SetAllLocalValuesAsDefault(bool recursive)

Parameters

recursive

bool

True to apply recursively to all descendants, false for this element only.

Overrides RadElement.SetAllLocalValuesAsDefault(bool)

ShouldArrangeChild(RadElement)

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

Declaration

cs-api-definition
protected override bool ShouldArrangeChild(RadElement child)

Parameters

child

RadElement

The child.

Returns

bool

Whether the child will be arranged in ArrangeOverride.

Overrides RadElement.ShouldArrangeChild(RadElement)

ShowPanels(bool)

Shows the panels.

Declaration

cs-api-definition
public virtual void ShowPanels(bool animate = true)

Parameters

animate

bool

A value indicating whether to use animation.

UnwireParentControl()

Declaration

cs-api-definition
protected virtual void UnwireParentControl()

UpdatePanels(bool)

Declaration

cs-api-definition
protected virtual void UpdatePanels(bool animate = true)

Parameters

animate

bool

UpdateParentControl()

Declaration

cs-api-definition
protected virtual void UpdateParentControl()

UpdatePictureElementPanZoomAndSize()

Declaration

cs-api-definition
protected virtual void UpdatePictureElementPanZoomAndSize()

WireParentControl()

Declaration

cs-api-definition
protected virtual void WireParentControl()

Zoom(int, Point?)

Performs a zoom operation by given steps count.

Declaration

cs-api-definition
public void Zoom(int step, Point? pivotPoint = null)

Parameters

step

int

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

pivotPoint

Point?

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

cs-api-definition
public void ZoomIn()

ZoomIn(int)

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

Declaration

cs-api-definition
public void ZoomIn(int steps)

Parameters

steps

int

The count of steps to zoom in.

ZoomOut()

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

Declaration

cs-api-definition
public void ZoomOut()

ZoomOut(int)

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

Declaration

cs-api-definition
public void ZoomOut(int steps)

Parameters

steps

int

The count of steps to zoom-out.

Events

ContextMenuClosed

Occurs when the context menu is closed.

Declaration

cs-api-definition
public event EventHandler ContextMenuClosed

Event Value

EventHandler

ContextMenuClosing

Occurs when the context menu is closing.

Declaration

cs-api-definition
public event CancelEventHandler ContextMenuClosing

Event Value

CancelEventHandler

ContextMenuItemClick

Occurs when an item in the context menu is clicked.

Declaration

cs-api-definition
public event HandledEventHandler ContextMenuItemClick

Event Value

HandledEventHandler

ContextMenuOpened

Occurs when the context menu is opened.

Declaration

cs-api-definition
public event EventHandler ContextMenuOpened

Event Value

EventHandler

ContextMenuOpening

Occurs when the context menu is opening.

Declaration

cs-api-definition
public event CancelEventHandler ContextMenuOpening

Event Value

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

cs-api-definition
public event PictureBoxImageEditedEventHandler ImageEdited

Event Value

PictureBoxImageEditedEventHandler

ImageEditorOpening

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

Declaration

cs-api-definition
public event PictureBoxImageEditorOpeningEventHandler ImageEditorOpening

Event Value

PictureBoxImageEditorOpeningEventHandler

ImageLoaded

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

Declaration

cs-api-definition
public event EventHandler ImageLoaded

Event Value

EventHandler

ImageSaved

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

Declaration

cs-api-definition
public event EventHandler ImageSaved

Event Value

EventHandler

PanChanged

Occurs when the PositionOffset property of PictureBoxCanvasElement is changed.

Declaration

cs-api-definition
public event EventHandler PanChanged

Event Value

EventHandler

ZoomChanged

Raised after the ZoomFactor is changed.

Declaration

cs-api-definition
public event EventHandler ZoomChanged

Event Value

EventHandler

In this article
DefinitionConstructorsRadPictureBoxElement()PropertiesAllowPanelAnimationsBottomPanelCanvasElementContextMenuContextMenuEnabledContextMenuPropertiesDefaultImageDefaultSvgImageDefaultTextHorizontalScrollBarImageAlignmentImageEditorDialogLeftPanelNoPictureImageElementNoPictureStackNoPictureTextElementPanelDisplayModePanelOverflowModeRadImageLayoutReadOnlyRightPanelShowScrollBarsTopPanelVerticalScrollBarZoomPropertiesMethodsArrangeOverride(SizeF)CalculateZoomOffset(double, SizeF)CanStartPan()ClearImage()CopyImage()CreateBottomPanel()CreateCanvasElement()CreateChildElements()CreateContextMenu()CreateContextMenuProperties()CreateHorizontalScrollBarElement()CreateLeftPanel()CreateNoPictureImageElement()CreateNoPictureStack()CreateNoPictureTextElement()CreateRightPanel()CreateTopPanel()CreateVerticalScrollBarElement()CreateZoomProperties()CutImage()DisposeManagedResources()EditImage()EnableContextMenuItems()HidePanels(bool)InitializeFields()LoadImage()MeasureOverride(SizeF)OnBoundsChanged(RadPropertyChangedEventArgs)OnContextMenuClosed()OnContextMenuClosing(CancelEventArgs)OnContextMenuItemClick(object, EventArgs)OnContextMenuOpened()OnContextMenuOpening(CancelEventArgs)OnImageLoaded()OnImageLoaded(ImageKind, LoadImageContext, string)OnImageSaved()OnMouseDown(MouseEventArgs)OnMouseMove(MouseEventArgs)OnMouseUp(MouseEventArgs)OnMouseWheel(MouseEventArgs)OnPanChanged()OnPanelDisplayModeChanged()OnPanelOverflowModeChanged()OnParentChanged(RadElement)OnPropertyChanged(RadPropertyChangedEventArgs)OnRadImageLayoutChanged()OnZoomChanged()OnZoomGesture(ZoomGestureEventArgs)PasteImage()ProcessMouseWheelScroll(MouseEventArgs, RadScrollBarElement)ResetPanAndZoom()SaveImage()SetAllLocalValuesAsDefault(bool)ShouldArrangeChild(RadElement)ShowPanels(bool)UnwireParentControl()UpdatePanels(bool)UpdateParentControl()UpdatePictureElementPanZoomAndSize()WireParentControl()Zoom(int, Point?)ZoomIn()ZoomIn(int)ZoomOut()ZoomOut(int)EventsContextMenuClosedContextMenuClosingContextMenuItemClickContextMenuOpenedContextMenuOpeningImageEditedImageEditorOpeningImageLoadedImageSavedPanChangedZoomChanged
Not finding the help you need?
Contact Support