Class CardControl
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
HeaderProperty
Identifies the Header dependency property.
public static readonly DependencyProperty HeaderProperty
Field Value
IconProperty
Identifies the Icon dependency property.
public static readonly DependencyProperty IconProperty
Field Value
Properties
CornerRadius
Gets or sets the corner radius of the control.
[Bindable(true)]
public CornerRadius CornerRadius { get; set; }
Property Value
Header
Gets or sets header which is used for each item in the control.
[Bindable(true)]
public object? Header { get; set; }
Property Value
Icon
Gets or sets displayed IconElement.
[Bindable(true)]
public IconElement? Icon { get; set; }
Property Value
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.