or
private void PropertyGrid_EditorInitialized(object sender, PropertyGridItemEditorInitializedEventArgs e){ Debug.Assert(e.Item is PropertyGridItem); var __e_Item = e.Item as PropertyGridItem; if (__e_Item.Name.Equals(DataSourcePropertyGridNames.Name, StringComparison.CurrentCultureIgnoreCase)) { Debug.Assert(e.Editor is BaseTextBoxEditor); var __e_Editor = e.Editor as BaseTextBoxEditor; //TODO: Implement this and examine sender (I think). __e_Editor.Validating += PropertyGrid_Name_Editor_Validating; }}
Hi Telerik Team,
I need help with the tree view (using Q2 2012 SP1)
When i am dragging one or more rows from the radgridview to the radtreeview, how can i force the treeview to expand and highlight the treenode that i am hovering (dragging) over?. And how can I show feedback in the treeview of the target drop position, similar to the dotted line used when dragging in the treeview itself) ?
I am using the RadDragDropService. (radGridView.GridViewElement.GetService<RadDragDropService>)
Thank you in advance.
Best regards,
Henri
Private Sub Menu_Load(sender As Object, e As System.EventArgs) Handles Me.Load Dim i As Integer Dim r As Integer Dim c As Integer = 0 Dim groep As New TileGroupElement groep.Text = "hoi" RadPanorama1.Items.Add(groep) For i = 0 To 45 If i Mod 4 = 0 Then If i <> 0 Then r = r + 1 End If End If groep.RowsCount = r + 1 Dim tile As New RadTileElement tile.Text = CStr(i) tile.Row = r tile.Column = c c = c + 1 If c = 4 Then c = 0 tile.Tag = i AddHandler tile.Click, AddressOf tile_click groep.Items.Add(tile) Next Me.RadPanorama1.AllowDragDrop = False groep.ShouldHandleMouseInput = True End Sub Private Sub tile_click(sender As System.Object, e As System.EventArgs) RadPanorama1.PanoramaElement.SuspendLayout(True) MessageBox.Show(CType(sender, RadTileElement).Tag) RadPanorama1.PanoramaElement.ResumeLayout(True, True) End Sub