Telerik Forums
UI for WinForms Forum
2 answers
213 views

Is it possible to 
1. Change the arrow button to something bigger
2. Change mouse to arrow instead of resize

 

Pleas see image

Dimitar
Telerik team
 answered on 18 Feb 2019
1 answer
141 views

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

Dimitar
Telerik team
 answered on 15 Feb 2019
0 answers
55 views

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.

Grzegorz
Top achievements
Rank 1
 asked on 14 Feb 2019
5 answers
2.6K+ views

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.

Dimitar
Telerik team
 answered on 14 Feb 2019
0 answers
151 views

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);

Javier
Top achievements
Rank 1
 asked on 14 Feb 2019
3 answers
863 views

     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.

 

Dimitar
Telerik team
 answered on 13 Feb 2019
4 answers
353 views

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.

Ioannis
Top achievements
Rank 2
 answered on 12 Feb 2019
1 answer
604 views

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

Hristo
Telerik team
 answered on 12 Feb 2019
5 answers
152 views
So, I've been saving my Visual Studio Settings for years now, and the usual size  of the file is ~300kb
On Visual Studio 2019, when exporting the settings, the file created is now 20MB, a substantial difference to say the least.

Now, I can't confirm that this is Telerik's doing, but upon inspecting the endless lines of XML, one thing has remained the same... Telerik references.

You can access a zipped version of it here: https://www.dropbox.com/s/51ves9qq7ui02sl/2019-02-04%20Default%20VB.rar?dl=1
If this has nothing to do with Telerik, I apologise for having wasted your time.

Best regards,
Ioannis Mamalikidis
Ioannis
Top achievements
Rank 2
 answered on 11 Feb 2019
6 answers
199 views

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

Dimitar
Telerik team
 answered on 11 Feb 2019
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
DateOnlyPicker
TimeOnlyPicker
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?