Syncfusion.Tools.Windows
Members 


XPTaskBarBox Class

Represents a task bar box within the XPTaskBar.
Object Model
XPTaskBarBox ClassExpanderButton ClassImageListAdv ClassXPTaskBarItem ClassImageListAdv ClassXPTaskBarItemsCollection ClassXPTaskBarItem ClassXPTaskBar Class
Syntax
'Declaration
 
<DefaultEventAttribute("ItemClick")>
<ToolboxItemAttribute(False)>
<DesignerAttribute(Syncfusion.Windows.Forms.Tools.Design.XPTaskBarBoxDesigner, System.ComponentModel.Design.IDesigner)>
<DefaultPropertyAttribute("Text")>
<DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
<ToolboxItemFilterAttribute("System.Windows.Forms")>
<DesignerCategoryAttribute("Component")>
Public Class XPTaskBarBox 
   Inherits System.Windows.Forms.Control
   Implements IProvideLayoutInformation 
'Usage
 
Dim instance As XPTaskBarBox
[DefaultEvent("ItemClick")]
[ToolboxItem(false)]
[Designer(Syncfusion.Windows.Forms.Tools.Design.XPTaskBarBoxDesigner, System.ComponentModel.Design.IDesigner)]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[ToolboxItemFilter("System.Windows.Forms")]
[DesignerCategory("Component")]
public class XPTaskBarBox : System.Windows.Forms.Control, IProvideLayoutInformation  
Remarks

The XPTaskBarBox contains a header and a content area.

The content area further contains 2 portions. The first portion(Task-List portion) shows a list of clickable tasks represented by the XPTaskBarItems. The second portion(Panel portion) shows a System.Windows.Forms.Panel in the content area, if there is a child Panel added to the child Controls list. Note that the XPTaskBarBox can contain only one Panel. If you try to add more than one Panel to the System.Windows.Forms.Control.Controls list, an exception will be thrown.

This control is XP Themes aware and if themes support is turned ON (ThemesEnabled property set to true), it will draw the header and the content portion using themes in XP. Optionally, you can owner draw the header portion and the content portion with a custom brush to create a Windows XP task menu look-and-feel in other platforms.

Example
Take a look at the XPTaskBar class reference for an example on how to use this class.
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            Syncfusion.Windows.Forms.Tools.XPTaskBarBox

AssemblyVersion

Syncfusion.Tools.Windows: 17.3460.0.26

See Also