ClassDataGridAIFloatingActionButton
Represents a floating action button for showing the AI BottomSheet in DataGrid.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DataGridAIFloatingActionButton : RadTemplatedButton, INotifyPropertyChanged
Inheritance: objectRadButtonBaseRadTemplatedButtonDataGridAIFloatingActionButton
Implements:
Inherited Members
Constructors
DataGridAIFloatingActionButton()
Initializes a new instance of the DataGridAIFloatingActionButton class.
Declaration
public DataGridAIFloatingActionButton()
Fields
ActualIconStyleProperty
Identifies the ActualIconStyle property.
Declaration
public static readonly BindableProperty ActualIconStyleProperty
Field Value
BindableProperty
IconStyleProperty
Identifies the IconStyle property.
Declaration
public static readonly BindableProperty IconStyleProperty
Field Value
BindableProperty
IsCompactProperty
Identifies the IsCompact property.
Declaration
public static readonly BindableProperty IsCompactProperty
Field Value
BindableProperty
Properties
ActualIconStyle
Gets the actual style that is applied to the icon. This property contains the merged result of the IconStyle and the default style.
Declaration
public Style ActualIconStyle { get; }
Property Value
Style
A Style that represents the merged icon style.
IconStyle
Gets or sets the style of the that represents the icon.
Declaration
public Style IconStyle { get; set; }
Property Value
Style
A Style that defines the visual appearance of the icon. When set, this style is merged with the default style.
Example
<telerik:DataGridAIFloatingActionButton IconStyle="{StaticResource CustomIconStyle}" />
IsCompact
Gets or sets a value indicating whether the button is displayed in compact mode. When set to true, only the icon is visible, making the button smaller in width. When set to false (default), both the icon and content are visible.
Declaration
public bool IsCompact { get; set; }
Property Value
true if the button should display only the icon; otherwise, false. The default is false.
Example
<telerik:DataGridAIFloatingActionButton IsCompact="True" />