[]
Represents a control that contains multiple items that share the same space on the screen.
[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(C1TabItem))]
[StyleTypedProperty(Property = "TabStripDropDownIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "NextIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "PreviousIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "NextButtonStyle", StyleTargetType = typeof(C1RepeatButton))]
[StyleTypedProperty(Property = "PreviousButtonStyle", StyleTargetType = typeof(C1RepeatButton))]
[StyleTypedProperty(Property = "TabStripDropDownStyle", StyleTargetType = typeof(C1DropDownButton))]
[StyleTypedProperty(Property = "CloseIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "CloseButtonStyle", StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = "TabHeaderStyle", StyleTargetType = typeof(C1TabItemPresenter))]
[StyleTypedProperty(Property = "SelectedTabHeaderStyle", StyleTargetType = typeof(C1TabItemPresenter))]
[StyleTypedProperty(Property = "PopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[TemplatePart(Name = "TabPanel", Type = typeof(C1TabPanel))]
[TemplatePart(Name = "CloseButton", Type = typeof(C1Button))]
[TemplatePart(Name = "SelectedItemContent", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "PreviousButton", Type = typeof(C1RepeatButton))]
[TemplatePart(Name = "NextButton", Type = typeof(C1RepeatButton))]
[TemplatePart(Name = "Menu", Type = typeof(C1MenuList))]
[TemplatePart(Name = "TabStripDropDown", Type = typeof(C1DropDownButton))]
[TemplatePart(Name = "Indicator", Type = typeof(Rectangle))]
[TemplatePart(Name = "IndicatorScale", Type = typeof(ScaleTransform))]
[TemplatePart(Name = "IndicatorTrans", Type = typeof(TranslateTransform))]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Focused", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "LeftTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "TopTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "RightTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "BottomTabStripPlacement", GroupName = "TabStripPlacementStates")]
[TemplateVisualState(Name = "Rectangle", GroupName = "ShapeStates")]
[TemplateVisualState(Name = "Rounded", GroupName = "ShapeStates")]
[TemplateVisualState(Name = "Sloped", GroupName = "ShapeStates")]
[TemplateVisualState(Name = "Ribbon", GroupName = "ShapeStates")]
public class C1TabControl : C1ItemsControl, INotifyPropertyChanged
| Name | Description |
|---|---|
| C1TabControl() | Initializes a new instance of the C1TabControl class. |
| Name | Description |
|---|---|
| ActualSelectedTabHeaderStyle | Gets the actual style that will be applied to the row-header cells when they are selected. |
| CanUserReorder | Whether the user is allowed to drag and drop and reorder C1TabItems from this C1TabControl. |
| CloseButtonStyle | Gets or sets the style of the close button. |
| CloseIconStyle | Gets or sets the style of the close icon. |
| CloseIconTemplate | Gets or sets the template of the close icon. |
| ContentTemplate | Gets or sets the DataTemplate to apply to any TabItem that does not have a ContentTemplate property defined. |
| ContentTemplateSelector | Gets or sets a custom logic for choosing the template used to display the content of the control |
| IndicatorBrush | Brush for Indicator |
| IndicatorPlacement | Gets or sets the location of the panel with the tabs relative to the indicator. |
| IndicatorSize | Gets or sets the indicator size. |
| IndicatorVisibility | Gets or sets the visibility of the indicator. |
| IsFocused | Gets whether the control is focused. |
| MouseOverBrush | Gets or sets the Brush used to highlight the control when it has the mouse over. |
| NextButtonStyle | Gets or sets the style of the next button. |
| NextIconStyle | Gets or sets icon style of the next button. |
| NextIconTemplate | Gets or sets icon template of the next button. |
| PopupStyle | Gets or sets the style of the popup. |
| PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
| PreviousButtonStyle | Gets or sets the style of the previous button. |
| PreviousIconStyle | Gets or sets icon style of the previous button. |
| PreviousIconTemplate | Gets or sets icon template of the previous button. |
| SelectedContent | Gets the content of the currently selected TabItem. |
| SelectedIndex | Gets or sets the index of the currently selected TabItem. |
| SelectedItem | Gets or sets the selected item or returns null if the selection is empty. |
| SelectedTabHeaderStyle | Gets or sets the style of the selected tab header. |
| ShowSingleTab | Gets or sets a value that determines whether the tab strip is shown when the control has only one child. |
| TabHeaderStyle | Gets or sets the style of the tab header. |
| TabItemClose | Gets or sets the location of the Close button. |
| TabItemRotation | Gets or sets angle of rotation of tab item content. |
| TabItemShape | Gets or sets the geometric shape of the tabs. |
| TabPanel | |
| TabStripDropDownIconStyle | Gets or sets icon style of the tab strip drop down. |
| TabStripDropDownIconTemplate | Gets or sets icon template of the tab strip drop down. |
| TabStripDropDownStyle | Gets or sets the style of the tab-strip drop-down which show the hidden tabs in a menu. |
| TabStripHorizontalAlignment | Gets or sets the horizontal alignment of the group of C1TabItems. |
| TabStripMenuVisibility | Gets or sets the visibility of the menu listing the items. |
| TabStripOverlap | Gets or sets the length of the overlap between C1TabItems. |
| TabStripOverlapDirection | Gets or sets the Z-Index arrangement of the C1TabItems. |
| TabStripPlacement | Gets or sets the location of the panel with the tabs relative to the whole control. |
| TabStripVerticalAlignment | Gets or sets the vertical alignment of the group of C1TabItems. |
| UnselectedContentMode | Gets or sets what is done with the content of unselected items. |
| UpdateSourceCollection | Gets or sets whether changes in the order of the items are written to Items or ItemsSource. |
| VisibleItems | A read-only collection that contains all visible items in the C1TabControl |
| Name | Description |
|---|---|
| BeginUpdate() | Maintains performance while items are added to the TabControl one at a time by preventing the control from updating until the EndUpdate() method is called. |
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| ChangeVisualStateShape(bool) | Updates the current visual state of the Shape visual state group to match the object's properties. |
| ChangeVisualStateTabStripPlacement(bool) | Updates the current visual state of the TabStripPlacement visual state group to match the object's properties. |
| ClearContainerForItemOverride(DependencyObject, object) | |
| Dispose(bool) | |
| EndUpdate() | Resumes updating the TabControl after updates are suspended by the BeginUpdate() method. |
| GetContainerForItemOverride() | |
| IsItemItsOwnContainerOverride(object) | |
| OnApplyTemplate() | |
| OnCreateAutomationPeer() | |
| OnItemsChanged(NotifyCollectionChangedEventArgs) | Called when the value of the Items property changes. |
| OnPropertyChanged(string) | Called when a property changes. |
| PrepareContainerForItemOverride(DependencyObject, object) | |
| ScrollIntoView(object) | Causes the object to scroll into view. |
| Name | Description |
|---|---|
| ItemsChanged | Called when the value of the System.Windows.Controls.ItemsControl.Items property changes. |
| PropertyChanged | Called when a property changed. |
| SelectionChanged | Occurs when selection changed. |
| TabItemClosed | Occurs when a C1TabItem is closed. |
| TabItemClosing | Occurs before a C1TabItem is closed. |
| VisibleItemsChanged | Occurs when the visible items change. |