Questions tagged [tabcontrol]

A tab control is a control in graphical user interface which contains multiple tab items that share the same space on the screen.

A tab control is useful for minimizing screen space usage while allowing an application to expose a large amount of data. It enables a developer to arrange visual content in a compacted and organized form.

References:

2206 questions
0
votes
0 answers

in TabControl Datagridview's DatagridViewCheckboxColumn doesnt refresh after calling method which is check all checkboxcells

I have one datagridview. In each tabpages, there are datagridview. Every datagridview has a one datagridviewcheckboxcolumn. I want to it which, the form when is loading, every datagridviewcheckboxcell are selected. But datagridviews are not…
Nisanur
  • 89
  • 1
  • 6
0
votes
1 answer

How to access dynamically added DataGridView inside a TabPage and get values?

I have made a program that can import an excel file and insert all the sheets in a dynamically added tabpage with a dynamically added datagridview. I want to insert the values of the KPI column depending on the tab selected on my combobox and…
Shan Coralde
  • 214
  • 2
  • 15
0
votes
1 answer

How can I assign a custom backcolor or background image to a TabPage control?

How can I assign a background image to tabpage control in Visual Studio C# 2010? I am able to provide background image to each of the tab separately, but I cannot do it so for the whole tabpage control, due to which a portion of tabpage control…
Asad
  • 521
  • 2
  • 13
  • 30
0
votes
1 answer

wpf height and width by element binding

wpf height and width of control based on rowheight and rowwidth of grid by element binding to it.
0
votes
2 answers

How to use customTabItem in TabControls in WPF

I am using TabControl with ItemSource as List. Based on the List, TabItems are getting generated.
vishal
  • 596
  • 2
  • 12
  • 31
0
votes
1 answer

UML Class diagram Multiple TabPages

I am currently working on a C# Windows Froms project thar requires the use of TabControll and multiple TabPAges with each of them having several buttons, labels and text boxes. since i've now reached the class diagram phase of the project i…
Sa Pe
  • 1
0
votes
1 answer

Winforms - How to create new tab and TabPage from current form to MainWindow form

I have a MainWindow form which contains TabControl component where dynamicly on click on menuItem I create a new tab and TabPage. The new created TabPage contains a new Form. The new opened TabPage, which contains the new Form en.Products have…
Ivan
  • 5,139
  • 11
  • 53
  • 86
0
votes
1 answer

Why not show close button of metro tab item?

I am trying to add MetroTabItem by programmatically. MainWindow.xaml.cs private void AddTabItem(UserControl control,string Header) { MetroTabItem mahtab = new MetroTabItem(); mahtab.Content = control; …
user9152389
0
votes
1 answer

Opening and Closing Tab Pages via Checkbox

I am working on Windows Forms app using C#. The main form contains TabControl and checkboxes. The tab pages of the TabControl contains child forms. Then the checkboxes shall open and close specific tab pages on check and uncheck, respectively. The…
eleu
  • 27
  • 3
0
votes
1 answer

Using TabControl for Navigation in MVVMLight Silverlight4

Greetings - I'd like to demonstrate Tab Control functionality in my MVVM Light application. I'm using an EventToCommand/RelayCommand to load an instance of a view: DisplayWorkOrderView, when I click on the header marked "Work Order". The view loads…
Scott Silvi
  • 3,059
  • 5
  • 40
  • 63
0
votes
3 answers

WPF Reference User Control in MainWindowViewModel Code

User Control is located in Controls\TabControl. Contains a tabcontrol with 2 tabitems (RuleTab and DiagramTab). In my MainWindowViewmodel class I have: private void ShowSaveDialog() { System.Windows.Forms.SaveFileDialog sfd = new…
mr justinator
  • 73
  • 1
  • 9
0
votes
0 answers

Changing unselected tab color on mouse over Custom Tab Control

I have created a custom tab control.The codes are : THE CODE IS KINNDA HUGE,SO PLEASE BE PATIENT TO READ THE ENTIRE CODE Public Class mytab Inherits System.Windows.Forms.TabControl Dim MainColor As Color Dim TextColor As Color Dim LightTheme As…
Software Dev
  • 5,368
  • 5
  • 22
  • 45
0
votes
3 answers

WPF Binding User Controls

Ok, so I've created two things, a MainWindowViewModel and a TabControlViewModel. Within my TabControlViewModel my View is basically a TabControl with 3 tabitems (Welcome/tabItem1/tabItem2). My goal is when the application starts up I see the welcome…
mr justinator
  • 73
  • 1
  • 9
0
votes
1 answer

Using TapControl header only for Excel-like application

I didn't find any better title for the description of my question, but I guess it's not such an usual approach: I have an Excel-like application: The GUI displays a grid, and there's a TabControl that shows the name of the different pages in the…
tmighty
  • 10,734
  • 21
  • 104
  • 218
0
votes
1 answer

Stretch TabItem to TabControl Width

I'm pretty new to WPF and I'm not sure how I should proceed, I have a TabControl with some TabItems, I would like to get the whole TabControl width divided equally so the TabItems get the same space. I have implemented this solution and it didn't…
Nekeniehl
  • 1,633
  • 18
  • 35