menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CardView - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CardView

    Inheritance
    System.Object
    CardView
    Implements
    System.IDisposable
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    [SkinType(SkinVisualStyle = Skin.Office2007Blue, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/Office2007BlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Black, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/Office2007BlackStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2007Silver, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/Office2007SilverStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Blue, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/Office2010BlueStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Black, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/Office2010BlackStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Office2010Silver, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/Office2010SilverStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Blend, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/BlendStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.VS2010, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/VS2010Style.xaml")]
    [SkinType(SkinVisualStyle = Skin.Default, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF;component/Controls/CardView/Themes/Generic.xaml")]
    [SkinType(SkinVisualStyle = Skin.Metro, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/MetroStyle.xaml")]
    [SkinType(SkinVisualStyle = Skin.Transparent, Type = typeof(CardView), XamlResource = "/Syncfusion.Tools.WPF.Classic;component/Controls/CardView/Themes/TransparentStyle.xaml")]
    public class CardView : ItemsControl, IDisposable

    Constructors

    CardView()

    Declaration
    public CardView()

    Fields

    CanEditProperty

    Declaration
    public static readonly DependencyProperty CanEditProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    CanGroupProperty

    Declaration
    public static readonly DependencyProperty CanGroupProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    CanSortProperty

    Declaration
    public static readonly DependencyProperty CanSortProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    EditItemTemplateProperty

    Declaration
    public static readonly DependencyProperty EditItemTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    GroupboxCollectionProperty

    Declaration
    public static readonly DependencyProperty GroupboxCollectionProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    GroupNamesProperty

    Declaration
    public static readonly DependencyProperty GroupNamesProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    GroupsProperty

    Declaration
    public static readonly DependencyProperty GroupsProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    HeaderTemplateProperty

    Declaration
    public static readonly DependencyProperty HeaderTemplateProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsEditingProperty

    Declaration
    public static readonly DependencyProperty IsEditingProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    IsGroupedProperty

    Declaration
    public static readonly DependencyProperty IsGroupedProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    NewItemStyleProperty

    Declaration
    public static readonly DependencyProperty NewItemStyleProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    OrientationProperty

    Declaration
    public static readonly DependencyProperty OrientationProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    SelectedItemProperty

    Declaration
    public static readonly DependencyProperty SelectedItemProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    ShowHeaderProperty

    Declaration
    public static readonly DependencyProperty ShowHeaderProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    CanEdit

    Declaration
    public bool CanEdit { get; set; }
    Property Value
    Type
    System.Boolean

    CanGroup

    Declaration
    public bool CanGroup { get; set; }
    Property Value
    Type
    System.Boolean

    CanSort

    Declaration
    public bool CanSort { get; set; }
    Property Value
    Type
    System.Boolean

    ClearFilter

    Declaration
    public RoutedCommand ClearFilter { get; set; }
    Property Value
    Type
    System.Windows.Input.RoutedCommand

    EditItemTemplate

    Declaration
    public DataTemplate EditItemTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    GroupboxCollection

    Declaration
    public ObservableCollection<GroupInfo> GroupboxCollection { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<GroupInfo>

    GroupNames

    Declaration
    public ObservableCollection<GroupInfo> GroupNames { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<GroupInfo>

    Groups

    Declaration
    public ObservableCollection<object> Groups { get; set; }
    Property Value
    Type
    System.Collections.ObjectModel.ObservableCollection<System.Object>

    HeaderTemplate

    Declaration
    public DataTemplate HeaderTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    IsEditing

    Declaration
    public bool IsEditing { get; set; }
    Property Value
    Type
    System.Boolean

    IsGrouped

    Declaration
    public bool IsGrouped { get; set; }
    Property Value
    Type
    System.Boolean

    NewItemStyle

    Declaration
    public Style NewItemStyle { get; set; }
    Property Value
    Type
    System.Windows.Style

    NormalSort

    Declaration
    public RoutedCommand NormalSort { get; set; }
    Property Value
    Type
    System.Windows.Input.RoutedCommand

    Orientation

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type
    System.Windows.Controls.Orientation

    SelectedItem

    Declaration
    public object SelectedItem { get; set; }
    Property Value
    Type
    System.Object

    ShowHeader

    Declaration
    public bool ShowHeader { get; set; }
    Property Value
    Type
    System.Boolean

    Sort

    Declaration
    public RoutedCommand Sort { get; set; }
    Property Value
    Type
    System.Windows.Input.RoutedCommand

    Methods

    BeginEdit()

    Begins the editing of the SelectedItem by applying the EditItemTemplate.

    Declaration
    public void BeginEdit()

    Dispose()

    Release the unmanaged resources of CardView.

    Declaration
    public void Dispose()

    EndEdit()

    Ends the editing of the SelectedItem by applying the ItemTemplate.

    Declaration
    public void EndEdit()

    GetContainerForItemOverride()

    Declaration
    protected override DependencyObject GetContainerForItemOverride()
    Returns
    Type
    System.Windows.DependencyObject

    GroupCards(String)

    Declaration
    public void GroupCards(string groupname)
    Parameters
    Type Name Description
    System.String groupname

    IsItemItsOwnContainerOverride(Object)

    Declaration
    protected override bool IsItemItsOwnContainerOverride(object item)
    Parameters
    Type Name Description
    System.Object item
    Returns
    Type
    System.Boolean

    OnApplyTemplate()

    Declaration
    public override void OnApplyTemplate()

    OnItemsChanged(NotifyCollectionChangedEventArgs)

    Declaration
    protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
    Parameters
    Type Name Description
    System.Collections.Specialized.NotifyCollectionChangedEventArgs e

    OnItemsSourceChanged(IEnumerable, IEnumerable)

    Declaration
    protected override void OnItemsSourceChanged(IEnumerable oldValue, IEnumerable newValue)
    Parameters
    Type Name Description
    System.Collections.IEnumerable oldValue
    System.Collections.IEnumerable newValue

    OnSelectedItemChanged(DependencyPropertyChangedEventArgs)

    Declaration
    protected virtual void OnSelectedItemChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    PrepareContainerForItemOverride(DependencyObject, Object)

    Declaration
    protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
    Parameters
    Type Name Description
    System.Windows.DependencyObject element
    System.Object item

    Events

    SelectedItemChanged

    Declaration
    public event PropertyChangedCallback SelectedItemChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved