'Declaration Public Property DropDownAnimation As PopupAnimation
public PopupAnimation DropDownAnimation {get; set;}
Imports Infragistics.Windows.Controls Imports System.Windows.Controls.Primitives Imports System.Diagnostics Imports System.Windows Class Window1 Public Sub New() ' This call is required by the Windows Form Designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. ' Allow the tab control to toggle between its minimized and normal state Me.XamTabControl1.AllowMinimize = True ' Set the initial state of the control to be minimized Me.XamTabControl1.IsMinimized = True ' Set the height of the tab item conent when it is dropped down Me.XamTabControl1.TabItemContentHeight = 100 ' specify an animation to be used when dropping down the tab content area Me.XamTabControl1.DropDownAnimation = PopupAnimation.Slide End Sub Private Sub XamTabControl1_DropDownClosed(ByVal sender As Object, ByVal e As RoutedEventArgs) Handles XamTabControl1.DropDownClosed Debug.Assert(Me.XamTabControl1.IsDropDownOpen = False) End Sub Private Sub XamTabControl1_DropDownOpened(ByVal sender As Object, ByVal e As RoutedEventArgs) Handles XamTabControl1.DropDownOpened Debug.Assert(Me.XamTabControl1.IsDropDownOpen = True) End Sub End Class
using Infragistics.Windows.Controls; using System.Diagnostics; using System.Windows.Controls.Primitives; public partial class Window1 : Window { public Window1() { InitializeComponent(); // Allow the tab control to toggle between its minimized and normal state this.xamTabControl1.AllowMinimize = true; // Set the initial state of the control to be minimized this.xamTabControl1.IsMinimized = true; // Set the height of the tab item conent when it is dropped down this.xamTabControl1.TabItemContentHeight = 100; // specify an animation to be used when dropping down the tab content area this.xamTabControl1.DropDownAnimation = PopupAnimation.Slide; // wire the dropdown opened and closed events this.xamTabControl1.DropDownOpened += new RoutedEventHandler(xamTabControl1_DropDownOpened); this.xamTabControl1.DropDownClosed += new RoutedEventHandler(xamTabControl1_DropDownClosed); } private void xamTabControl1_DropDownOpened(object sender, RoutedEventArgs e) { Debug.Assert(this.xamTabControl1.IsDropDownOpen == true); } private void xamTabControl1_DropDownClosed(object sender, RoutedEventArgs e) { Debug.Assert(this.xamTabControl1.IsDropDownOpen == false); } }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2