It’s an unbelievably difficult time – we do hope everyone is doing well and making the best out of present circumstances. If we can be of help, please don’t hesitate to reach out (clientservices@devexpress.com).
In this post, I’ll share some interesting WinForms-related customer questions we received over the last few months. Hopefully they will be of value as you build your next WinForms project.
- How to fill a Progress Bar Control with a 3-color gradient (T875983)
The DevExpress Progress Bar includesStartColor
andEndColor
properties that function when the control has no active skin. If you want a multi-color gradient, handle the control'sPaint
event. Note: This approach works only for stand-alone Progress Bars. If you want an embedded Progress Bar with similar behavior, create a custom descendant instead. - How to dock a WinForms DockPanel at the specific position within a Tabbed View's DocumentGroup (T872716)
- How to highlight WinForms Grid Control rows (T872799)
DataGrid uses an intricate appearance hierarchy. When you handle the RowStyle event, make sure to enable thee.HighPriority
property so that your custom row appearances override default settings. - How to dynamically provide tooltips for a WinForms Label Control used inside different containers (T873412)
- How to colorize a pencil icon displayed in the WinForms Data Grid row indicator (T874128)
- How to enable Glow and Shadow effects for a WinForms FlyoutPanel (T875161)
FlyoutPanel has no built-in shadows. However, inside every flyout there is a regular form that supports the CS_DROPSHADOW window style - apply this style to enable required visual effects. - How to use custom editors inside the DevExpress WinForms PropertyGrid control, and why the control may disable them (T874267)
- How to obtain a value for a custom skin element property (T875718)
DevExpress Skin Editor allows you to add custom properties to skin elements. This ticket explains how to access them in code and retrieve their values. - How to draw vertical strings in our WinForms Scheduler’s time cells (T872916)
- How to increase font and image sizes in the WinForms ImageComboBox edit drop-down without affecting the editor's text box (T873995)
You can see an example of such an ImageComboBox within our Outlook Inspired App demo (main application menu, the "Print tab). - How to import Excel data into a WinForms Data Grid, edit this data, and export it back into an XLS file (T874941)
- How to align editors inside a WinForms Ribbon control (T873547)