DevExpress: Adding a revert button to a tab pane - winforms

I have this requirement for a project that I can't seem to think of an idea on how to do it. Basically, I would like to add some kind of revert button beside the header of a DevExpress Tab Pane. I have below a sample image on what I wanted to achieve. Anybody can point me out if this design is possible?

Related

In Visual Studio Code, is there a way to see the explorer on the left and the outline on the right?

I am used to program having the file browser on the left of the code and the outline on the right. However, in Visual Studio Code it seems that I can only have both things on the same side. Is there any way to have them in different sides (like in the image, that comes from eclipse)?
Thanks,
DMR
Coming to Stable v1.64, see Release Notes: Side Panel so no need for the experimental settings.
Note that this second Side Bar is currently known as the Side Panel.
You can drag various views into the Side Panel like the Outline or SCM views. I would expect that more will be added later.
Demos:
This icon on the upper right was recently: it is a Layout Control icon.
Customize Layout Control
With all these new layout options, we have been exploring ways to
better expose layout configuration for discoverability and ease of
use. That's why you might notice a new experimental layout control in
your title bar. Note this only appears if your window.titleBarStyle
setting is custom and workbench.experimental.layoutControl.enabled
is set to true. The enablement is controlled by an experiment, but if
you want to enable it manually, you can do so in the Settings editor.
The contents of the menu are still being worked on, but currently you
should see the ability to toggle the Side Bar, Panel, and Side Panel.
Additionally, you will see an entry for a new command Customize
Layout. This new command triggers a new interactive quick pick
experience allowing you to control all aspects of layout configuration
in one place.
----------- With v1.65:
we are adding some options for everyone to try out with the setting
workbench.experimental.layoutControl.type. This setting has the
following options:
Menu: This is the previous behavior with a single button that opens a
menu.
Toggles: This is a new option which shows three buttons to toggle the
panel, side bar, and side panel.
Both: This is a new option which shows the toggles followed by the
menu button which still allows you to fairly quickly access the
customize layout quick pick.

Question about changing dialog box layout

Hey, I just got started designing dialog boxes and windows forms, and I had a basic question.
When you use something like a windows installer, it has a next button, and when you click it the dialog completely changes layout in moving on to the next step. My question is, is this done by loading a completely new dialog box and getting rid of the previous one. Or is there some way of making a dialog with multiple pages/states (not sure what to call them).
Thanks in advance for any help.
Wizards are usually made using the property sheet control from the Common Controls library. They do not create a new dialog, but use something similar to tab pages instead.

Visual Studio design time event handling

I am trying to create a WPF wizard control in visual studio. I am successful except I would like to navigate the pages in design time by clicking the next and previous buttons. The pages are being written in xaml. I can navigate the pages by going to the properties window and changing the selected index, but I would like something more user-friendly. I remember doing something similar in a winforms project having something to do with overriding maybe wndproc and listening to mouse click events from the designer.
So I've been googling and I can't seem to google the right words to bring this up.
Can anyone please help!
You need to create a custom Adorner as described here. There are two walkthroughs there that should help.
Ultimately, you would need to overlay a transparent button on top of your actual buttons. Then in the click handlers you'd update your selected item/index.

Silverlight - How to implement this functionality? Nice feature

I don't know what this is called in SL, but I would like to replicate this functionality. If you go to this site: http://www.mscui.com/PatientJourneyDemonstrator/PrimaryCareAdmin.htm and click on the "Show Details" button located on the top, right-hand corder of the screen. When you click on this, there should be a "Scene Details" button-like feature on the right side. When you click on this, this is what I would like to implement. Can someone direct me please? Either to an online article, etc...
I'm not precisely sure what feature of the site you'r referring to (I'm blind so the description doesn't make much sense to me). However, two useful links - some of the MSCUI source code is available on Codeplex http://mscui.codeplex.com. Also, the Silverlight developer/designer on this project created Blacklight http://blacklight.codeplex.com which includes visual assets to use with Silverlight.
Although I don't know the specifics of the implementation, as far as I can guess, this is done by having a second Grid that follows the Grid for the page. Then, simply change the visiblity on the "guide" grid when the button toggles.
I believe that is simple, although it'll require you to work to figure out the positioning of the underlying page - but it's more flexible. With Blend it'll be easy.
Alternatively you could have a ton of additional UI elements on the page next to their respective controls, and either Tag or name them in a way that you can iterate over them to control visibility and interaction.
I think you're talking about a the grey overlay with a modal window on top. I think the best way to do that in Silverlight 3 is with the ChildWindow control.

Styling Sylverlight Telerik Radupload

At the moment I'm using Silverlight RadControls from Telerik. In my site I've implemented the RadUpload control. Because the control is not styled the way I want, I'm restyling it for my site. The way I'm doing this is as follows: Right click on xRadUpload > Edit Template > Edit a Copy. After doing this I'm able to style almost everything, except for one thing.
During runtime of the Silverlight application, the xRadUpload enables users to upload files. Those files that are selected using the browse button, show up in the application in several bars. I want to restyle those specific bars.
The problem is, I can't find those bars using Expression Blend.
I've already looked at the Telerik help documentation. It says that if you want to restyle the control you need to edit the following control templates: RadUpload and UploadItem.
After reading this I think I need to edit UploadItem, but I cannot find it, while my application works correctly. Has anyone encountered this problem before, who can help me?
Looks like Telerik has listed the items that are required in the UploadItem control. If you want to get the control template you can open the Telerik dll in Reflector and in Reflector look in the Resources folder for the dll. You should see the generic.xaml in there and you can double click it to open the file. In that file you should see the control templates.
My problem is solved, for the solution go to http://www.telerik.com/community/forums/silverlight/upload/xradupload-styling-problem.aspx

Resources