Version

ImageRight Property

Gets or sets the image used for the right drop indicator
Syntax
'Declaration
 
Public Property ImageRight As Image
public Image ImageRight {get; set;}
Remarks
If this property has not been specifically set, an attempt to resolve the image will be made using the other image properties. A resolved image is rotated appropriately. Resolution order: If the right image is not set, the left image will be checked. If the left image is not set, the bottom image will be checked. If the bottom image is not set, the top image will be checked. If none of the images are set, null is returned.
Example
Demonstrates how to set the image properties and Color property for the DragDropIndicatorSettings class.

Private Sub BtnSetDropIndicator_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnSetDropIndicator.Click
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.Color = Color.Green
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageTop = Image.FromFile("topImage.jpg")
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageBottom = Image.FromFile("bottomImage.jpg")
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageLeft = Image.FromFile("leftImage.jpg")
    Me.UltraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageRight = Image.FromFile("rightImage.jpg")
End Sub
private void btnSetDropIndicator_Click(object sender, EventArgs e)
{
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.Color = Color.Green;
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageTop = Image.FromFile("topImage.jpg");
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageBottom = Image.FromFile("bottomImage.jpg");
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageLeft = Image.FromFile("leftImage.jpg");
    this.ultraGrid1.DisplayLayout.Override.DragDropIndicatorSettings.ImageRight = Image.FromFile("rightImage.jpg");
}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also