ClassDockingGuideImageElement
Definition
Namespace:Telerik.WinControls.UI.Docking
Assembly:Telerik.WinControls.RadDock.dll
Syntax:
public class DockingGuideImageElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IDockingGuideImage
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemDockingGuideImageElement
Implements:
Inherited Members
Constructors
DockingGuideImageElement()
Declaration
public DockingGuideImageElement()
Fields
LocationOnCenterGuideProperty
Declaration
public static RadProperty LocationOnCenterGuideProperty
Field Value
Properties
HotImage
Declaration
[TypeConverter(typeof(ImageTypeConverter))]
public Image HotImage { get; set; }
Property Value
Implements
Image
Declaration
[TypeConverter(typeof(ImageTypeConverter))]
public Image Image { get; set; }
Property Value
Implements
LocationOnCenterGuide
Declaration
public Point LocationOnCenterGuide { get; set; }
Property Value
Implements
Methods
Initialize(IDockingGuideImage)
Declaration
public virtual void Initialize(IDockingGuideImage image)
Parameters
image
InitializeFields()
Initializes the fields of this instance with their default values.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
e
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Called when a property value has changed, handling item-specific property change logic including text, visual state, and animation properties.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
The property changed event arguments.
Overrides
PaintElement(IGraphics, float, SizeF)
Paints the element's background and calls the base implementation to paint child elements.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics object used for painting.
angle
The rotation angle to apply during painting.
scale
The scale factor to apply during painting.
Overrides
ResetValues()
Declaration
public virtual void ResetValues()