Skip to main content
All docs
V25.2
  • ID

    CardViewBuilder<T> Methods

    A CardView control.
    Name Description
    AccessKey(JS) Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.
    AccessKey(String) Specifies the shortcut key that sets focus on the UI component. Mirrors the client-side accessKey option.
    ActiveStateEnabled(JS) Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option.
    ActiveStateEnabled(Boolean) Specifies whether the UI component changes its visual state as a result of user interaction. Mirrors the client-side activeStateEnabled option.
    AllowColumnReordering(JS) Specifies whether a user can reorder columns. Mirrors the client-side allowColumnReordering option.
    AllowColumnReordering(Boolean) Specifies whether a user can reorder columns. Mirrors the client-side allowColumnReordering option.
    CardContentTemplate(JS) Specifies a custom template for card content. Mirrors the client-side cardContentTemplate option.
    CardContentTemplate(RazorBlock) Specifies a custom template for card content. Mirrors the client-side cardContentTemplate option.
    CardContentTemplate(TemplateName) Specifies a custom template for card content. Mirrors the client-side cardContentTemplate option.
    CardContentTemplate(String) Specifies a custom template for card content. Mirrors the client-side cardContentTemplate option.
    CardCover(Action<CardCoverBuilder>) Configures the card cover. Mirrors the client-side cardCover object.
    CardFooterTemplate(JS) Specifies a custom template for a card footer. Mirrors the client-side cardFooterTemplate option.
    CardFooterTemplate(RazorBlock) Specifies a custom template for a card footer. Mirrors the client-side cardFooterTemplate option.
    CardFooterTemplate(TemplateName) Specifies a custom template for a card footer. Mirrors the client-side cardFooterTemplate option.
    CardFooterTemplate(String) Specifies a custom template for a card footer. Mirrors the client-side cardFooterTemplate option.
    CardHeader(Action<CardHeaderBuilder>) Configures the card header. Mirrors the client-side cardHeader object.
    CardMaxWidth(JS) Specifies the maximum width of the card. Mirrors the client-side cardMaxWidth option.
    CardMaxWidth(Double) Specifies the maximum width of the card. Mirrors the client-side cardMaxWidth option.
    CardMinWidth(JS) Specifies the minimum width of the card. Mirrors the client-side cardMinWidth option.
    CardMinWidth(Double) Specifies the minimum width of the card. Mirrors the client-side cardMinWidth option.
    CardsPerRow(JS) Specifies the number of cards per row. Mirrors the client-side cardsPerRow option.
    CardsPerRow(Mode) Specifies the number of cards per row. Mirrors the client-side cardsPerRow option.
    CardsPerRow(Double) Specifies the number of cards per row. Mirrors the client-side cardsPerRow option.
    CardTemplate(JS) Specifies a custom template for the card. Mirrors the client-side cardTemplate option.
    CardTemplate(RazorBlock) Specifies a custom template for the card. Mirrors the client-side cardTemplate option.
    CardTemplate(TemplateName) Specifies a custom template for the card. Mirrors the client-side cardTemplate option.
    CardTemplate(String) Specifies a custom template for the card. Mirrors the client-side cardTemplate option.
    ColumnChooser(Action<ColumnChooserBuilder>) Configures the column chooser. Mirrors the client-side columnChooser object.
    Columns(JS) An array of CardView columns. Mirrors the client-side columns option.
    Columns(Action<CollectionFactory<ColumnPropertiesBuilder<T>>>) Provides access to the client-side columns option that represents a CardView column collection.
    Columns(IEnumerable<String>) An array of CardView columns. Mirrors the client-side columns option.
    DataSource(JS) Binds the UI component to data. Mirrors the client-side dataSource option.
    DataSource(IEnumerable, String[]) Binds the UI component to data. Mirrors the client-side dataSource option.
    DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) Binds the UI component to data. Mirrors the client-side dataSource option.
    DataSource(String, String[]) Binds the UI component to data. Mirrors the client-side dataSource option.
    DataSourceOptions(Action<DataSourceOptionsBuilder>) Exposes methods that mirror client-side data source options.
    Disabled(JS) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
    Disabled(Boolean) Specifies whether the UI component responds to user interaction. Mirrors the client-side disabled option.
    Editing(Action<CardViewEditingBuilder<T>>) Mirrors the client-side editing object.
    ElementAttr(JS) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option.
    ElementAttr(Dictionary<String, Object>) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option.
    ElementAttr(Object) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option.
    ElementAttr(String, Object) Specifies the global attributes to be attached to the UI component's container element. Mirrors the client-side elementAttr option.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    ErrorRowEnabled(JS) Indicates whether to show the error row. Mirrors the client-side errorRowEnabled option.
    ErrorRowEnabled(Boolean) Indicates whether to show the error row. Mirrors the client-side errorRowEnabled option.
    FieldHintEnabled(JS) Displays a hint when the mouse hovers over truncated field content. Mirrors the client-side fieldHintEnabled option.
    FieldHintEnabled(Boolean) Displays a hint when the mouse hovers over truncated field content. Mirrors the client-side fieldHintEnabled option.
    FilterBuilder(Action<FilterBuilderBuilder<T>>) Configures the filter builder. Mirrors the client-side filterBuilder object.
    FilterBuilderPopup(Action<PopupBuilder>) Configures the integrated filter builder popup. Mirrors the client-side filterBuilderPopup object.
    FilterPanel(Action<FilterPanelBuilder>) Configures the filter panel. Mirrors the client-side filterPanel object.
    FilterValue(Object) Specifies a filter expression. Mirrors the client-side filterValue option.
    FilterValue(String) Specifies a filter expression. Mirrors the client-side filterValue option.
    FocusStateEnabled(JS) Specifies whether the UI component can be focused using keyboard navigation. Mirrors the client-side focusStateEnabled option.
    FocusStateEnabled(Boolean) Specifies whether the UI component can be focused using keyboard navigation. Mirrors the client-side focusStateEnabled option.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    HeaderFilter(Action<HeaderFilterBuilder>) Configures the header filter. Mirrors the client-side headerFilter object.
    HeaderPanel(Action<HeaderPanelBuilder>) Configures the header panel. Mirrors the client-side headerPanel object.
    Height(JS) Specifies the UI component's height. Mirrors the client-side height option.
    Height(Double) Specifies the UI component's height. Mirrors the client-side height option.
    Height(String) Specifies the UI component's height. Mirrors the client-side height option.
    Hint(JS) Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option.
    Hint(String) Specifies text for a hint that appears when a user pauses on the UI component. Mirrors the client-side hint option.
    HoverStateEnabled(JS) Specifies whether the UI component changes its appearance when a user hovers over it. Mirrors the client-side hoverStateEnabled option.
    HoverStateEnabled(Boolean) Specifies whether the UI component changes its appearance when a user hovers over it. Mirrors the client-side hoverStateEnabled option.
    ID(JS) Specifies the id attribute for the control’s HTML element (used for nested controls within templates).
    ID(String) Specifies the id attribute for the control’s HTML element.
    KeyExpr(JS) Specifies the key property (or properties) that supply key values to access data items. Each key value must be unique. This property applies only if data is a simple array. Mirrors the client-side keyExpr option.
    KeyExpr(IEnumerable<String>) Specifies the key property (or properties) that supply key values to access data items. Each key value must be unique. This property applies only if data is a simple array. Mirrors the client-side keyExpr option.
    KeyExpr(String) Specifies the key property (or properties) that supply key values to access data items. Each key value must be unique. This property applies only if data is a simple array. Mirrors the client-side keyExpr option.
    LoadPanel(Action<LoadPanelOptionsBuilder>) Configures the load panel. Mirrors the client-side loadPanel object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    NoDataTemplate(JS) Specifies a custom template to be displayed when no data appears in CardView. Mirrors the client-side noDataTemplate option.
    NoDataTemplate(RazorBlock) Specifies a custom template to be displayed when no data appears in CardView. Mirrors the client-side noDataTemplate option.
    NoDataTemplate(TemplateName) Specifies a custom template to be displayed when no data appears in CardView. Mirrors the client-side noDataTemplate option.
    NoDataTemplate(String) Specifies a custom template to be displayed when no data appears in CardView. Mirrors the client-side noDataTemplate option.
    NoDataText(JS) Specifies a text string to display when no data appears in CardView. Mirrors the client-side noDataText option.
    NoDataText(String) Specifies a text string to display when no data appears in CardView. Mirrors the client-side noDataText option.
    OnCardClick(RazorBlock) A function that is executed when a card is clicked or tapped. Mirrors the client-side onCardClick option.
    OnCardClick(String) A function that is executed when a card is clicked or tapped. Mirrors the client-side onCardClick option.
    OnCardDblClick(RazorBlock) A function that is executed when a card is double-clicked or double-tapped. Mirrors the client-side onCardDblClick option.
    OnCardDblClick(String) A function that is executed when a card is double-clicked or double-tapped. Mirrors the client-side onCardDblClick option.
    OnCardHoverChanged(RazorBlock) A function that is executed after the pointer enters or leaves a card. Mirrors the client-side onCardHoverChanged option.
    OnCardHoverChanged(String) A function that is executed after the pointer enters or leaves a card. Mirrors the client-side onCardHoverChanged option.
    OnCardInserted(RazorBlock) A function that is executed after a new card is inserted into the data source. Mirrors the client-side onCardInserted option.
    OnCardInserted(String) A function that is executed after a new card is inserted into the data source. Mirrors the client-side onCardInserted option.
    OnCardInserting(RazorBlock) A function that is executed before a new card is inserted into the data source. Mirrors the client-side onCardInserting option.
    OnCardInserting(String) A function that is executed before a new card is inserted into the data source. Mirrors the client-side onCardInserting option.
    OnCardPrepared(RazorBlock) A function that is executed after a card is created. Mirrors the client-side onCardPrepared option.
    OnCardPrepared(String) A function that is executed after a card is created. Mirrors the client-side onCardPrepared option.
    OnCardRemoved(RazorBlock) A function that is executed after a card was removed from the data source. Mirrors the client-side onCardRemoved option.
    OnCardRemoved(String) A function that is executed after a card was removed from the data source. Mirrors the client-side onCardRemoved option.
    OnCardRemoving(RazorBlock) A function that is executed before a card is removed from the data source. Mirrors the client-side onCardRemoving option.
    OnCardRemoving(String) A function that is executed before a card is removed from the data source. Mirrors the client-side onCardRemoving option.
    OnCardUpdated(RazorBlock) A function that is executed after a card is updated in the data source. Mirrors the client-side onCardUpdated option.
    OnCardUpdated(String) A function that is executed after a card is updated in the data source. Mirrors the client-side onCardUpdated option.
    OnCardUpdating(RazorBlock) A function that is executed before a card is updated in the data source. Mirrors the client-side onCardUpdating option.
    OnCardUpdating(String) A function that is executed before a card is updated in the data source. Mirrors the client-side onCardUpdating option.
    OnContentReady(RazorBlock) A function that is executed when the UI component is rendered and each time the component is repainted. Mirrors the client-side onContentReady option.
    OnContentReady(String) A function that is executed when the UI component is rendered and each time the component is repainted. Mirrors the client-side onContentReady option.
    OnContextMenuPreparing(RazorBlock) A function that is executed before the context menu is rendered. Mirrors the client-side onContextMenuPreparing option.
    OnContextMenuPreparing(String) A function that is executed before the context menu is rendered. Mirrors the client-side onContextMenuPreparing option.
    OnDataErrorOccurred(RazorBlock) A function that is executed when an error occurs in the data source. Mirrors the client-side onDataErrorOccurred option.
    OnDataErrorOccurred(String) A function that is executed when an error occurs in the data source. Mirrors the client-side onDataErrorOccurred option.
    OnDisposing(RazorBlock) Mirrors the client-side onDisposing option.
    OnDisposing(String) Mirrors the client-side onDisposing option.
    OnEditCanceled(RazorBlock) A function that is executed after card changes are discarded. Mirrors the client-side onEditCanceled option.
    OnEditCanceled(String) A function that is executed after card changes are discarded. Mirrors the client-side onEditCanceled option.
    OnEditCanceling(RazorBlock) A function that is executed when the edit operation is canceled, but card changes are not yet discarded. Mirrors the client-side onEditCanceling option.
    OnEditCanceling(String) A function that is executed when the edit operation is canceled, but card changes are not yet discarded. Mirrors the client-side onEditCanceling option.
    OnEditingStart(RazorBlock) A function that is executed before a card switches to the editing state. Mirrors the client-side onEditingStart option.
    OnEditingStart(String) A function that is executed before a card switches to the editing state. Mirrors the client-side onEditingStart option.
    OnFieldCaptionClick(RazorBlock) A function that is executed when a field caption is clicked or tapped. Mirrors the client-side onFieldCaptionClick option.
    OnFieldCaptionClick(String) A function that is executed when a field caption is clicked or tapped. Mirrors the client-side onFieldCaptionClick option.
    OnFieldCaptionDblClick(RazorBlock) A function that is executed when a field caption is double-clicked or double-tapped. Mirrors the client-side onFieldCaptionDblClick option.
    OnFieldCaptionDblClick(String) A function that is executed when a field caption is double-clicked or double-tapped. Mirrors the client-side onFieldCaptionDblClick option.
    OnFieldCaptionPrepared(RazorBlock) A function that is executed after a field caption is created. Mirrors the client-side onFieldCaptionPrepared option.
    OnFieldCaptionPrepared(String) A function that is executed after a field caption is created. Mirrors the client-side onFieldCaptionPrepared option.
    OnFieldValueClick(RazorBlock) A function that is executed when a field value is clicked or tapped. Mirrors the client-side onFieldValueClick option.
    OnFieldValueClick(String) A function that is executed when a field value is clicked or tapped. Mirrors the client-side onFieldValueClick option.
    OnFieldValueDblClick(RazorBlock) A function that is executed when a field value is double-clicked or double-tapped. Mirrors the client-side onFieldValueDblClick option.
    OnFieldValueDblClick(String) A function that is executed when a field value is double-clicked or double-tapped. Mirrors the client-side onFieldValueDblClick option.
    OnFieldValuePrepared(RazorBlock) A function that is executed after a field value is created. Mirrors the client-side onFieldValuePrepared option.
    OnFieldValuePrepared(String) A function that is executed after a field value is created. Mirrors the client-side onFieldValuePrepared option.
    OnFocusedCardChanged(RazorBlock) A function that is executed after the focused card changes. Mirrors the client-side onFocusedCardChanged option.
    OnFocusedCardChanged(String) A function that is executed after the focused card changes. Mirrors the client-side onFocusedCardChanged option.
    OnInitialized(RazorBlock) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
    OnInitialized(String) A function used in JavaScript frameworks to save the UI component instance. Mirrors the client-side onInitialized option.
    OnInitNewCard(RazorBlock) A function that is executed before a new card is added to the UI component. Mirrors the client-side onInitNewCard option.
    OnInitNewCard(String) A function that is executed before a new card is added to the UI component. Mirrors the client-side onInitNewCard option.
    OnOptionChanged(RazorBlock) A function that is executed after a widget property is changed. Mirrors the client-side onOptionChanged option.
    OnOptionChanged(String) A function that is executed after a widget property is changed. Mirrors the client-side onOptionChanged option.
    OnSaved(RazorBlock) A function that is executed after card changes are saved. Mirrors the client-side onSaved option.
    OnSaved(String) A function that is executed after card changes are saved. Mirrors the client-side onSaved option.
    OnSaving(RazorBlock) A function that is executed before pending card changes are saved. Mirrors the client-side onSaving option.
    OnSaving(String) A function that is executed before pending card changes are saved. Mirrors the client-side onSaving option.
    OnSelectionChanged(RazorBlock) A function that is executed when a card is selected or its selection is cleared. Mirrors the client-side onSelectionChanged option.
    OnSelectionChanged(String) A function that is executed when a card is selected or its selection is cleared. Mirrors the client-side onSelectionChanged option.
    Option(String, Object) Specifies an option by its name.
    Pager(Action<GridPagerBuilder>) Configures the pager. Mirrors the client-side pager object.
    Paging(Action<PagingBuilder>) Mirrors the client-side paging object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    RemoteOperations(JS) Mirrors the client-side remoteOperations option.
    RemoteOperations(Mode) Mirrors the client-side remoteOperations option.
    RemoteOperations(Action<RemoteOperationsBuilder>) Mirrors the client-side remoteOperations object.
    RemoteOperations(Boolean) Mirrors the client-side remoteOperations option.
    Render() Inherited from WidgetBuilder.
    RtlEnabled(JS) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
    RtlEnabled(Boolean) Switches the UI component to a right-to-left representation. Mirrors the client-side rtlEnabled option.
    Scrolling(Action<CardViewScrollingBuilder>) Configures scrolling. Mirrors the client-side scrolling object.
    SearchPanel(Action<SearchPanelBuilder>) Configures the search panel. Mirrors the client-side searchPanel object.
    SelectedCardKeys(JS) Allows you to select cards or determine which cards are selected. Mirrors the client-side selectedCardKeys option.
    SelectedCardKeys(IEnumerable) Allows you to select cards or determine which cards are selected. Mirrors the client-side selectedCardKeys option.
    Selection(Action<SelectionConfigurationBuilder>) Mirrors the client-side selection object.
    Sorting(Action<SortingBuilder>) Configures sorting. Mirrors the client-side sorting object.
    TabIndex(JS) Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.
    TabIndex(Int32) Specifies the number of the element when the Tab key is used for navigating. Mirrors the client-side tabIndex option.
    Toolbar(Action<CardViewToolbarBuilder>) Configures the toolbar. Mirrors the client-side toolbar object.
    ToString() Inherited from WidgetBuilder.
    ToTemplate() Renders the control as a template string for use in another control’s template. Inherited from WidgetBuilder.
    Visible(JS) Specifies whether the UI component is visible. Mirrors the client-side visible option.
    Visible(Boolean) Specifies whether the UI component is visible. Mirrors the client-side visible option.
    Width(JS) Specifies the UI component's width. Mirrors the client-side width option.
    Width(Double) Specifies the UI component's width. Mirrors the client-side width option.
    Width(String) Specifies the UI component's width. Mirrors the client-side width option.
    WordWrapEnabled(JS) Specifies whether text that does not fit into a field should be wrapped. Mirrors the client-side wordWrapEnabled option.
    WordWrapEnabled(Boolean) Specifies whether text that does not fit into a field should be wrapped. Mirrors the client-side wordWrapEnabled option.
    See Also