Skip to content

CardView

Hussain N. Abbasi edited this page Nov 16, 2018 · 7 revisions
iOS Android UWP
Coming soon

API Reference

IntelliAbb.Xamarin.Controls.CardView extends Xamarin.Forms.Frame and has the following additional bindable properties and events,

Bindable Properties

Property Description
Icon Sets the icon for the card. Optional
Title Sets the title of the card. Optional

Usage

XAML

Bring in the namespace,

xmlns:ia="clr-namespace:IntelliAbb.Xamarin.Controls;assembly=IntelliAbb.Xamarin.Controls"

use the control,

<ia:CardView Icon="some.png" Title="Some Card" CornerRadius="8" HasShadow="false">
    <Label Text="This is nice card" />
</ia:CardView>

<ia:CardView Title="Some Card">
    <Label Text="Card with title only" />
</ia:CardView>

<ia:CardView>
    <Label Text="Content only card" />
</ia:CardView>

C#

var card = new CardView {
    Icon="some.png",
    Title="Some Card",
    CornerRadius = 8
};
Clone this wiki locally