Side menu in window form in .net - c#

How do I create side menu in .net windows application? Is there any possible way to implement this using MDI or should I use some kind of splitter control? Or if you may know to do it with devexpress control, it would be nice too.

I'm not sure exactly what you mean with a side menu but the following 2 codeproject articles discuss creating menus similar to the one in older versions of Outlook if that's the kind you mean?
Navigation Menu for Windows forms (Outlook bar style)
OutlookBar: A Simplified Outlook Style Sidebar Control

Related

Windows Mobile 6.5 Icons Menu

Is there an appropriate control to create an Icons Menu in Windows Mobile 6 or 6.5?
I am creating my own user control, but its hard to belive that such an important feature is missing.
This is the user control that I am developing:
Thanks in advance.
The native menu does not support icons or graphics, it always was text only.
You may have to mimic the native menu behavior and show your app in full screen to disable the standard menu bar.

Leave parent window active when child opens

How can I open a child window and keep the parent window active. I am using Silverlight 5 with the latest version of the toolkit.
I understand that playing with the brushes can help to have the background look normal but the parent window is still disabled.
I am trying to implement a find feature similar to a control F. I want the user to search in a child window and the matches would be displayed on the main display.
Thank you for your help,
ChildWindow is made for modal (disables the parent) use.
It uses a overlay window to make the background appear disabled as you've discovered, however it also marks the Application.Current.RootVisual's IsEnabled to false, which it then restores when the ChildWindow is closed.
This prevents any interaction to the controls of the 'parent' window. The only way around this to make your own style ChildWindow control but leave out this behavior.
FloatableWindow is a codeplex project from Tim Heuer's work, which is a nice quick way to solve your problem. Altho it appears as tho the project hasn't been updated in a while so compatibilty with the latest silverlight version might be in questionable.
DevExpress has a DXDialog control which includes Show and ShowDialog functions for modal and non-modal behavior. I'm sure other silverlight toolkit companies provide similar alternatives, this is just one I'm familar with.
If you don't mind making a custom control you could follow something like Tim Heuer's blog post on the subject to adapt your own control or use a tool like Reflector to reverse engineer the ChildWindow from silverlight itself and remove the parts you don't want.

what are controls .NET equivalent to this image?

in this picture,I can see: MenuStrip,??,TextBox
how do I an bar like this that have the enumeration?
I hope this clear. Thanks in advance.
If you're talking about the menu bar at the top of the window (just below the caption/title bar, which you should get for free from any Form object), then that is not a MenuStrip control.
The MenuStrip control doesn't use the native Windows menu bar, which means it's going to look very different on Windows Vista and later where the appearance of the standard menu bar was altered to be blue and plasticky. Since MenuStrip is drawn entirely in C# code, it's going to look permanently cheesy and stick out like a sore thumb.
If you want the standard Windows menu bar, you need to use the old MainMenu control. This is what everyone used back in the early days of .NET, but it's still available for backwards-compatibility and for people who care about what their apps look like. You'll probably have to add it to the toolbox manually because it's not there by default. Right-click on your toolbox and click "Choose Items", then find MainMenu in the list of available controls and ensure that it is checked.
As Blorgbeard suggested in the comments, if you're talking about the line numbers and the text editing control, they're not the standard TextBox control, either. In fact, they're not a standard Windows control at all. That's a custom control designed specifically for editing code, probably Scintilla.
You can find a .NET implementation here: http://scintillanet.codeplex.com/

Customizing a toolstrip in C# windows forms

I have a requirement to implement a toolbar similar to microsoft word 2007 using C#.
Actualy I need not implement ribbon control. I just have to implement a similar toolbar that is shown when we click on the tab of the ribbon. Just like grouping some common buttons/controls together (some buttons arranged in horizontal and some in vertical)
How can we do it ?
I suggest to use a RibbonControl. It does everything you want.
There are many free and commercial RibbonControls available for Windows Forms and WPF.
For example:
http://ribbon.codeplex.com/
http://fluent.codeplex.com/
http://www.devcomponents.com/dotnetbar/ribbon-control.aspx
http://www.telerik.com/products/winforms/ribbonbar.aspx

Creating a custom menu in .NET WinForms

Using .NET 2.0 with WinForms, I'd like to create a custom, multi-columned menu (similiar to the word 2007 look&feel, but without the ribbon).
My approach was creating a control, and using a left/right docked toolstrip, I have constructed a similar look&feel of a menu. However, there are a few shortcomings of this solution, such as
the control can only be placed, and displayed within the form;
if the form is too small, some area of the control won't be displayed;
the control also have to be manually shown/hidden.
Thus, I'm looking for a way to display this control outside of the boundaries of the application. Creating a new form would result in title-bar deactivating on display, so that's also out. Alternatively, any other approach to create a customized menu would be very welcomed.
Edit: I don't want to use any commercial products for this; and since it's about a simple menu customization, it's not related to Microsoft's ribbon "research" in any way.
unless you are in the business of providing .net components, you should be looking to buy it off the shelf. Its a lot of work getting such a control right - There are already vendors providing this kind of UI. e.g. ComponentOne
if you are trying to build this component as a product, you should look at the link below. Apparently Microsoft has a 'royalty-free' license around the Office UI to protect their R&D investments. As of now you need to tell them that you are using something similar to the Office UI. More of that here
The MenuStrip class has a Renderer property. You can assign your own ToolStripRenderer derived class to customize the painting. It's a fair amount of work.

Categories

Resources