Can you help.
Kind Regards
David
I am trying to figure out how to access the width property of a particular day element.
I am using the scheduler theme and using a radhostitem within a specialday in order to display a listbox with a clickable list of items for that date. I need to find a way to programatically set the width of the controls or else they interfere with the underlying cell. Or is there an easier way of implementing this functionality???
Dim c As New RadPanel
Dim tmpLabel As New Label
tmpLabel.BackColor = Color.Transparent
tmpLabel.Width = 75 ''''' THIS IS WHERE I NEED TO FIND DIMENSIONS OR MAYBE FOR THE RADPANEL ITSELF
tmpLabel.Text = Me.RadCalendar1.SpecialDays(0).Date.Day
c.Controls.Add(tmpLabel)
Dim tmpList As New ListBox
tmpList.Width = 90 ''''' THIS IS WHERE I NEED TO FIND DIMENSIONS
tmpList.Height = 90tmpList.Font = New System.Drawing.Font(FontFamily.GenericSansSerif, 8, FontStyle.Regular)tmpList.BorderStyle = BorderStyle.None
tmpList.Items.Add("TESTING")
tmpList.Items.Add("TESTING2")
tmpList.Items.Add("TESTING3")
c.Controls.Add(tmpList)
c.Controls(1).Location =
New System.Drawing.Point(3, 10)
Dim myTemplateItem As New RadHostItem(c)
Me.RadCalendar1.SpecialDays(0).TemplateItem = myTemplateItem
Hello,
I would like to only have the "Minimize the Ribbon" option in the RadToolstripOverflowButtonElement's Items Collection, but I haven't found a way to access this.
If I look at the Items Collection for the RadToolstripOverflowButtonElement on the form itself, there are no items present to remove.
I have used the RadControlSpy to see if this would give me a way to remove the additional items currently there and although it is successful while in Run mode, the modifications then disappear once I close and rerun the app. The interesting thing is that when I initially start the app and look at this control with Control Spy it doesn't show any items in the Collection either. Only when this control has already been clicked on do the items appear in Control Spy.
Can anyone help me understand this please.
Many thanks,
Viv