I am using MVVM. I have a tab control. I will have a collection of items. I want to display each of this item in the collection as a tab item. The view in each tab item is different and may have its own viewmodel. How do I achieve this?
E.g. I have 3 items in the collection. The Tab item template contains an ItemControl. I would like to ...
Is it somehow possible to disable one (or more) tabs of tab control? At some point I need to make user stay on the active tab and prevent him from leaving... I know I can disable the whole TabControl component, but that disables also all components on active tab...
I also tried to use the Selecting method of TabControl:
private void Ta...
I have an application that has a tabcontrol with 5 tabpages of information that user interacts with. Also, there are contextual menus and toolbars for editing and formatting the information. Do I create a different view & presenter for each tab page or the tabcontrol iteself? How do I apply the pattern to the toolbars and menus that ca...
I have created a side tab that opens just fine(basically turned a UltraGrid into a tab, not a form w/ an UltraGrid ), but when pinning the side tab it gets sized in back of the main form.
How do I set the pinned tab layout to open up based on my sizing?
...
Hi,
I have a TabControl with two tabs containing lists that should always be scrolled to the bottom:
<TabControl>
<TabItem Header="Tab1">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<ListBox x:Name="List1">
<ListBox.ItemTemplate>
<DataTemplate Dat...
I want zero functionality and appearance. I also want it to be all the way to the right of the tab strip. does anyone have any pointers as to how I can accomplish this?
...
hi guys,
I found a nice controls used by a software so wanted to use or build similar nice looking controls for my applications in vb.net
First Sample control is nice rounded cornor group box [ i guess so ]:
http://sachicomputer.com/kabin/samples/control1.jpg
and second control is nice looking tab control:
http://sachicomputer.com/ka...
I have a TabControl in the mainwindow of my app. I also Have a keyBinding for CTRL-TAB. However, whenever the TabControl is selected and CTRL-TAB is pressed the keybinding is not triggered because the TabControl handles the input and cycles through the tabs.
Is there any way that I can fix this?
...
How can I add tabs to a tabcontrol that exists in one usercontrol from another usercontrol that is contained within a tab itself??
Can I do it without passing in the tabcontrol as a parameter in the constructor, perhaps via some static global method?
I've tried
public static ObservableTabCollection FindCollectionFromUC(this Dependency...
My WPF application consists of a main window with a tab control which has a series of tab items, each hosting a user control.
I'd like one of the user controls to be able to trigger the application to change focus from the current tab to a different one.
Is there a way for the user control to trigger its tab control container to chan...
I have a tab control in my main page. When I have it in the Design view in Visual Studio, everything looks perfect, the tab control is set to fill the entire page. However when I run the program, and I have it in a maximized browser window, the tab control is still the same size as it originally was. In other words, the tab control do...
I have noticed that if I have a TabControl in a Panel that has an Image Background, when the mouse hovers over a tab it blinks and redraws. Is there a workaround to prevent this from happening?
...
Hey, I've been trying to paint my own TabControl to get rid of the 3D Shadow but I am not having much success. The DrawItem event isn't firing at the moment. Do I have to shoot it myself? How do I do that?
Code:
namespace NCPad
{
public partial class NCE_TabControl : TabControl
{
Rectangle TabBoundary;
Rectangle...
Im writing a user drawn TabControl. The class inherits from the base TabControl class and for some reason I can't get rid of this ugly gutter. I want the TabPage to span the entire width of the control. Do I need to draw my own TabPage?
...
How do you add content to a tab control dynamically in wcf? I mean add content to the display area that comes visibile when clicking on the tab control.
Allow me to rephrase this. I have a WCF app. In this app, I have a tab control that id defined in the XAML. It is easy to add content to the pages of the tab control in the XAML. H...
I'm trying to make only the header of the TabItem send an event.
So far I have my xaml...
<TabControl>
<TabItem Header="tab 1">
Any text
</TabItem>
<TabItem Header="tab 2">
<TextBox>blah</TextBox>
</TabItem>
<TabControl.Resources>
<Style TargetType="Ta...
I have a custom ItemsControl (WorKArea) that marks all items it has into a WorkSheet instance.
I have a style for the ItemsControl that uses a TabControl to show the content. Every sheet creates a tab. The style is:
<Style TargetType="{x:Type local:WorkArea}">
<Setter Property="Template">
<Setter.Value>
<Control...
Hi,
I wanted to create a slanted tab header using the tabitem control in the silverlight toolkit. I want it to look like the image below but i'm not sure how to accomplish this.
http://img713.imageshack.us/img713/1462/silverlighttabs.png
Any help and direction would be gladly appreciated
Thanks,
Keith
...
hi all,
is there anyone can tell me how to add close button in each tab in using tabControl in C#?
i plan to use button pic for replacing [x] in my tab..
thank you
...
Hi,
How can I add WPF form into tab item of tab control?
like I have make wpf form, I need to add in tab control collection just like when we open wpf form in VS 2010 and it is open in Tab MDI form and different forms are showing in different tab.
Thanks
...