Note: A parameterless constructor is required for all derived classes.
The default for 'StateButton' style tabs is 'Activate' while 'PropertyPage' style tabs default to 'AutoSelect'.
However, for multi-row
Use this method to determine whether the code of an event is currently being executed. You may want to know whether an event is occurring before disabling it.
The "in progress" count is used to account for recursive calls to events. You can use it to determine how many nested calls to an event have been made and which level of recursion is now executing.
Disabling an event will not affect the internal operation of the control. Disabling simply instructs the control not to call the event handler so that code the programmer entered is not fired.
For example, disabling the Click will not stop the control from changing the Active Node when it is clicked. It will only cause the Click Event not to fire when the control is clicked.
Disabling an event will not affect the internal operation of the control. Disabling simply instructs the control not to call the event handler so that code the programmer entered is not fired.
For example, disabling the CLick will not stop the control from changing the Active Node when it is clicked. It will only cause the Click Event not to fire when the control is clicked.
Provides a dropdown list of available tabs.
The
These controls will be automatically re-parented to each tab as it is selected.
Each
The ExcludedSharedControls collection contains all of the shared controls that should not be re-parented to the tab when it is selected.
This property returns an item from the collection by its position.
The tabs are maintained in their original order in the
The tabs are also maintained in their current display order in the
The VisibleTabs collection contains all tabs, including tabs whose
Note: The
This constructor uses a boolean value to determine if the tab was selected while it was being serialized.
OnPropertyChanged will also be called.
Closing a tab is the same as setting
If the tab is already in view this method does nothing.
Otherwise the tab is scrolled into view but is not selected.
If this property is Default, the value of
This only applies if the
If the CloseButtonAlignment value is Default, the value of the owning tab control's
This only applies if the
If the CloseButtonVisibility value is Default, the value of the owning tab control's
The default value of zero means that the width will be calculated based on the
This governs the logical width/extent of the tab (e.g. in vertical
UltraTabControl and
The main difference is that the UltraTabControl creates a separate
In contrast, the
Note: the UltraTabStripControl can be easily bound to a data source via its
OnPropertyChanged will also be called.
The ResetAppearances method rids the
UltraTabControlBase4.Appearances.Clear()
Use this method to determine if an Appearance object has been created and contains data that needs to be serialized.
Use this method to reset the
Use this method to determine if an Appearance object has been created and contains data that needs to be serialized.
Use this method to reset the
Returns a Boolean value that determines whether the
Returns True if the
Invoke the
Invoke this method to reset the
Once this method is invoked, the
Use this method to determine if an Appearance object has been created and contains data that needs to be serialized.
Use this method to reset the
Use this method to determine if an Appearance object has been created and contains data that needs to be serialized.
Use this method to reset the
The ShouldSerializeTabs method returns true if the number of groups is greater than zero.
PerformAction simulates user interaction with the control. Calling Peformaction will cause the control to behave as through the user performed the specified action. Any appropriate events will be called as if the user performed the action.
This serves as the default value when a tab has its
Use this property to determine if an
Setting this property to None will prevent a middle mouse button click from closing a tab.
The EventManager provides a high degree of control over how the control invokes event procedures. You can use it to selectively enable and disable event procedures depending on the context of your application. You can also use the event manager to return information about the state of the control's events.
The event manager's methods are used to determine the enabled state of an event (
Use this property to determine if an
When set to a color other than Color.Transparent (the default), all occurrences of the color in the image will be made transparent.
If a tab image is supplied by setting an Appearance.Image property to an Imagelist index, the ImageList's TransparentColor property is looked at first. If the property is set to Color.TransparentColor, then the components ImageTransparentColor is used. If it is set to Color.TransparentColor, then no color masking is done.
If a tab image is supplied by setting the Appearance.Image property to an image, the component's ImageTransparentColor is used. If it is set to Color.TransparentColor, then no color masking is done.
The following table lists the default key mappings for the
| KeyCode | ActionCode | StateRequired | StateDisallowed | SpecialKeysRequired | SpecialKeysDisallowed |
|---|---|---|---|---|---|
| Up | NavigateUp | TabsDisplayed | Alt | ||
| Down | NavigateDown | TabsDisplayed | Alt | ||
| Left | NavigateLeft | TabsDisplayed | Alt | ||
| Right | NavigateRight | TabsDisplayed | Alt | ||
| Home | NavigateToFirstTab | TabsDisplayed | Alt | ||
| End | NavigateToLastTab | TabsDisplayed | Alt | ||
| Prior | NavigatePageUp | TabsDisplayed | Alt | ||
| Next | NavigatePageDown | TabsDisplayed | Alt | ||
| Space | SelectActiveTab | TabsDisplayed | ActiveTabIsSelected | Alt | |
| Enter | SelectActiveTab | TabsDisplayed | ActiveTabIsSelected | Alt | |
| Tab | NavigateNextTab | TabsDisplayed | Ctrl | AltShift | |
| Tab | NavigatePreviousTab | TabsDisplayed | ShiftCtrl | Alt |
Use this property to determine if an
This value is ignored unless
A value of zero will result in a default extent being applied.
The ShowPartialTabs property is used to specify whether or not to display a tab if there is insufficent room to display it fully. Setting this property to false will prevent partial tabs from from being displayed. The default value is true unless the ViewStyle is set to VisualStudio2005.
The default value is true unless the ViewStyle is set to VisualStudio2005.
The ShowTabListButton property is used to specify whether or not to display the tab list button. Setting this property to false will prevent the button from being displayed. The default value is false unless the ViewStyle is set to VisualStudio2005.
The default value is false unless the ViewStyle is set to VisualStudio2005.
This only applies if the
This only applies if the
Note: The tab list button is only displayed if the
Use this property to determine if an
Note: Setting the ViewStyle property to 'Office2003' does not automatically enable hot tracking. This is because the control exposes a
The default value is true unless the ViewStyle is set to VisualStudio2005.
The default value is false unless the ViewStyle is set to VisualStudio2005.
ActionCode determines what the UltraTabControl does when the KeyActionMapping is triggered.
This collection is automatically populated with a set of default UltraTabControlKeyActionMapping objects which describe standard keyboard behavior for the UltraTabControl.
UltraTabControlKeyActionMapping objects may be added, edited, or removed to change the keyboard behavior of the UltraTabControl.
The UltraTabControl may trigger more than one action for the same keyboard event. The TreeActionMappins are triggered in the order they exist in the collection.
This method will load the UltraTabControlKeyActionMapping collection to reset it back to the defaults.
Instances of these controls are automatically created for each
Note: The visible, enabled and appearance related properties should be set on the corresponding
An instance of this control is automatically created for an
An
This collection contains all of the
Indexers are provided to access individual
Keys are supported but not required. However, if supplied they must be unique.
In addition to the standard
Note: dragging tabs around at design time will change the order of the tabs in this collection and update their
The Remove method must be passed a
UltraTabControlBase.Tabs.Remove(UltraTabControlBase.Tabs(0))
The Add method is an overloaded method. This version of the Add method adds a specified
UltraTabControlBase.Tabs.Add(New UltraTab())
The Add method is an overloaded method. This version of the Add method receives no parameters and will add a tab to the end of the collection with the default
UltraTabControlBase.Tabs.Add()
The Add method is an overloaded method. This Add method of the Tabs collection receives a Key passed as a string. The tab will be added to the end of the Tabs collection and have the default
UltraTabControlBase.Tabs.Add(myKey)
The Add method is an overloaded method. This Add method of the Tabs collection receives a Key and the
UltraTabControlBase.Tabs.Add("myKey", "myText")
The Clear method removes every
UltraTabControlBase.Tabs.Clear()
The Insert method is an overloaded method. The method inserts a
UltraTabControlBase.Tabs.Insert(0)
The Insert method is an overloaded method. This method inserts a
UltraTabControlBase.Tabs.Insert(0, "myKey")
The Insert method is an overloaded method. This method inserts a
UltraTabControlBase.Tabs.Insert(0, "myKey", "myText")
The Remove method clears a specified
UltraTabControlBase4.Tabs.Remove(myTab)
The RemoveAt method removes a
UltraTabControlBase.Tabs.RemoveAt(0)
This collection contains all of the
Indexers are provided to access individual
Keys are supported but not required. However, if supplied they must be unique.
In addition to the standard
Note: dragging tabs around at design time will change the order of the tabs in this collection and update their
The IsReadOnly property is used to determine if the tabs collection is read-only. The property will return a Boolean value.
If UltraTabControlBase4.Tabs.IsReadOnly = False Then UltraTabControlBase4.Tabs.Insert(0)
The string serves as the tab's unique Key within the collection.
The IsFixedSize property reflects whether the Tabs collection can be sized.
If UltraTabControlBase4.Tabs.IsFixedSize = False Then UltraTabControlBase4.Tabs.Add()
The Control property returns the UltraTabControlBase control that contains the Tabs collection. After retrieving the control, you are free to manipulate the many properties associated with the control. The following code sample uses the Control property of the Tabs collection to change the
UltraTabControlBase.Tabs.Control.Appearance = myAppearance
Provides a dropdown list of available tabs.
UltraTabControl and
The main difference is that the UltraTabControl creates a separate
In contrast, the
Note: the UltraTabStripControl can be easily bound to a data source via its
This collection contains the same
However, the order of the tabs in this collection may be different that the order of the tabs in the
Note:
Indexers are provided to access individual
Keys are supported but not required. However, if supplied they must be unique.
The order of the tabs can be changed by dragging tabs around at runtime if the
The order can also be changed by calling the
Note: The tabs in this collection will be automatically sorted on
The Remove method clears a specified
UltraTabControlBase4.Tabs.Remove(myTab)
The string serves as the tab's unique Key within the collection.
The Control property returns the UltraTabControlBase control that contains the Tabs collection. After retrieving the control, you are free to manipulate the many properties associated with the control. The following code sample uses the Control property of the Tabs collection to change the
UltraTabControlBase.Tabs.Control.Appearance = myAppearance