Interface
IWindowAction

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:

cs-api-definition
public interface IWindowAction

Properties

Hidden

Determines whether the action button is visible in the Window titlebar. When true, the button is hidden but still exists in the actions collection. Default is false.

Declaration

cs-api-definition
bool Hidden { get; set; }

Property Value

bool

Icon

Specifies the Telerik icon displayed in the action button. Accepts or instances. If not set, default icons are used for predefined actions.

Declaration

cs-api-definition
object Icon { get; set; }

Property Value

object

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.

Declaration

cs-api-definition
string Name { get; set; }

Property Value

string

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

cs-api-definition
EventCallback<MouseEventArgs> OnClick { get; set; }

Property Value

EventCallback<MouseEventArgs>

Title

Defines the tooltip text displayed when hovering over the action button. Provides accessibility information and user guidance for the button's purpose (e.g., "Close Window", "Minimize Window").

Declaration

cs-api-definition
string Title { get; set; }

Property Value

string

In this article
DefinitionPropertiesHiddenIconNameOnClickTitle
Not finding the help you need?
Contact Support