how to css format for devexpress gridview - c#

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.

Related

How to enable Telerik RadGrid UI setting

I have a C# project that is attached to a sql database. I needed some advance settings in GridView so my friend helped me use a Telerik.WinControls.UI.RadGridView which is good for my purpose but for some reason while it works perfectly on my friend's system, it seems to be missing some things in mine. I have Telerik UI for WinForms Q3 2015 SP1 installed on my system but I cannot "select" the gridview in my form and the "UI setting" doesn't appear on the top right of the gridview. If I need to see the properties of the view I have to choose it from the above list in properties tab. I can use a few of the options in the properties tab to edit the GridView UI (like for example column ) but it does not have everything I need. Can anyone help me about this? Why my GridView is disabled while it works perfectly in my friend's system?
Here you can find an answer to your question: RadControls for WinForms are not loaded at design-time

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

Ajax Accordion in Visual Studio 2010, is there a solution to this?

I have a page that I am using an Ajax Accordion and when I run the site it works perfectly fine, but when I am in the design view of VS2010 everything looks like a jumbled mess. The accordion is put into what to me looks like a list box, there are no panes to minimize, and there is a lot of scrolling up and down to look at the controls that are in each pane.
I am not sure if this is just how it is supposed to be or if I am doing something wrong, because in my work with dreamweaver(although its not an Ajax Accordion) I found that you could collapse each pane in its design view, and it would more accurately show the look of what you have just created. So is there any way to achieve this?
If there is any code that could be useful I can provide it, Thank you
The design view in VS is notoriously poor at showing things as they should be. Honestly - just don't use it. If you want to view accurate markup/controls in real time, just debug while you make changes. Saving the file and refreshing the page will show your updates.

silverlight dropdown menu

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.

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.

Categories

Resources