If left set to null then the default 'Generic' theme will be used. This property can be set to the name of any registered theme (see Infragistics.Windows.Themes.ThemeManager.Register(System.String,System.String,System.Windows.ResourceDictionary) and Infragistics.Windows.Themes.ThemeManager.GetThemes methods).
void CreateXOB() { //create new instance of XamOutlookBar class Infragistics.Windows.OutlookBar.XamOutlookBar xamOutlook = new Infragistics.Windows.OutlookBar.XamOutlookBar(); xamOutlook.SelectedAreaMinHeight = 79; xamOutlook.NavigationAreaMaxGroups = 0; xamOutlook.MinimizedWidth = 60; xamOutlook.Theme = "Office2k7Silver"; xamOutlook.ToolTip = "XamOutlookBar tooltip"; xamOutlook.AllowMinimized = true; xamOutlook.ShowToolTips = true; xamOutlook.ShowGroupHeaderAsToolTip = true; xamOutlook.IsMinimized = true; xamOutlook.MinimizedStateThreshold = 20; // set minimized threshold to 10 points over MinimizedWidth }
Sub CreateXOB() 'create new instance of XamOutlookBar class Dim xamOutlook As New Infragistics.Windows.OutlookBar.XamOutlookBar() xamOutlook.SelectedAreaMinHeight = 79 xamOutlook.NavigationAreaMaxGroups = 0 xamOutlook.MinimizedWidth = 60 xamOutlook.Theme = "Office2k7Silver" xamOutlook.ToolTip = "XamOutlookBar tooltip" xamOutlook.AllowMinimized = True xamOutlook.ShowToolTips = True xamOutlook.ShowGroupHeaderAsToolTip = True xamOutlook.IsMinimized = True xamOutlook.MinimizedStateThreshold = 20 ' set minimized threshold to 10 points over MinimizedWidth End Sub
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