Represents a control that contains multiple items that share the same space on the screen.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
[TemplateVisualStateAttribute(Name = "Rounded", GroupName = "ShapeStates")] [StyleTypedPropertyAttribute(Property = "ItemContainerStyle", StyleTargetType = typeof(C1TabItem))] [TemplatePartAttribute(Name = "TabPanel", Type = typeof(C1TabPanel))] [TemplatePartAttribute(Name = "CloseButton", Type = typeof(Button))] [TemplatePartAttribute(Name = "SelectedItemContent", Type = typeof(ContentPresenter))] [TemplatePartAttribute(Name = "PreviousButton", Type = typeof(ButtonBase))] [TemplatePartAttribute(Name = "NextButton", Type = typeof(ButtonBase))] [TemplatePartAttribute(Name = "Menu", Type = typeof(C1Menu))] [TemplateVisualStateAttribute(Name = "LeftTabStripPlacement", GroupName = "TabStripPlacementStates")] [TemplateVisualStateAttribute(Name = "TopTabStripPlacement", GroupName = "TabStripPlacementStates")] [TemplateVisualStateAttribute(Name = "RightTabStripPlacement", GroupName = "TabStripPlacementStates")] [TemplateVisualStateAttribute(Name = "BottomTabStripPlacement", GroupName = "TabStripPlacementStates")] [TemplateVisualStateAttribute(Name = "Rectangle", GroupName = "ShapeStates")] [TemplateVisualStateAttribute(Name = "Sloped", GroupName = "ShapeStates")] [TemplateVisualStateAttribute(Name = "Ribbon", GroupName = "ShapeStates")] [TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")] [TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")] [TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")] public class C1TabControl : ItemsControl |
Visual Basic |
---|
<TemplateVisualStateAttribute(Name := "Rounded", GroupName := "ShapeStates")> _ <StyleTypedPropertyAttribute(Property := "ItemContainerStyle", StyleTargetType := GetType(C1TabItem))> _ <TemplatePartAttribute(Name := "TabPanel", Type := GetType(C1TabPanel))> _ <TemplatePartAttribute(Name := "CloseButton", Type := GetType(Button))> _ <TemplatePartAttribute(Name := "SelectedItemContent", Type := GetType(ContentPresenter))> _ <TemplatePartAttribute(Name := "PreviousButton", Type := GetType(ButtonBase))> _ <TemplatePartAttribute(Name := "NextButton", Type := GetType(ButtonBase))> _ <TemplatePartAttribute(Name := "Menu", Type := GetType(C1Menu))> _ <TemplateVisualStateAttribute(Name := "LeftTabStripPlacement", GroupName := "TabStripPlacementStates")> _ <TemplateVisualStateAttribute(Name := "TopTabStripPlacement", GroupName := "TabStripPlacementStates")> _ <TemplateVisualStateAttribute(Name := "RightTabStripPlacement", GroupName := "TabStripPlacementStates")> _ <TemplateVisualStateAttribute(Name := "BottomTabStripPlacement", GroupName := "TabStripPlacementStates")> _ <TemplateVisualStateAttribute(Name := "Rectangle", GroupName := "ShapeStates")> _ <TemplateVisualStateAttribute(Name := "Sloped", GroupName := "ShapeStates")> _ <TemplateVisualStateAttribute(Name := "Ribbon", GroupName := "ShapeStates")> _ <TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _ <TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _ <TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _ Public Class C1TabControl _ Inherits ItemsControl |
Inheritance Hierarchy
System..::..Object
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ItemsControl
C1.Silverlight..::..C1TabControl
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
System.Windows.Controls..::..ItemsControl
C1.Silverlight..::..C1TabControl