Table of Contents

Class CardControl

Namespace
Wpf.Ui.Controls
Assembly
Wpf.Ui.dll

Inherited from the ButtonBase control which displays an additional control on the right side of the card.

public class CardControl : ButtonBase, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, IIconControl
Inheritance
CardControl
Implements
Inherited Members

Fields

CornerRadiusProperty

Identifies the CornerRadius dependency property.

public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

HeaderProperty

Identifies the Header dependency property.

public static readonly DependencyProperty HeaderProperty

Field Value

DependencyProperty

IconProperty

Identifies the Icon dependency property.

public static readonly DependencyProperty IconProperty

Field Value

DependencyProperty

Properties

CornerRadius

Gets or sets the corner radius of the control.

[Bindable(true)]
public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

Header

Gets or sets header which is used for each item in the control.

[Bindable(true)]
public object? Header { get; set; }

Property Value

object

Icon

Gets or sets displayed IconElement.

[Bindable(true)]
public IconElement? Icon { get; set; }

Property Value

IconElement

Methods

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.