Xceed Toolkit Plus for WPF v4.6 Documentation
IconButton Class
Members 


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit Namespace : IconButton Class

Represents a Button that contains an icon and some data.

The Foreground, Background and BorderBrush can be easily modified with properties, while the Icon location is customizable.

Syntax
'Declaration
 
<DefaultEventAttribute("Click")>
<LocalizabilityAttribute(LocalizationCategory.Button)>
<DefaultPropertyAttribute("Content")>
<ContentPropertyAttribute("Content")>
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>
<XmlLangPropertyAttribute("Language")>
<UsableDuringInitializationAttribute(True)>
<RuntimeNamePropertyAttribute("Name")>
<UidPropertyAttribute("Uid")>
<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
Public Class IconButton 
   Inherits System.Windows.Controls.Button
'Usage
 
Dim instance As IconButton
[DefaultEvent("Click")]
[Localizability(LocalizationCategory.Button)]
[DefaultProperty("Content")]
[ContentProperty("Content")]
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]
[XmlLangProperty("Language")]
[UsableDuringInitialization(true)]
[RuntimeNameProperty("Name")]
[UidProperty("Uid")]
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
[NameScopeProperty("NameScope", System.Windows.NameScope)]
public class IconButton : System.Windows.Controls.Button 
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  System.Windows.Controls.Control
                     System.Windows.Controls.ContentControl
                        System.Windows.Controls.Primitives.ButtonBase
                           System.Windows.Controls.Button
                              Xceed.Wpf.Toolkit.IconButton

Requirements

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

IconButton Members
Xceed.Wpf.Toolkit Namespace