Xceed Grid for WinForms v4.3 Documentation
WinButton Class
Members 


Xceed.Editors.v2.6 Assembly > Xceed.Editors Namespace : WinButton Class
The WinButton class represents an extensible and themable button control for Windows Forms.
Syntax
'Declaration
 
<ToolboxItemAttribute(True)>
<DesignerAttribute("Xceed.Editors.Design.WinButtonDesigner,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")>
<ToolboxBitmapAttribute(Xceed.Editors.WinButton)>
<DefaultPropertyAttribute("Text")>
<DefaultEventAttribute("Click")>
<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 WinButton 
   Inherits Xceed.UI.ThemedControl
   Implements Xceed.UI.IKeyboardHandlingXceed.UI.IThemed 
'Usage
 
Dim instance As WinButton
[ToolboxItem(true)]
[Designer("Xceed.Editors.Design.WinButtonDesigner,Xceed.Editors.v2.6.Design,Version=2.6.20076.12375,Culture=neutral,PublicKeyToken=ba83ff368b7563c6")]
[ToolboxBitmap(Xceed.Editors.WinButton)]
[DefaultProperty("Text")]
[DefaultEvent("Click")]
[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 WinButton : Xceed.UI.ThemedControl, Xceed.UI.IKeyboardHandlingXceed.UI.IThemed  
Remarks

The WinButton class represents an extensible and themable button control for Windows Forms which can be used as a regular button or as a button to drop-down any type of control. It supports both Windows XP and classic Windows themes and can adapt to the current Windows theme. Several button types are supported to offer a wide variety of UI behavior, including toolbars, chevrons, etc. The WinButton control can be embedded into other Xceed editors to create custom controls.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            Xceed.UI.ThemedControl
               Xceed.Editors.WinButton

Requirements

Target Platforms: Windows 7, 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

See Also

Reference

WinButton Members
Xceed.Editors Namespace