Allow the DevExpress.XtraTab.XtraTabControl have its tabs at the bottom - vb.net

I am using DevExpress 11.2 within Visual Studio 2010 and I am currently using the DevExpress.XtraTab.XtraTabControl within my form. I love the way the tabs look; however, I would like the tabs to be located at the bottom of the TabControl rather than the top. Is there any way to do this?

Have a look at the XtraTabControl.HeaderLocation property
Also check out the XtraTabControl.HeaderOrientation Property

Related

Display controls in Designer VB.Net 2013

I have a set of controls which are added dynamically to a panel. The number of controls depends on which tab a user selects from TabPage control, which is embedded in a form.
At the moment, the controls don't appear in Designer, but appear during execution.
I managed to display controls for other forms which are not dynamic by moving the non-design code to the vb file, but how can I display the other ones?
The only answer that I know of is to add your code in the .Designer.vb file of the Form.
BUT! I strongly advise you to avoid that if you are not sure how it works! Custom code in the .Designer. files can break your form design and project with possible random crashes.
Also, your code can be changed and removed by the Visual Studio designer:
Custom code in designer.vb file goes away when making edits in design mode
Instead, you can make the panels into custom user controls and add those to the tabs.

Embed CommandBar into Form

I'm not sure if this is at all possible, but I'd like to be able to 'embed' a CommandBar into an Access 2003 Form.
I'd like to do this because the nature of my application is such that its forms are 'floating' so it doesn't look like it was developed in Access.
I know I can put Command Buttons on the form, which would achieve something similar, but I'd like a way to differentiate between the two types of buttons.
I'll be using it (if it's possible) to have a help menu present on some Forms.
Any ideas would be greatly appriciated!
I managed to achieve a similar effect by placing labels of a different color at the top of the form, then assign custom context menus to appear on left click. This is similar to the code found here:
How to add a menu item to the default right click context menu

VisualState Name and GroupName, WinRT WinPRT

I'm trying to set custom visual states of multiple items like Button, GridViewItem, and ListBoxItem. It seems like I'm missing some states. I searched through the stackoverflow and msdn and could not find a list of possible visual states so that I can verify if I'm covering them all or not.
Does anyone know somewhere I can find a list of VisualState Names and GroupNames?
Update: you can check the Templates for Button in Visual Studio but not for those items that cannot be added through the toolbox.
One place to find them is in control templates themselves. Right click a control in the designer view and extract the template to see what visual states it responds to.

how to place the imagekey to the right side of the listview

I am trying to add an imagekey to my items and it works fine except that the image
appears on the leftside of the listview in vb.net.
What I am trying to do is have it appear on the right side or in another column,
but I can't seem to do that.
can anyone help?
Thanks
Gibit
I assume you want to have an image in some other column when the listview is in Detail mode. You can't do that in the standard .NET listview control by default. I believe you would need to override a bunch of drawing-related events and possibly deal with some Win32 calls to have images show in subitems.
However, there is an open source custom listview control for .NET called ObjectListView that supports this feature. You could use that instead of the built-in one.

VB.NET - Ribbon Shows Black Area

I need help with my vb.net program. I've added a ribbon bar to the top of my main form using the DotNetBar and the problem is that it shows a black rectangle area instead of the default blue color. This only happens when I am using Windows 7 aero and is not maximized.
Anyone have any suggestions?
Just a guess, but it looks like DotNetBar is meant to be used without the standard Form chrome. Try setting your form's border style to None.
Also, make sure you're following the directions and using a DotNetBar form control:
http://www.devcomponents.com/kb2/?p=703
Hope this helps!