DataGridAISearchView
Represents a view that displays AI search mode selection and recent searches in DataGrid.
Definition
Namespace:Telerik.Maui.Controls.DataGrid
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class DataGridAISearchView : RadBorder, IRadBorder, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inheritance: objectRadContentViewRadBorderDataGridAISearchView
Implements:
Inherited Members
Constructors
Initializes a new instance of the DataGridAISearchView class.
public DataGridAISearchView()
Fields
ActualActiveRecentSearchesProperty
BindableProperty
Identifies the ActualActiveRecentSearches property.
public static readonly BindableProperty ActualActiveRecentSearchesProperty
ActualRecentSearchesCollectionViewStyleProperty
BindableProperty
Identifies the ActualRecentSearchesCollectionViewStyle property.
public static readonly BindableProperty ActualRecentSearchesCollectionViewStyleProperty
ActualRecentSearchesHeaderIconStyleProperty
BindableProperty
Identifies the ActualRecentSearchesHeaderIconStyle property.
public static readonly BindableProperty ActualRecentSearchesHeaderIconStyleProperty
ActualRecentSearchesHeaderLabelStyleProperty
BindableProperty
Identifies the ActualRecentSearchesHeaderLabelStyle property.
public static readonly BindableProperty ActualRecentSearchesHeaderLabelStyleProperty
ActualSearchOptionsCollectionViewStyleProperty
BindableProperty
Identifies the ActualSearchOptionsCollectionViewStyle property.
public static readonly BindableProperty ActualSearchOptionsCollectionViewStyleProperty
ActualSearchSeparatorStyleProperty
BindableProperty
Identifies the ActualSearchSeparatorStyle property.
public static readonly BindableProperty ActualSearchSeparatorStyleProperty
AreRecentSemanticSearchesVisibleProperty
BindableProperty
Identifies the AreRecentSemanticSearchesVisible property.
public static readonly BindableProperty AreRecentSemanticSearchesVisibleProperty
AreRecentTextSearchesVisibleProperty
BindableProperty
Identifies the AreRecentTextSearchesVisible property.
public static readonly BindableProperty AreRecentTextSearchesVisibleProperty
BackgroundColorProperty
BindableProperty
Identifies the BackgroundColor property.
public static readonly BindableProperty BackgroundColorProperty
BackgroundProperty
BindableProperty
Identifies the Background property.
public static readonly BindableProperty BackgroundProperty
ControlTemplateProperty
BindableProperty
Identifies the ControlTemplate property.
public static readonly BindableProperty ControlTemplateProperty
HasRecentSearchesProperty
BindableProperty
Identifies the HasRecentSearches property.
public static readonly BindableProperty HasRecentSearchesProperty
IsSemanticSearchOptionVisibleProperty
BindableProperty
Identifies the IsSemanticSearchOptionVisible property.
public static readonly BindableProperty IsSemanticSearchOptionVisibleProperty
IsTextSearchOptionVisibleProperty
BindableProperty
Identifies the IsTextSearchOptionVisible property.
public static readonly BindableProperty IsTextSearchOptionVisibleProperty
RecentSearchesCollectionViewStyleProperty
BindableProperty
Identifies the RecentSearchesCollectionViewStyle property.
public static readonly BindableProperty RecentSearchesCollectionViewStyleProperty
RecentSearchesHeaderIconStyleProperty
BindableProperty
Identifies the RecentSearchesHeaderIconStyle property.
public static readonly BindableProperty RecentSearchesHeaderIconStyleProperty
RecentSearchesHeaderLabelStyleProperty
BindableProperty
Identifies the RecentSearchesHeaderLabelStyle property.
public static readonly BindableProperty RecentSearchesHeaderLabelStyleProperty
RecentSearchSelectedCommandProperty
BindableProperty
Identifies the RecentSearchSelectedCommand property.
public static readonly BindableProperty RecentSearchSelectedCommandProperty
RecentSemanticSearchesProperty
BindableProperty
Identifies the RecentSemanticSearches property.
public static readonly BindableProperty RecentSemanticSearchesProperty
RecentTextSearchesProperty
BindableProperty
Identifies the RecentTextSearches property.
public static readonly BindableProperty RecentTextSearchesProperty
SearchModeProperty
BindableProperty
Identifies the SearchMode property.
public static readonly BindableProperty SearchModeProperty
SearchOptionsCollectionViewStyleProperty
BindableProperty
Identifies the SearchOptionsCollectionViewStyle property.
public static readonly BindableProperty SearchOptionsCollectionViewStyleProperty
SearchSeparatorStyleProperty
BindableProperty
Identifies the SearchSeparatorStyle property.
public static readonly BindableProperty SearchSeparatorStyleProperty
StyleProperty
BindableProperty
Identifies the Style property.
public static readonly BindableProperty StyleProperty
Properties
Gets the active recent items collection based on the current SearchMode.
public IEnumerable<string> ActualActiveRecentSearches { get; }
Gets the actual style that is applied to the recent items collection view.
public Style ActualRecentSearchesCollectionViewStyle { get; }
Gets the actual style that is applied to the recent searches icon.
public Style ActualRecentSearchesHeaderIconStyle { get; }
Gets the actual style that is applied to the recent items label.
public Style ActualRecentSearchesHeaderLabelStyle { get; }
Gets the actual style that is applied to the search options collection view.
public Style ActualSearchOptionsCollectionViewStyle { get; }
Gets the actual style that is applied to the separator.
public Style ActualSearchSeparatorStyle { get; }
Gets or sets a value indicating whether recent semantic search history is visible.
When false and SearchMode is SemanticSearch,
HasRecentSearches will be false regardless of the collection contents.
public bool AreRecentSemanticSearchesVisible { get; set; }
Gets or sets a value indicating whether recent text search history is visible.
When false and SearchMode is TextSearch,
HasRecentSearches will be false regardless of the collection contents.
public bool AreRecentTextSearchesVisible { get; set; }
Background
Brush
Gets or sets the background brush of the control.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush Background { get; set; }
BackgroundColor
Color
Gets or sets the background color of the control.
public Color BackgroundColor { get; set; }
ControlTemplate
ControlTemplate
Gets or sets the control template that defines the visual structure of the DataGridAISearchView.
public ControlTemplate ControlTemplate { get; set; }
Gets a value indicating whether the recent items section has items to display. This is true only when ActualActiveRecentSearches has items.
public bool HasRecentSearches { get; }
Gets or sets a value indicating whether the semantic search mode is enabled.
public bool IsSemanticSearchOptionVisible { get; set; }
Gets or sets a value indicating whether the keyword search mode is enabled.
public bool IsTextSearchOptionVisible { get; set; }
Gets or sets the style of the RadCollectionView that displays the recent items.
public Style RecentSearchesCollectionViewStyle { get; set; }
Gets or sets the style of the icon that represents the recent searches section icon.
public Style RecentSearchesHeaderIconStyle { get; set; }
Gets or sets the style of the that represents the recent items section label.
public Style RecentSearchesHeaderLabelStyle { get; set; }
Gets or sets the command that is executed when a recent item is selected.
public ICommand RecentSearchSelectedCommand { get; set; }
Gets or sets the collection of recent semantic searches to display.
public IEnumerable<string> RecentSemanticSearches { get; set; }
Gets or sets the collection of recent keyword searches to display.
public IEnumerable<string> RecentTextSearches { get; set; }
Gets or sets the currently active search mode.
public DataGridAISearchMode SearchMode { get; set; }
Gets or sets the style of the RadCollectionView that displays the search mode options.
public Style SearchOptionsCollectionViewStyle { get; set; }
SearchSeparatorStyle
Style
Gets or sets the style of the that represents the separator.
public Style SearchSeparatorStyle { get; set; }
Style
Style
Gets or sets the style applied to the DataGridAISearchView.
public Style Style { get; set; }
Methods
protected override void OnApplyTemplate()
Events
Occurs when a recent item is selected by the user.
public event EventHandler<string> RecentSearchSelected