InterfaceIWindowAction
Defines the contract for an action button in the Window titlebar, providing customizable window controls. Enables creating custom actions alongside or instead of the standard Close, Minimize, and Maximize buttons.
Definition
Namespace:Telerik.Blazor.Components.Window
Assembly:Telerik.Blazor.dll
Syntax:
public interface IWindowAction
Properties
Hidden
Icon
Specifies the Telerik icon displayed in the action button. Accepts or instances. If not set, default icons are used for predefined actions.
Name
Specifies the unique identifier for the action button. Use predefined values ("Close", "Minimize", "Maximize") to override default behaviors, or custom names for new actions. Case-sensitive.
OnClick
Defines the callback executed when the action button is clicked. Receives MouseEventArgs containing click event details. Used to implement custom action behaviors or override default ones.
Declaration
EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value