Hi,
I have a tabcontrol on my form, on each tab I have a control, each of these controls are similar i.e. they each have a table and a couple buttons and each control is set to Dock Fill
When I view them contols in design view something weird is happening, the first tab that is viewable has it controls placed as you would expect and al...
I have tried to remove the following tag generated by the AJAX Control toolkit.
The scenario is our GUI team used the AJAX control toolkit to make the GUI but I need to move them to normal ASP .NET view tag using MultiView.
I want to remove all the __designer: attributes
Here is the code
<asp:TextBox ID="a" runat="server" __designer:w...
In WinForms, how do I repaint the empty area that contains empty tab space to be filled by new tabs in a color of my choice?
...
Hi,
Is there an easy way to position another control (i.e. a button) inline and to the right of tab headers in WPF?
In the web, I would use a float or absolute positioning to accomplish this.
The red line in this picture is what I am trying to get to:
Thanks!
Jon
...
This is a C#, Winform question.
I have a TabControl control and I use two navigation buttons to switch among my tab pages. I used TabControl.SelectedIndex = i to change the showing tab pages in the buttons' click event. Every time a specific tab page is going to be shown, one of several functions is called to prepare some background wor...
I am creating multiple tabs dynamically when my application starts up.
Put it this way, if my tabcontrol have two tabs in it, which calls Notepad
and ms paint.
when the notepad is closed.... I want my tab respective to notepad to be closed in
my tabcontrol.
How ?
...
Hi, I have a TabControl with two TabPages and I was wondering what is the best way to test which tab is currently displayed? I'm not sure why I can't figure this one out...
...
Hi I have two questions.
How do I programatically change the selected tab in a WPF Tab control from one tab to another.
How would I get a reference to this "other tab" in which I want to set the selected tab?
...
The default behavior of the WPF Tabcontrol is to place the Tab Headers adjacent to each other, without any empty space in between. What if I wanted to specify a gap between the headers? Do I have to define a control template for this? I'm relatively new to WFP and any help is appreciated.
Thanks
...
The Ajax Control Toolkit's tab control loads all tabs on page load and displays the currently selected one to the user. Is there a way to make it load the tabs only when the user activates the tab by clicking on the tab button for it? I'm wanting to improve load time because there is quite a bit of stuff on each tab, and each of them req...
I'm trying to style a TabControl and have got 75% of the way there, but I'm having difficulty styling the actual TabItems:
What I am trying to achieve is remove the default ContentPresenter so that I can make the tab items partially transparent with rounded edges instead of the place holder red and green i have now.
I'm sure it's pro...
I'm working on styling a TabControl on a PC runnnig Windows 7 and everything looked fine, but when I tried running it in Windows XP, I get a hideous white border around the TabControl:
I believe it's the same problem fighting with luna (described here http://stackoverflow.com/questions/952896/tabcontrol-without-border-wpf-xp), but I'm...
Hi guys. A simple one.
Here's my code:
public MainForm()
{
InitializeComponent();
MyServiceSettings obj = (MyServiceSettings)ConfigurationManager.GetSection("MyServiceSettings");
foreach (MyServiceConfigElement service in obj.Services)
CreateServiceControl(service);
}
private void ...
I have 7 tabitems in my tabcontrol and the width of the tabcontrol is only 500. Therefore the tabitems are displayed in 3 rows. I want it to be shown in a dropdown at the end of the tabcontrol just like an overflow tabcontrol. How can I create it?
...
I have a TabControl object with some TabItem objects inside. Now the sum of width of TabItem is not long enough to fill the space on right:
Now I wish to have one of following design:
What properties should I set to archieve one of the design above? For the second design, I tried to adjust HorizontalAlignment property (to "center") i...
I would like to create a custom version of the TabControl so that when a new TabPage is added I can ensure some custom processing is performed.
The question is how do I override the TabPages.Add() method to achieve this?
thanks,
Richard
...
I want to have buttons that kind of act like tabs - they switch between "pages" of the application. How can I achieve this effect? I'm thinking that I could just put the controls in some kind of container and toggle the visible attribute, but is that plausible?
I am using WinForms.
The reason I don't want to use a tab control is becaus...
Hi,
I'm trying to figure out how to change the color of tab headers in TabControl. The whole tab control has another color than white and it's why it looks so ugly.
Thank you
...
I have a .NET c# form with a tabcontrol on the base form. This tabcontrol is absolutely loaded with sub controls and tabs. If I launch my application and immediately open another window (in my app), I can wait about 3-5 seconds and the tabcontrol in the back of the newly opened window will redraw itself and the areas that get refreshed...
Is there a way to set the visibility of a single tab in a tabcontrol? I thought something simple like this should work, but does not seem to to anything.
tabControl1.TabPages[1].Visible = false;
tabControl1.Refresh();
There will be a main tab that always shows but I want to have other tabs that I can "turn on\off". I don't want to...