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.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax:
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:
object DisposableObject RadObject RadElement VisualElement RadComponentElement RadItem UIItemBase LightVisualElement RadPictureBoxElement
Implements:
IBindableComponent IBorderElement IBoxElement IBoxStyle IComponent ICustomTypeDescriptor IDisposable IDrawFillElement IFillElement IImageElement INotifyPropertyChanged IPrimitiveElement IShapedElement IShortcutProvider IStylableElement IStylableNode ISupportDrag ISupportDrop ISupportSystemSkin ITextPrimitive ITextProvider Show more
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, 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.TextRenderingHint LightVisualElement.DisabledTextRenderingHint LightVisualElement.ShouldPaint LightVisualElement.CanFocus LightVisualElement.DrawText LightVisualElement.DrawFill LightVisualElement.DrawBorder 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.DisabledImageOpacity LightVisualElement.TextAlignment LightVisualElement.TextImageRelation LightVisualElement.ShowHorizontalLine LightVisualElement.HorizontalLineColor LightVisualElement.HorizontalLineWidth LightVisualElement.DisableHTMLRendering 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.ImageDrawType LightVisualElement.AutoEllipsis LightVisualElement.UseMnemonic LightVisualElement.TextWrap LightVisualElement.ShowKeyboardCues LightVisualElement.MeasureTrailingSpaces LightVisualElement.TextParams UIItemBase.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.KeyDownEvent RadItem.KeyPressEvent RadItem.KeyUpEvent RadItem.FocusCommand RadItem.ActionCommand RadItem.UseDefaultDisabledPaintProperty RadItem.TextProperty RadItem.TextOrientationProperty RadItem.FlipTextProperty 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, 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.UseDefaultDisabledPaint RadItem.TextOrientation RadItem.FlipText RadItem.CanHaveOwnStyle RadItem.Text RadItem.Selectable RadItem.DefaultAutoToolTip RadItem.ShouldHandleMouseInput RadItem.KeyTip RadItem.ParentItem 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.ToolTipText RadItem.ThemeRole RadItem.VisualState RadItem.StateManager RadItem.AllowDrag RadItem.AllowDrop RadItem.Shortcuts RadItem.AccessibleDescription RadItem.AccessibleName RadItem.AccessibleRole 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.ToString() RadComponentElement.GetService(Type) RadComponentElement.CanRaiseEvents RadComponentElement.Container RadComponentElement.DesignMode 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, float, SizeF, bool) VisualElement.PrePaintElement(IGraphics) VisualElement.PostPaintElement(IGraphics) VisualElement.GetScaledFont(float) VisualElement.GetScaledFont(float, 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.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.SetPropertyValueCommand RadElement.GetPropertyValueCommand RadElement.StyleProperty RadElement.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.ElementState RadElement.DesiredSize RadElement.IsLayoutSuspended RadElement.BoundingRectangle RadElement.ControlBoundingRectangle RadElement.BypassLayoutPolicies RadElement.IsArrangeValid RadElement.IsMeasureValid RadElement.TreeLevel RadElement.Transform RadElement.TotalTransform RadElement.ShouldPaintUsingParentShape RadElement.UseSystemSkin 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.SerializeProperties 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.IsItemHovered RadElement.Style RadElement.AutoToolTip RadElement.ScreenTip RadElement.AutoNumberKeyTip RadElement.DpiScaleFactor RadElement.LayoutUpdated 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.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.PropertyValues RadObject.PropertyFilter RadObject.RadObjectType RadObject.BindingContext RadObject.PropertyChanged RadObject.RadPropertyChanged RadObject.RadPropertyChanging DisposableObject.GetBitState(long) DisposableObject.SetBitState(long, bool) DisposableObject.Dispose() DisposableObject.Dispose(bool) DisposableObject.DisposeUnmanagedResources() DisposableObject.BitState DisposableObject.Events DisposableObject.IsDisposing DisposableObject.IsDisposed DisposableObject.Disposed DisposableObject.Disposing Show more
Declaration
public RadPictureBoxElement ( )
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
bool
Gets the bottom panel element. This panel allows adding buttons label and other elements in three collections - left, center and right items.
Gets the element that is responsible for painting the image.
Gets or sets a value indicating whether to display context menu on right mouse click.
Declaration
[ Browsable ( false ) ]
public bool ContextMenuEnabled { get ; set ; }
Property Value
bool
Gets the context menu related properties.
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
Image
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
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
string
Gets the horizontal scrollbar element.
Declaration
public RadScrollBarElement HorizontalScrollBar { get ; }
Property Value
RadScrollBarElement
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.
Gets or sets the dialog responsible for image editing.
Gets the left panel element. This panel allows adding buttons label and other elements in three collections - top, center and bottom items.
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
Gets the StackLayoutPanel that is displayed when there is no image(raster or vector) assigned.
Declaration
public StackLayoutPanel NoPictureStack { get ; }
Property Value
StackLayoutPanel
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
Gets or sets a value indicating how the panels are displayed. The possible options are: always or on mouse hover.
Gets or sets a value indicating how the panels are positioned.
Specifies how the image is positioned on the element.
Declaration
public virtual RadImageLayout RadImageLayout { get ; set ; }
Property Value
RadImageLayout
Determines if users can only view the image with no interaction: zoom and context menu are not available when read only is true.
Declaration
[ Browsable ( true ) ]
public bool ReadOnly { get ; set ; }
Property Value
bool
Gets the right panel element. This panel allows adding buttons label and other elements in three collections - top, center and bottom items.
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
bool
Gets the top panel element. This panel allows adding buttons label and other elements in three collections - left, center and right items.
Gets the vertical scrollbar element.
Declaration
public RadScrollBarElement VerticalScrollBar { get ; }
Property Value
RadScrollBarElement
Gets the properties responsible for the zoom operations.
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
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.
Declaration
protected virtual SizeF CalculateZoomOffset ( double newZoomFactor, SizeF newCanvasSize)
Parameters
double
SizeF
Returns
SizeF
Declaration
protected virtual bool CanStartPan ( )
Returns
bool
Removes the image and/or svg image.
Declaration
public virtual void ClearImage ( )
Copies the displayed image into the clipboard.
Declaration
public virtual void CopyImage ( )
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected virtual RadScrollBarElement CreateHorizontalScrollBarElement ( )
Returns
RadScrollBarElement
Declaration
protected virtual LightVisualElement CreateNoPictureImageElement ( )
Returns
LightVisualElement
Declaration
protected virtual StackLayoutPanel CreateNoPictureStack ( )
Returns
StackLayoutPanel
Declaration
protected virtual LightVisualElement CreateNoPictureTextElement ( )
Returns
LightVisualElement
Declaration
protected virtual RadScrollBarElement CreateVerticalScrollBarElement ( )
Returns
RadScrollBarElement
Copies the displayed image into the clipboard and clears the displayed image.
Declaration
public virtual void CutImage ( )
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected virtual void EnableContextMenuItems ( )
Declaration
public virtual void HidePanels ( bool animate = true )
Parameters
bool
A value indicating whether to use animation.
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.
Opens an OpenFileDialog which allows the user to choose an image.
Declaration
public virtual void LoadImage ( )
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Declaration
protected override SizeF MeasureOverride ( SizeF availableSize)
Parameters
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)
Handles the bounds changed event by updating the fill primitive implementation and invoking the base class handler.
Raises the ContextMenuClosed event.
Declaration
protected virtual void OnContextMenuClosed ( )
Raises the ContextMenuClosing event.
Declaration
protected virtual void OnContextMenuClosing ( CancelEventArgs args)
Parameters
CancelEventArgs
The event arguments
Declaration
protected virtual void OnContextMenuItemClick ( object sender, EventArgs e)
Parameters
object
EventArgs
Raises the ContextMenuOpened event.
Declaration
protected virtual void OnContextMenuOpened ( )
Raises the ContextMenuOpening event.
Declaration
protected virtual void OnContextMenuOpening ( CancelEventArgs args)
Parameters
CancelEventArgs
The event arguments
Declaration
[ Obsolete ( "Override OnImageLoaded(ImageKind, LoadImageContext, string) instead." ) ]
protected virtual void OnImageLoaded ( )
Declaration
protected virtual void OnImageLoaded ( ImageKind imageKind, LoadImageContext loadContext, string filePath = null )
Parameters
ImageKind
LoadImageContext
string
Declaration
protected virtual void OnImageSaved ( )
Called when a mouse button is pressed down over the item.
Called when the mouse moves over the item, handling highlight and border highlight effects.
Called when a mouse button is released over the item.
Raises the MouseWheel event.
Declaration
protected virtual void OnPanChanged ( )
Declaration
protected virtual void OnPanelDisplayModeChanged ( )
Declaration
protected virtual void OnPanelOverflowModeChanged ( )
Notifies for a change in the Parent value.
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected virtual void OnRadImageLayoutChanged ( )
Declaration
protected virtual void OnZoomChanged ( )
Fires the ZoomGesture event.
Pastes an image from the clipboard.
Declaration
public virtual void PasteImage ( )
Declaration
protected virtual void ResetPanAndZoom ( )
Opens a SaveFileDialog which allows the user to save the displayed image.
Declaration
public virtual void SaveImage ( )
This method is not relevant for this class.
Gets a value indicating, whether a child will be arranged during the ArrangeOverride.
Declaration
public virtual void ShowPanels ( bool animate = true )
Parameters
bool
A value indicating whether to use animation.
Declaration
protected virtual void UnwireParentControl ( )
Declaration
protected virtual void UpdatePanels ( bool animate = true )
Parameters
bool
Declaration
protected virtual void UpdateParentControl ( )
Declaration
protected virtual void UpdatePictureElementPanZoomAndSize ( )
Declaration
protected virtual void WireParentControl ( )
Performs a zoom operation by given steps count.
Declaration
public void Zoom ( int step, Point? pivotPoint = null )
Parameters
int
Number of steps to zoom. Positive value will zoom-in, while a negative value will zoom-out.
Point ?
The point against which the zoom operation will be executed.
Performs a zoom-in operation with one step, according to the ZoomProperties.ZoomStep value.
Performs a zoom-in operation with several steps, according to the ZoomProperties.ZoomStep value.
Declaration
public void ZoomIn ( int steps)
Parameters
int
The count of steps to zoom in.
Performs a zoom-out operation with one step, according to the ZoomProperties.ZoomStep value.
Performs a zoom-out operation with several steps, according to the ZoomProperties.ZoomStep value.
Declaration
public void ZoomOut ( int steps)
Parameters
int
The count of steps to zoom-out.
Occurs when the context menu is closed.
Declaration
public event EventHandler ContextMenuClosed
Event Value
EventHandler
Occurs when the context menu is closing.
Declaration
public event CancelEventHandler ContextMenuClosing
Event Value
CancelEventHandler
Occurs when an item in the context menu is clicked.
Declaration
public event HandledEventHandler ContextMenuItemClick
Event Value
HandledEventHandler
Occurs when the context menu is opened.
Declaration
public event EventHandler ContextMenuOpened
Event Value
EventHandler
Occurs when the context menu is opening.
Declaration
public event CancelEventHandler ContextMenuOpening
Event Value
CancelEventHandler
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.
Occurs when a raster or vector(SVG) image has been loaded by the user.
Declaration
public event EventHandler ImageLoaded
Event Value
EventHandler
Occurs when the displayed image has been saved by the user.
Declaration
public event EventHandler ImageSaved
Event Value
EventHandler
Declaration
public event EventHandler PanChanged
Event Value
EventHandler
Raised after the ZoomFactor is changed.
Declaration
public event EventHandler ZoomChanged
Event Value
EventHandler