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"); }