| Dim sched As New RadScheduler |
| sched.BackColor = System.Drawing.Color.White |
| sched.DataSource = Nothing |
| sched.Dock = System.Windows.Forms.DockStyle.Left |
| sched.HighlightToday = True |
| sched.Location = New System.Drawing.Point(0, 0) |
| sched.Name = "RadScheduler1" |
| sched.Size = New System.Drawing.Size(200, 560) |
| sched.TabIndex = 0 |
| sched.Text = "RadScheduler1" |
| sched.AllowDrop = True |
| Me.pnlSchedule.Controls.Add(sched) |
| Dim view As Telerik.WinControls.UI.SchedulerDayView |
| view = TryCast(sched.ActiveView, Telerik.WinControls.UI.SchedulerDayView) |
| If view IsNot Nothing Then |
| view.StartDate = DateTime.Today |
| view.DayCount = 1 |
| view.ShowAllDayArea = False |
| view.ShowDayHeaders = False |
| view.ShowHeader = False |
| End If |
| Hi, I am evaluating Telerik controls for Windows Forms, and what I want to achieve is something like the left-hand side panel on the "Save-As" dialog window when in Windows Vista (try notepad and do 'save as'). Is basically something like: |
| |----------------------------------| |
| |Favorites Links | |
| | {Content} | |
| | | |
| | | |
| | | |
| | | |
| ----------------------------------- |
| | Folders ^ | |
| ----------------------------------- |
| so, "Favorites" remains visible all the time (locked), and "Folders" (docked on the bottom) expand upwards without covering the whole "Favorites" area like: |
| |----------------------------------| |
| |Favorites Links | |
| | {Some Content} | |
| | | |
| ----------------------------------- |
| | Folders V | |
| ----------------------------------- |
| | {Content} | |
| | | |
| | | |
| | | |
| ----------------------------------- |
| Then you click on the "V" againg and the "Folders" group docks back at the bottom again. |
I can retrieve an image from an image cell with the following
| myImage = radGrid.Rows(r).Cells(c).CellElement.Image |
FilterExpression filter = new FilterExpression();
filter.Predicates.Add(
FilterExpression.BinaryOperation.AND, GridKnownFunction.Contains, GridFilterCellElement.ParameterName);
filter.Parameters.Add(
GridFilterCellElement.ParameterName, "0");
this.radGView1.Columns["Active"].Filter = filter;
foreach (string strConnectedItem in arrTemp)
{
RadListBoxItem item = new RadListBoxItem();
if (arrConnectedDLD.Count != 0 && arrConnectedDLD.Contains(strConnectedItem))
{
//arrConnectedDLDinMasterFile.Add(strConnectedItem);
////RadListBoxItem item = new RadListBoxItem();
item.Text = strConnectedItem;
item.Image = imageListLB.Images[1]; ;
item.Value = strConnectedItem;
arrDLDList.Add(strConnectedItem +
"." + "1");
radLbDLD.Items.Add(item);
radCbDLD.Items.Add(
new RadComboBoxItem(strConnectedItem, strConnectedItem));
}
else
{
// arrNotConnectedDLD.Add(strConnectedItem);
//RadListBoxItem item = new RadListBoxItem();
item.Text = strConnectedItem;
item.Image = imageListLB.Images[0];
item.Value = strConnectedItem;
arrDLDList.Add(strConnectedItem +
"." + "0");
radLbDLD.Items.Add(item);
radCbDLD.Items.Add(
new RadComboBoxItem(strConnectedItem, strConnectedItem));
}
item.BorderThickness =
new System.Windows.Forms.Padding(1);
item.CanFocus =
true;
//item.Margin = new System.Windows.Forms.Padding(15, 0, 0, 0);
item.TextImageRelation = System.Windows.Forms.
TextImageRelation.ImageBeforeText;
item.TextSeparatorVisibility = Telerik.WinControls.
ElementVisibility.Visible;
}
radLbDLD.DataSource = arrDLDList;