Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- EO.Base
- EO.Base.UI
- EO.Extensions
- EO.Pdf
- EO.Pdf.Acm
- EO.Pdf.Contents
- EO.Pdf.Drawing
- EO.Pdf.Mvc
- EO.Web
- EO.WebBrowser
- EO.WebBrowser.DOM
- EO.WebEngine
- EO.WinForm
- EO.Wpf
- EO.Wpf
- Classes
- BareButton Class
- Bitmap Class
- BitmapButton Class
- BooleanDependencyPropertyRoutedEventArgs Class
- Button Class
- Calendar Class
- CalendarDayButton Class
- CalendarMonth Class
- CancelEventArgs Class
- CheckBox Class
- ChoiceMaskedEditSegment Class
- ComboBox Class
- ComboBoxItem Class
- DatePicker Class
- DateRangeCollection Class
- DateRangeCollectionConverter Class
- DockContainer Class
- DockItem Class
- DockItemClosingEventArgs Class
- DockItemCollection Class
- DockItemEventArgs Class
- DockItemNeededEventArgs Class
- DockView Class
- DockViewCollection Class
- DockViewCommands Class
- DockViewEventArgs Class
- DockViewNeededEventArgs Class
- DocumentItem Class
- DropDown Class
- DropDownButton Class
- DropDownService Class
- EditItemEventArgs Class
- Effect Class
- EffectManager Class
- Expander Class
- ItemDragEventArgs Class
- ItemDragOverEventArgs Class
- ItemDropEventArgs Class
- ItemsControlHelper Class
- LinkButton Class
- ListBox Class
- ListBoxItem Class
- MaskedEdit Class
- MaskedEditSegment Class
- MaskMaskedEditSegment Class
- Menu Class
- MenuBase Class
- MenuItem Class
- MonthPicker Class
- MultiplyConverter Class
- NamedResourceKey Class
- NegationConverter Class
- NewItemRequestedEventArgs Class
- NumericMaskedEditSegment Class
- OpacityConverter Class
- PatternMaskedEditSegment Class
- PdfViewer Class
- ProgressBar Class
- RadialPanel Class
- RadioButton Class
- RangeSlider Class
- RegexMaskedEditSegment Class
- RingDefinition Class
- RingDefinitionCollection Class
- Runtime Class
- SkinStyleInfo Class
- Slider Class
- SliderBase Class
- SpinEdit Class
- SplitButton Class
- SplitLineHeightConverter Class
- SplitView Class
- StaticMaskedEditSegment Class
- TabControl Class
- TabControl Class
- TabControl Members
- TabControl Constructor
- Fields
- Properties
- Properties
- AutoRotate Property
- BottomRightScrollButtonStyle Property
- CloseTabButtonStyle Property
- ContentStringFormat Property
- ContentTemplate Property
- ContentTemplateSelector Property
- CornerRadius Property
- DropDownMenuMode Property
- FixedContentTemplate Property
- HeaderElement Property
- HeaderPadding Property
- HeaderTemplate Property
- ItemsDropDownButtonStyle Property
- NewTabButtonStyle Property
- OverlapDepth Property
- SelectedContent Property
- SelectedContentStringFormat Property
- SelectedContentTemplate Property
- SelectedContentTemplateSelector Property
- ShowCloseTabButton Property
- ShowNewTabButton Property
- TabItemOverflowStrategy Property
- TabStripPlacement Property
- TopLeftScrollButtonStyle Property
- Methods
- Events
- TabItem Class
- TabItemCloseEventArgs Class
- TabItemEventArgs Class
- TemplatePresenter Class
- ThemeManager Class
- ThemeNames Class
- ThemeStyleInfo Class
- TreeView Class
- TreeViewItem Class
- UIElementHelper Class
- UnitConverter Class
- WebControl Class
- WebView Class
- WebViewHost Class
- WeekDaysCollection Class
- WindowChrome Class
- WindowCommands Class
- YearPicker Class
- Structures
- Enumerations
- Delegates
- EO.Wpf.Gauge
- EO.Wpf.Gauge.Shapes
- EO.Wpf.Primitives
- EO.Wpf.Themes.Aero
- EO.Wpf.Themes.Classic
- EO.Wpf.Themes.Luna
- EO.Wpf.Themes.Metro
- EO.Wpf.Themes.Royale
- JavaScript API Reference
- .NET API Reference
OverlapDepth Property |
Gets or sets the overlap depth. This is a dependency property.
Syntax
Property Value
A Double value that represents the space in pixels that a TabItem will overlap with it on its adjascent TabItem. The default value is 0.
Remarks
This property is usually used when the tab button is not rectangle. For example, the built-in "Chrome" skin uses this property so that the tab button overlaps with each other.
Note that in case a negative value is given, it will be coerced to 0.
Example
The following example sets the OverlapDepth to 5:
XAML
<Window x:Class="Test.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:eo="http://schemas.essentialobjects.com/wpf/" Title="MainWindow" Height="250" Width="350"> <DockPanel Margin="5"> <eo:TabControl eo:ThemeManager.SkinName="Chrome" OverlapDepth="5"> <eo:TabItem Header="Header1" /> <eo:TabItem Header="Header2" /> <eo:TabItem Header="Header3" /> <eo:TabItem Header="Header4" /> </eo:TabControl> </DockPanel> </Window>
The following image shows the result:
See Also