I'm using a RadPropertyGrid to display a categorized list of string fields. I don't want the user to be able to edit the fields, but I do want them to be able to select and copy the text in the fields. In order to do this, I set the IsReadOnly property of the PropertyGrid to True. When I do this, the text fields are grayed-out. I don't like this because it makes the fields hard to read, and it is less obvious to the user that they are able to copy the text in the grayed-out fields.
I have looked all over the place, and tried a number of suggestions, to make the grayed-out fields look like normal fields, but nothing so far has worked.
The XAML I am using to define the property grid is pretty simple:
<telerik:RadPropertyGrid Grid.Row="1" Name="propGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" IsGrouped="True" SortAndGroupButtonsVisibility="Collapsed" SearchBoxVisibility="Collapsed" RenderMode="Flat" IsReadOnly="True" Item="{Binding DynItem}" />
The CurrentReadOnly.png file shows the current situation, where the read-only fields are grayed-out. The DesiredReadOnly.png file shows the look I am trying to achieve.
Is there a way to do this (preferably keeping the rest of the currently selected theme intact).
Hi,
I am surprised that there is no MaxLength attribute for RadAutoCompleteBox.
I want user to free type text and if they don't find what they are looking for, I want to accept the value typed by user.
I figured out that I am unable to restrict the free typing after max length of 15.
How can I implement this ?
Hi,
I'm regularly getting the following exception whenever I move around my Window with a RadBusyIndicator in it. There are multiple windows, each with their own busy indicator. (The Window is a template, and is filled dynamically at runtime.
01.No Title02.System.NullReferenceException was unhandled03. HResult=-214746726104. Message=Object reference not set to an instance of an object.05. Source=Telerik.Windows.Controls06. StackTrace:07. at Telerik.Windows.Automation.Peers.RadBusyIndicatorAutomationPeer.GetCustomPropertyValuesCore()08. at Telerik.Windows.Automation.Peers.RadBusyIndicatorAutomationPeer.GetItemStatusCore()09. at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()10. at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()11. at System.Windows.Automation.Peers.AutomationPeer.UpdatePeer(Object arg)12. at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)13. at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)14. at System.Windows.Threading.DispatcherOperation.InvokeImpl()15. at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)16. at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)17. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)18. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)19. at System.Windows.Threading.DispatcherOperation.Invoke()20. at System.Windows.Threading.Dispatcher.ProcessQueue()21. at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)22. at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)23. at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)24. at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)25. at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)26. at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)27. at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)28. InnerException:
Any ideas?
Thanks!
​


Hi,
Is it possible to not receive handled MouseDoubleClickEvent and MapMouseDoubleClickEvent in RadMap when the event is handled in a item of a map layer ? I've joined a sample that demonstrates the problematic behavior (for me).
Thank you,
Etienne
Is it possible with your controls to build a LinearGauge with a logarithmic scale and logarithmic tickmarks?
After adding a handler, the next step is to set focus to the cell (if any) under the mouse click.
this.AddHandler(MouseLeftButtonDownEvent, new MouseButtonEventHandler(this.myRadGridView_MouseDown), true);I can set the cell focus given row and column.
The goal is to find the UIElement under the mouse click, if any, and then attempt to set Focus to it.
Thank you for your assistance.
Hi All,
I am trying to create a horizontal stacked bar to show data. Below is the code I have so far.
The problems that I'm having are:
1. It creates the chart but the data bar seems to be vertical. I want it to go horizontal.
2. I want each segment of the bar to have a different color automatically from the theme.
3. I want each segment of the bar to have its own tooltip.
What am I missing?
Thanks for your help!
this.Chart = new Telerik.Windows.Controls.RadCartesianChart() {
MinHeight = 0,
MinWidth = 0,
HorizontalAxis = new Telerik.Windows.Controls.ChartView.CategoricalAxis() {
Visibility = System.Windows.Visibility.Collapsed,
},
VerticalAxis = new Telerik.Windows.Controls.ChartView.LinearAxis() {
Visibility = System.Windows.Visibility.Collapsed,
}
};
Chart.Background = System.Windows.Media.Brushes.Green;
Chart.HorizontalAlignment = System.Windows.HorizontalAlignment.Stretch;
Chart.VerticalAlignment = System.Windows.VerticalAlignment.Stretch;
var DataSeries = new Telerik.Windows.Controls.ChartView.BarSeries();
DataSeries.CombineMode = Telerik.Charting.ChartSeriesCombineMode.Stack100;
foreach (var item in e.Parameters) {
DataSeries.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Value = item.Used, Category = "1" });
DataSeries.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Value = item.Available, Category = "1" });
}
Chart.Series.Add(DataSeries);​

Hey all.
I'm playing around with DragDrop behaviours, mainly dragging from other controls (or explorer), and dropping onto a TreeListView. I would like to set the drag visual in these instances (for example, detail how many files are being dragged), but currently, the only way to create a visual is when the item is the source of the drag operation, not the destination.
Does anyone have any pointers as to where I can go from here ?