Class CardGroupControl
Represents a custom control that groups card-like items.
Inheritance
System.Object
CardGroupControl
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class CardGroupControl : ItemsControl
Constructors
CardGroupControl()
Initializes a new instance of the CardGroupControl class.
Declaration
public CardGroupControl()
Methods
GetContainerForItemOverride()
Creates or returns the container element used to display a specified item in the CardGroupControl.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
| Type |
|---|
| System.Windows.DependencyObject |
IsItemItsOwnContainerOverride(Object)
Determines whether the specified item is its own container or requires a container to be generated.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | item | The item to evaluate. |
Returns
| Type |
|---|
| System.Boolean |
OnApplyTemplate()
Invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares the specified container to display the given item.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.DependencyObject | element | The container element used to display the item. |
| System.Object | item | The item to be displayed in the container. |