Top "Controls" questions

Use this tag for programming scenarios related to controls (interactive elements of the user interface).

Why is adding SuspendLayout and ResumeLayout reducing performance?

I need to add a lot of controls to a parent control. But I find if I add ParentControl.SuspendLayout …

c# winforms layout controls suspend
Getting Light Sensor Value

So I'm looking for a way to get the current value of the Light Sensor (in Lux obviously) on a …

java android controls sensors
Getting all selected checkboxes from a FormCollection

I have a form which contains a whole bunch of checkboxes and some other types of control too. I need …

asp.net-mvc controls webforms checkbox formcollection
Saving higher resolution charts without messing up the appearance

you'll all have to excuse my ignorance as I have only recently started working with C#. I just have a …

c# charts resize controls resolution
DevExpress vs infragistics Suites - looking to possibly switch

We are currently an Infragistics NetAdvantage Select customer and have been for a few years. Their controls are ok but …

controls devexpress infragistics
How to hide Table control Column?

Following code in PBO doesn't work to hide the column completely. LOOP AT SCREEN. IF SCREEN-NAME EQ 'GT_SO-POSNR' SCREEN-INPUT = 0. …

controls abap show-hide dynpro
C#: Overriding OnPaint on ProgressBar not working?

Was thinking it should be pretty easy to create a ProgressBar that drew some text upon itself. However, I am …

c# winforms controls overriding onpaint
What is the best way to simulate a Click with MouseUp & MouseDown events or otherwise?

In WPF most controls have MouseUp and MouseDown events (and the mouse-button-specific variations) but not a simple Click event that …

wpf controls click mouseevent
WPF: What is the generic container control?

In HTML the generic container control is a DIV. It doesn't do a anything on its own, but it makes …

wpf controls containers
c# wpf overlapping controls not receiving mouse events

I am building a canvas control. This root canvas has several overlapping children (canvas as well). This is done so …

c# wpf controls mouse z-order