Class IconButton
IconButton UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class IconButton : ExVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISizeableElement, IPressable
  Constructors
| Name | Description | 
|---|---|
| IconButton() | Default constructor.  | 
      
| IconButton(string, Action) | Construct an IconButton with a given icon.  | 
      
Fields
| Name | Description | 
|---|---|
| containerUssClassName | The IconButton leading container styling class.  | 
      
| iconUssClassName | The IconButton leading icon styling class.  | 
      
| primaryUssClassName | The IconButton primary variant styling class.  | 
      
| quietUssClassName | The IconButton quiet mode styling class.  | 
      
| sizeUssClassName | The IconButton size styling class.  | 
      
| ussClassName | The IconButton main styling class.  | 
      
Properties
| Name | Description | 
|---|---|
| clickable | Clickable Manipulator for this Button.  | 
      
| icon | The IconButton icon.  | 
      
| primary | Use the primary variant of the Button.  | 
      
| quiet | The quiet state of the Button.  | 
      
| size | The Button size.  | 
      
| variant | The IconButton icon variant.  | 
      
Events
| Name | Description | 
|---|---|
| clicked | Event triggered when the Button has been clicked.  |