Class
DataGridAIFloatingActionButton

Represents a floating action button for showing the AI BottomSheet in DataGrid.

Definition

Namespace:Telerik.Maui.Controls.DataGrid

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class DataGridAIFloatingActionButton : RadTemplatedButton, INotifyPropertyChanged

Inheritance: objectRadButtonBaseRadTemplatedButtonDataGridAIFloatingActionButton

Implements: INotifyPropertyChanged

Inherited Members RadTemplatedButton.ContentPropertyRadTemplatedButton.ContentTemplatePropertyRadTemplatedButton.TextColorPropertyRadTemplatedButton.FontFamilyPropertyRadTemplatedButton.FontSizePropertyRadTemplatedButton.FontAttributesPropertyRadTemplatedButton.TextDecorationsPropertyRadTemplatedButton.HorizontalTextAlignmentPropertyRadTemplatedButton.VerticalTextAlignmentPropertyRadTemplatedButton.ActualContentPropertyRadTemplatedButton.ContentRadTemplatedButton.ContentTemplateRadTemplatedButton.TextColorRadTemplatedButton.FontFamilyRadTemplatedButton.FontSizeRadTemplatedButton.FontAttributesRadTemplatedButton.TextDecorationsRadTemplatedButton.HorizontalTextAlignmentRadTemplatedButton.VerticalTextAlignmentRadTemplatedButton.ActualContentRadButtonBase.IsPressedPropertyRadButtonBase.CommandPropertyRadButtonBase.CommandParameterPropertyRadButtonBase.StylePropertyRadButtonBase.ControlTemplatePropertyRadButtonBase.BackgroundColorPropertyRadButtonBase.BackgroundPropertyRadButtonBase.PaddingPropertyRadButtonBase.BorderColorPropertyRadButtonBase.BorderBrushPropertyRadButtonBase.BorderThicknessPropertyRadButtonBase.CornerRadiusPropertyRadButtonBase.OnApplyTemplate()RadButtonBase.OnPropertyChanged(string)RadButtonBase.OnHandlerChanging(HandlerChangingEventArgs)RadButtonBase.OnHandlerChanged()RadButtonBase.ChangeVisualState()RadButtonBase.IsPressedRadButtonBase.CommandRadButtonBase.CommandParameterRadButtonBase.StyleRadButtonBase.ControlTemplateRadButtonBase.BackgroundColorRadButtonBase.BackgroundRadButtonBase.PaddingRadButtonBase.BorderColorRadButtonBase.BorderBrushRadButtonBase.BorderThicknessRadButtonBase.CornerRadiusRadButtonBase.IsEnabledCoreRadButtonBase.ClickedRadButtonBase.PressedRadButtonBase.Released

Constructors

DataGridAIFloatingActionButton()

Initializes a new instance of the DataGridAIFloatingActionButton class.

Declaration

cs-api-definition
public DataGridAIFloatingActionButton()

Fields

ActualIconStyleProperty

Identifies the ActualIconStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualIconStyleProperty

Field Value

BindableProperty

IconStyleProperty

Identifies the IconStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty IconStyleProperty

Field Value

BindableProperty

IsCompactProperty

Identifies the IsCompact property.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

csharp
<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

cs-api-definition
public bool IsCompact { get; set; }

Property Value

bool

true if the button should display only the icon; otherwise, false. The default is false.

Example

csharp
<telerik:DataGridAIFloatingActionButton IsCompact="True" />