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
2 answers

wpf help binding data to controls in TabControl

So I have a TabControl with two TabItems, each TabItem has the same controls on it (8 TextBlocks) and will display data under the same bindings as their counterparts on the other TabItem. The xaml and cs code that I have is below, but when I try…
Matt Wilson
  • 23
  • 1
  • 6
0
votes
0 answers

Tab page content is cleared when creating new tab

I am dynamically creating tabs and then populating them with a datagridview. I can successfully create multiple tabs, but when I create a new tab, while its contents show as I expect, all the other tabs are blank. TabPage t = new TabPage(); t.Text…
DaveS
  • 105
  • 1
  • 1
  • 8
0
votes
1 answer

How to run a function from another form when ... ? C#

I have a form1 with a menustrip and tabcontrol that form2 opened in tabpage1 . I want to run a public function from form2 when i click on a ToolStripMenuItem . form2 opened with this code : form2 sar = new form2(usrnm); sar.TopLevel =…
mamad.electro
  • 11
  • 1
  • 1
0
votes
1 answer

.NET TabControl Container Anchoring issues

I'm having a strang problem with c# Winforms (not tried VB.NET admittingly) whereby I have a TabControl on a page, and 4 TabPages. I have some authentication logic to show/hide these TabPages when showing the form after it's been minimised. This…
Max Power
  • 350
  • 4
  • 15
0
votes
0 answers

Metroframework tabcontrol icon in tabpage header

I would like to display an icon in the header of the metrotabpage, I've tried with imagelist but it doesn't work. So how can I do it? It works with normal tabcontrol imagelist though.
user9747793
0
votes
1 answer

Delphi - Bug in fmx with ListView and TabControl

I have a TabControl with Two TabItem. Each tabItem has a ListView in it. The OnItemClick event of the listView on the first TabItem execut a 'NextTabAction'. The problem is that if I select an item in the listView on the second TabItem, its…
Federico Pessina
  • 199
  • 1
  • 4
  • 15
0
votes
1 answer

Itemscontrol in tabcontrol?

i have the following code to be implemented into my xaml file.
jeremychan
  • 4,309
  • 10
  • 42
  • 56
0
votes
0 answers

TabControl background image over background

I have TabControl: