devexpress xtrab control(windows form). align tab vertically - winforms

I am creating a Windows form application. I am using Devexpress 11.1.
Is it possible to align Tabs of a xtrab control vertically instead of horizontally.
If so, please help me out.

You want to look at 2 properties on xtraTabControl:
HeaderOrientation and HeaderLocation
Orientation will allow you to set it to vertical and Location for which side.
XtraTabControl1.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Left;
XtraTabControl1.HeaderOrientation = DevExpress.XtraTab.TabOrientation.Vertical;

Related

Syncfusion ToolStripEx inside ribbon control - How to align it to right

I've a windows form containing a ribbon control with tabs, and some ToolStripEx controls. What I want is align some ToolStripEx controls to right of the windows form.
Any Ideas?
In our current implementation, ToolStripEx has been arranged one by one based on previous ToolStripEx position, therefore we do not have support to arrange it on the right side of the ToolStripTabItem.
So can you share the purpose of arranging the items on the right side of the window and also the items which you would like to place it on the right side? Based on your update, we will proceed further on this.
Regards,
Keerthana J

Overlay control over 2 dockable panels of AvalonDock

I am creating an interface using WPF which contains a menu of tiles. UI has an image which is below the menubar. When the menu bar is hidden the image expands and takes its place as I am using Avalon Dock.
I have a design in which, menu tiles expand in height when mouse is hovered over them. But the expanded tiles get hidden as the dockable panel doesn't expand in height. Is there a way to overlay the tiles' panel over the image panel so that the tiles are visible entirely?
Thank You.
I searched a lot over the internet and also documentations. Finally found out that, the 2 panels are separate components so content among it can't be overlayed.
eg. a button can't be shared by 2 windows as their Visual Tree is different.
So, the answer to my Question is that the components can't be overlayed.

how to show only horizontal gridlines of a grid in windows phone 7

I have created an grid with 3 columns and 4 rows in wp7. Now i need to show lines separating only the rows of the grid.(i.e I need to show only horizontal grid-lines of a grid) and also i need to change the color of the horizontal grid-lines. Help me.
Note: There is an way of using toolkit and we can achieve this through datagrid. but i want to know whether it can be done on the normal grid.
Thanks in Advance
border control can be used on each row to acheive this . border should be given with borderbrush and with required thickness...

How can I make a panels contents resize with a zoom control?

I am using ExtJS 3.3
I have a main panel containing another panel (containing text) and a grid containing data with a paging toolbar and footer.
There is a zoom control (a combo with values like "100%, "50%", "page width","whole page" ) on the paging toolbar.
I wish to select a zoom level from the combo and have everything on the main panel resize to that zoom level.
I need all other panels on the page to appear unchanged in size.
I have Googled around but cannot see any solutions or extensions available.
How can I do this please? Any ideas?
You should be able to do this using CSS to define the size of each element at each required zoom level. Your combo zoom control would need to have an event handler which would switch the class of the (probably) DIV element which contains the content you want to resize.
There is a StackOverflow question here which is a useful discussion about some ways to acheive the scaling; there are many ways to do it and your choice depends on what you need to acheive. If you provide sight of the display or code you're working on then I could probably make some recommendations.

Anchor in WinForms==Horizontal(+Vertical)Alignment in WPF?

Can't find anchor property in WPF, was it reconstructed to Horizontal and Vertical Alignments?
Is it the same?
I wanted to stretch my control in both sides (right and left), but it worked rather different than anchor
You can do something like Anchor like this
<...HorizontalAlignment='Stretch' VerticalAlignment='Stretch' Margin='50,50,50,50'.../>
The Anchor and Dock properties of Windows Forms are replaced by appropriate layouting containers in WPF. Depending on what exactly you need you should be able to create your desired layout in WPF with the Grid or DockPanel containers.
There are small white circles at the edges of the control. Click them, and they will be converted to triangles which mean the edge is anchored.

Resources