Binding myBinding = _isPropertyEditor ? new Binding("DisplayNameEditor") : new Binding("DisplayNamePropertyEditor");
myBinding.Source = DataContext;
Header.
SetBinding(TextBlock.TextProperty, myBinding);
Hi,
I have used the below code to make the parent and child gird (self reference) column with as same.
this.binder = new ColumnWidthBinder(this.RadGridView1);
if (
dataControl.ParentOfType<RadGridView>() != null)
{
for(int i = 0; i < dataControl.Columns.Count; i++)
{
this.binder.RegisterColumn(dataControl.Columns[i], i);
}
}
all the column widths of parent and child coming correctly. the self reference hierarchy is also find but its like all left aligned. If I want to maintain the width as same and also the child items should indent from the parent (tree view hierarchy), what I have to do?
Any help appreciated?
Thanks,
Ramasamy
private void CbSelectionChanged(object sender, SelectionChangedEventArgs e) { if (e.AddedItems.Count == 1) { var selection = e.Audited[0] as ExtensionInfo; if (selection != null ) _telerikReportViewerModel.SelectedRenderingExtension = selection; //clear selection ((ComboBox) sender).SelectedItem = null; }
Hi,
With Q2 2011, it is not possible to drag RadDocking panes, when the raddocking is placed inside
a radtabcontrol. See code below. I think that this is a known issue.
When do you expect to solve this issue?
In the meanwhile, is there a workaround?
Thanks,
Thomas
<Window x:Class="MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="350" Width="525"> <Grid> <telerik:RadTabControl > <telerik:RadTabItem Header="Item 1"> <telerik:RadDocking> <telerik:RadSplitContainer> <telerik:RadPaneGroup> <telerik:RadPane Header="1"></telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> <telerik:RadSplitContainer> <telerik:RadPaneGroup> <telerik:RadPane Header="2"></telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking> </telerik:RadTabItem> </telerik:RadTabControl> </Grid></Window>