silverlight dropdown menu - c#

i'm trying to built a dropdown menu for a silverlight web application. it should look something like showed on the Screenshot. Does somebody has an idea how to implement this? I tried to use sl4popupmenu but the downloadable project doesn't work in expression blend or visual studio designer.
Regards,
float

That shouldn't be too difficult to do. I'd suggest using Blend and then just edit the template for the Combobox control. You can get pretty crazy with what you can do with templates.

Related

How can I have a solution based layout for my WinForms application?

I am coding a C# forms application where I am wanting to have the layout of my application to have a similar style of the Visual Studio 2013 layout. By this, I mean to have a property grid at the lower right of the screen, a solution explorer to the top right of the screen, tabs for the content and a toolbox.
Do I need to use a FlowLayout control for this? I have previously found some sample code with this layout all coded to use as a template, however I cannot seem to find this after doing a search. What is the correct terminology for this layout style? Also, is there a Microsoft sample for this?
Here is an image of what I am looking for:
Thanks.
You can use the following readily made controls from Visual Studio:
System.Windows.Forms.PropertyGrid for the properties
System.Windows.Forms.TreeView for the solution explorer
For the toolbox you will need to create a custom-control, with search box and dropdown tabbing of pages. See making of custom controls here:
https://msdn.microsoft.com/en-us/library/vstudio/6hws6h2t(v=vs.100).aspx
http://www.codeproject.com/Articles/2016/Writing-your-Custom-Control-step-by-step

How to add visual controls to a Console application?

I am looking for a way to add visual controls into a console application. Is this supported by Visual Studio? If yes how to do it? any samples or links?
By visual controls I mean text boxes, menus, etc... Something similar to the following picture:
Thank you!
You probably want something like NCurses or MonoCurses as there's nothing really built in to do this for you, interacting with the console is pretty basic.
See these links:
http://mono-project.com/MonoCurses
http://sourceforge.net/projects/curses-sharp/

how to css format for devexpress gridview

I am trying to learn devexpress gridview. I setup everything and works fine but there is a styling problem.
In old days, when u drag and drop a gridview from the visual studio's toolbar, it used to look perfect but the gridview from devexpress doesnt look nice. something is wrong with this.
here is the image...
it seems like the grid is in a div block and there is a margin at the right and top. I am using a trial version of devexpress. Do u think it is because of the trial or am I doing something wrong?
DevExpress controls allow for a lot of customization. You can do that via the "Run Designer" button, or via events like "CustomDrawColumnHeader", "CustomDrawCell" etc. You can also contact them, they have a great Support Team. I've been using them for a while and the results I'm getting are way better of the standard Visual Studio controls.

How to create a stylish tab contol with items inside it like visual studio 2010

I want to develop an application. I want to create a stylish tab control and display pictures like Form1.cs looks like in visual studio tab control ,and i want to highlight it a yellow color when it is clicked.
you can understand by seeing this image,
There would be a great appreciation if someone could help me.
Thanks In Advance.
You need WPF.
AFAIK, AvalonDock is one good library made for very similar look. You need to check its forum for examples and latest discussions.
Have you looked at WPF (Windows Presentation Foundation)? The IDE Shell of Visual Studio 2010 (from the screenshot) has been written using WPF.

Visual Studio C#, WPF controls

I'm making a simple program in Visual Studio C# for school and I'm using the WPF Controls. I'm making some type of monthly report that I need to visualize in a table with the columns that represent the days.
The problem is that I don't know which control to use. I tried with with the ListBox but it does not give a good result to me.
Thank you
Sounds like you either want a datagrid, or an itemscontrol with a custom paneltemplate and itemstemplate.
Edit: If you aren't serious about learning WPF, stick with winforms, the learning curve is far easier. If you want to do any serious user interface work tho, keep working to learn WPF.
So if I understand correctly you need a grid.
If you use .net 4 you got a build in DataGrid
If not download it from wpf toolkit or consider the use of listview with the view of a grid view

Categories

Resources