menu

WinUI

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

    Show / Hide Table of Contents

    Class KanbanCardItem

    Represents a card item in a Kanban board, providing properties and methods for customization and interaction.

    Inheritance
    System.Object
    KanbanCardItem
    Namespace: Syncfusion.UI.Xaml.Kanban
    Assembly: Syncfusion.Kanban.WinUI.dll
    Syntax
    public class KanbanCardItem : ContentControl

    Constructors

    KanbanCardItem()

    Initializes a new instance of the KanbanCardItem class.

    Declaration
    public KanbanCardItem()

    KanbanCardItem(KanbanColumn)

    Initializes a new instance of the KanbanCardItem class.

    Declaration
    public KanbanCardItem(KanbanColumn column)
    Parameters
    Type Name Description
    KanbanColumn column

    The parent column of this card item.

    Fields

    IndicatorColorProperty

    Identifies the IndicatorColor dependency property.

    Declaration
    public static readonly DependencyProperty IndicatorColorProperty
    Field Value
    Type Description
    Microsoft.UI.Xaml.DependencyProperty

    The identifier for IndicatorColor dependency property.

    Properties

    IndicatorColor

    Gets the color used to visually indicate the status or priority of the KanbanCardItem.

    Declaration
    public SolidColorBrush IndicatorColor { get; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Media.SolidColorBrush

    The default value of IndicatorColor is Microsoft.UI.Colors.Transparent.

    Remarks

    This property allows the internal logic to define a color for the indicator, which can be used to visually categorize or prioritize cards in the Kanban board.

    Methods

    MeasureOverride(Size)

    Measures the size of the control based on the available space.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize

    The available size for measuring elements.

    Returns
    Type Description
    Windows.Foundation.Size

    The actual size of the element.

    OnDrop(DragEventArgs)

    Handles the drop event, allowing custom processing when an item is dropped.

    Declaration
    protected override void OnDrop(DragEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.DragEventArgs e

    The event arguments.

    OnPointerMoved(PointerRoutedEventArgs)

    Handles the pointer movement during a drag operation and updates the position of the dragged card.

    Declaration
    protected override void OnPointerMoved(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    The event arguments.

    OnPointerPressed(PointerRoutedEventArgs)

    Handles the pointer press event on a KanbanCardItem.

    Declaration
    protected override void OnPointerPressed(PointerRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.PointerRoutedEventArgs e

    The pointer routed event args.

    OnTapped(TappedRoutedEventArgs)

    Handles the pointer tap event on a KanbanCardItem.

    Declaration
    protected override void OnTapped(TappedRoutedEventArgs e)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Input.TappedRoutedEventArgs e

    The tapped routed event args.

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