Renders one docking-guide image and switches to its alternate image while the element is hot.
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
public DockingGuideImageElement()
Fields
Identifies the property that stores the alternate image rendered while this guide is hot.
public static RadProperty HotImageProperty
Identifies the property that stores the image rendered when this guide is not hot.
public static RadProperty ImageProperty
Identifies the property that tracks whether the pointer is over this guide image.
public static RadProperty IsHotProperty
Identifies the property that stores this image's position relative to the center docking guide.
public static RadProperty LocationOnCenterGuideProperty
Properties
Gets or sets the alternate image drawn while the guide is hot.
[TypeConverter(typeof(ImageTypeConverter))]
public Image HotImage { get; set; }
Implements:
Gets or sets the image drawn when the guide is not hot.
[TypeConverter(typeof(ImageTypeConverter))]
public Image Image { get; set; }
Implements:
Gets or sets the image's position relative to the center docking guide.
public Point LocationOnCenterGuide { get; set; }
Implements:
Gets the size of the image currently used for layout, preferring HotImage while the guide is hot.
public Size PreferredSize { get; }
Implements:
Methods
Copies image and position settings from the supplied guide image and disables the element shadow.
public virtual void Initialize(IDockingGuideImage image)
The image settings to copy.
Enables painting for this image element after initializing the base fields.
protected override void InitializeFields()
Overrides:
Measures the element using the active image's dimensions, falling back to the base measurement when no image is set.
Marks the guide image hot so it can display its alternate image.
Clears the hot state when the pointer leaves the guide image.
Invalidates the parent's measurement when this image's center-guide position changes.
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
The property change details.
Overrides:
Resets the image, hover image, position, and shadow settings to their default values.
public virtual void ResetValues()