or
RadMenuItem Item = new RadMenuItem();RadButtonElement Btn1 = new RadButtonElement();RadButtonElement Btn2 = new RadButtonElement();Item.Text = Dates[i].ToString();Btn1.DisplayStyle = Telerik.WinControls.DisplayStyle.Image;Btn1.ImageAlignment = ContentAlignment.MiddleCenter;Btn1.Image = Properties.Resources.edit;Btn1.AutoSize = false;Btn1.Size = new System.Drawing.Size(18, 18);Item.Children[2].Children[0].Children[1].Children.Add(Btn1);Btn2.Image = Properties.Resources.delete;Btn2.DisplayStyle = Telerik.WinControls.DisplayStyle.Image;Btn2.ImageAlignment = ContentAlignment.MiddleCenter;Btn2.AutoSize = false;Btn2.Size = new System.Drawing.Size(18, 18);Item.Children[2].Children[0].Children[1].Children.Add(Btn2);DateList.Items.Add(Item);
Me.RadDockMain.MainDocumentContainer = Me.DocumentContainer1Dim im As New ImagePrimitiveim.ImageLayout = ImageLayout.Stretchim.StretchHorizontally = Trueim.StretchVertically = Trueim.Image = My.Resources.pic_Main_ImageDocumentContainer1.SplitPanelElement.StretchHorizontally = TrueDocumentContainer1.SplitPanelElement.StretchVertically = TrueDocumentContainer1.SplitPanelElement.Children.Add(im) this.radGridView1.DataSource = dsResult.Tables[0];
var checkBoxColumn = new GridViewCheckBoxColumn();
checkBoxColumn.HeaderText = " IsChecked ";
checkBoxColumn.Name = " IsChecked ";
checkBoxColumn.Width = 100;
checkBoxColumn.IsVisible = true;
checkBoxColumn.DataType = typeof(string);
checkBoxColumn.DataTypeConverter = new ToggleStateConverter();
this.rndGridView1.Columns[0] = checkBoxColumn;
This is just basic sample I have. I see the animation but somehow I am unable to drag the tiles. Any help is highly appriciated.
Thanks, Raj



