Is it possible to
1. Change the arrow button to something bigger
2. Change mouse to arrow instead of resize
Pleas see image
Hi,
I'm using a ribbon and have added a theme to it,so it visually matches the entire app.
That is all perfectly fine, except that I would like to change the mouse-over highlight color so it is different in certain situations.
I have tried to do a SetThemeValueOverride for the radButtonElement(s), but have not found the correct property to change, and/or the correct values to pass. For example:
this.radButtonElement1.SetThemeValueOverride(LightVisualElement.HighlightColorProperty, Color.Red, "");
Can you please help me with the correct property and parameters to use for this situation? Thanks :)
Regards
Thomas
Hello
I have a RadDropDownList implemented with data source from database.
In fill method i have order by column desc which is DisplayMember.
The problem is that list is shows from the end , from the smallest number instead of the largest.
Since I have everything inside a RadDock, I'm assuming this is a RadDock issue.
There are 3 things that are the matter:
1) Controls will resize themselves on the designer. For example, look at Picture 1. When I last closed the project, I had resized it to fit the form perfectly. I opened it today and the control extends farther than the form resulting in non-visible area. This keeps happening, it's not a one-off thing.
2) What you see on the designer is not what you get. I run the programme with the control extending farther than the visible area, as it was on Picture 1, and what I get at runtime is the control not actually filling the whole form.
3) When resizing in the designer, some controls with anchors that make them resize when their parent does, will not resize properly.
The only way I found to get the sizes like I want them is to use the control.dock property, but you can only do that so many times on a panel.. so then you need panels inside panels to dock in them, and then panels inside panels inside panels depending on the layout. I'd much rather just use anchors but they have to work correctly.
Now, I'm not sure if the problem is cause but something specific that I did, or did wrongly - so if you need more information, please tell me.
Good evening, I have a small inconvenience, I want to show a vertical line in the highest value of the chart, but when I try to do it, it shows the line vertically. Any suggestions? Thanks.
this code:
var max_linea = listaDatos.Max();
var min_linea = listaDatos.Min();
var posicion = listaDatos.IndexOf(listaDatos.Max());
CartesianGridLineAnnotation annotation1 = new CartesianGridLineAnnotation();
annotation1.Axis = this.ChartSuspension.Axes[1] as CartesianAxis;
annotation1.Value = max_linea;
annotation1.BorderColor = Color.Red;
annotation1.BorderDashStyle = DashStyle.Solid;
annotation1.BorderWidth = 1;
this.ChartSuspension.Annotations.Add(annotation1);
CartesianGridLineAnnotation annotation2 = new CartesianGridLineAnnotation();
annotation2.Axis = this.ChartSuspension.Axes[0] as CartesianAxis;
annotation2.Value = posicion;
annotation2.BorderColor = Color.Blue;
annotation2.BorderDashStyle = DashStyle.Solid;
annotation2.BorderWidth = 1;
this.ChartSuspension.Annotations.Add(annotation2);
I am able to use the bindinglist() as a datasource for my winforms gridview. I set a timer to randomly update an item in my binding list and the changes are correctly reflecting on the grid. I am using the Onpropertychanged and iNotifyPropertyChanged events in my data class, so my grid is updating with the correct values when the underlying data changes.
I would like to make the cell momentarily change color when the data is changed in that cell.
Is there a grid event that fires when the underlying data changes when using a bindinglist and the onpropertychanged notifiers?
I cannot seem to locate the correct grid event that fires when the data changes.
Hello,
So, I have a SplitContainer which contains checkboxes and stuff whose Enabled and Checked statuses will determine what Values will be written on the Database.
When the process to write to the DB begins, I make the Splitcontainer.Enabled = False so that the user will not change anything after the Submit button has already been pressed.
I notice that even though the togglebutton's enabled status is True, when its parent, the Splitcontainer has Enabled=False, the togglebutton itself goes to Enabled=False.
I didn't programme such behaviour, so am I right to assume that this is something that happens by default on Telerik controls?
If so, is there a way to globally disable it? On the normal Windows Forms Controls this doesn't exist and I am used to leveraging this behaviour.
Hi!
Can you please tell me how can I change the background color of dropdown list item with SetThemeValueOverride when the item is in mouseOver state?
And how can I identify the elements, primitives, properties in every case if I need to change something with SetThemeValueOverride? Is there a generic guideline?
Until now I used your Visual Style Builder, but in some specific cases it doesn't help.
e.g.: DropDownList has a ListView, but how can I access ListItems and their states (default, mouseOver, Disabled etc.) through the DropDownList element?
Thank you,
Sandor
Hello,
Please advise whteher there is an available code sample on how to use the following specified method in winforms
IImageExporter..::..ExportToImage Method
http://doc.evget.com/HelpDocument/RadControlsForWpf/html/M_Telerik_Windows_Controls_GanttView_IImageExporter_ExportToImage.htm
or any alternative routine to achieve the same desired effect.
Many thanks